Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Dialogflow ES Bad update mask fields

Hello everyone,

I am encountering an error while trying to update the text_to_speech_settings.enable_text_to_speech parameter using the Dialogflow API. The error message I'm getting is "Bad update mask fields: [text_to_speech_settings.enable_text_to_speech]".

I'm not sure what is causing this error, and I've already checked my API request and made sure that the resource name and update mask are correct. Can someone please help me troubleshoot this issue?

Here are some additional details about my setup:

hakuwa_0-1677676816887.png

 

Thank you in advance for your help!

0 1 209
1 REPLY 1

I believe fieldmask is for overwriting data type and not for parameter in a configuration, as mentioned here:  https://cloud.google.com/dialogflow/es/docs/how/field-mask

I would suggest to have an environment of your agent and in the console you can enable or disable  before publishing a version: 

nceniza_0-1677790526090.png

 

*Assuming you are using dialogflow es