When I call the API intents.patch (https://dialogflow.com/docs/reference/api-v2/rest/v2/projects.agent.intents/patch) on a followup intent using the Java SDK I receive the error:
INVALID_ARGUMENT: Read-only field 'root_followup_intent_name' cannot be set.
The update request I make contains only the update of the intent training phrases (I use the update mask "training_phrases"), I'm not modifying the root followup intent.
Calling the same API on a root intent has a success response. This problem has arised only in the last few days, before it worked correctly also on followup intents.
Have you got any idea of the cause?
Thank you.