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

DialogFlow ES - While calling Cloud Text-To-Speech API: Only one of voice.name, voice.custom_voice,

Hello,

this is my first post. I am using DialogFlow ES with "Automatic Text to Speech"  but today i am getting this error:  

{
"error": {
"code": 400,
"message": "While calling Cloud Text-To-Speech API: Only one of voice.name, voice.custom_voice, or voice.voice_clone can be set.",
"status": "INVALID_ARGUMENT"
}
}

I haven't made any change to the configuration.

I hope you can help me.

Thank you

0 1 90
1 REPLY 1

Hi @DominicD,

Welcome to Google Cloud Community!

I tried to replicate the possible issue you're having by following the instructions here and I was able to convert Text to Speech using Dialogflow ES. To help us isolate its possible root cause, could you provide the following information:

  • Steps to reproduce the issue
  • Confirmation if you're using any integration
  • Actual and expected behavior encountered