cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Titiwai
Level: Powered On

Translator Connector

I have received an error for the audio of MS translator.

 

Upon navigate to the screen:

MicrosoftTranslator.TextToSpeech failed: { "error": { "code": 400, "source": "australia-001.azure-apim.net", "clientRequestId": "aa91cba4-c9e0-4788-ada0-137b9f26b1d7", "message": "The response is not in a JSON format.", "innerError": "

Argument Exception

Method: Speak()

Parameter: language

Message: Language name is not supported \nParameter name: language

message id=V2_Rest_Speak.HK2A.3912.0911T0423.CA31

" } }

 

And the later on if i revisit the screen:

MicrosoftTranslator.TextToSpeech failed: The method 'TextToSpeech' has an invalid value for parameter 'query'
 
Below are codes:
Dropdown // ShowColumns(MicrosoftTranslator.Languages(),"Name","Code")
Label // If(IsBlank(Source.Text),"Please enter text",MicrosoftTranslator.Translate(Source.Text, TargetLang.Selected.Code))
Audio // MicrosoftTranslator.TextToSpeech(LabelTranslation.Text,TargetLang.Selected.Code)
Plus a reset for textiput default upon exiting the screen.
Why is the initial launching a bad request and how do I find out about parameter 'query'?
1 REPLY 1
Community Support Team
Community Support Team

Re: Translator Connector

Hi @Titiwai ,

Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. The screenshot as below:6.JPG

Set the Media property of the Audio control to following:

MicrosoftTranslator.TextToSpeech("I love you","en-us",{options:"MaxQuality",format:"audio/mp3"})

On your side, please consider re-create a new connection to Microsoft Translator connector, then try your formula again, check if the issue is solved.

 

In addition, there are some known issue with the MS Translator connector, and the Product Team is investigating this issue, if the issue is fixed, I would reply here.

 

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 152 members 3,145 guests
Please welcome our newest community members: