question

DavidUrpiPedrajasEmpresa-1144 avatar image
0 Votes"
DavidUrpiPedrajasEmpresa-1144 asked romungi-MSFT commented

Azure Translation issue - The received token is of incorrect token type.


Hello!
I’m trying to translate but I’m getting this error. What it means and how I can solve?
Thank you!

Error getting translations, SimpleXMLElement Object ( [0] => Method: TranslateArray() [1] => Parameter: [2] => Message: The received token is of incorrect token type. [3] => message id=V2_Rest_TranslateArray.DU01.0857.0827T0102.34B5D5 )

Argument Exception

Method: TranslateArray()

Parameter:

Message: The received token is of incorrect token type.

message id=V2_Rest_TranslateArray.DU01.0857.0827T0102.34B5D5

azure-translator
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@DavidUrpiPedrajasEmpresa-1144 The error indicates that the application is probably using a bearer token with your subscription key to authorize a call to Azure translate API but the token is either invalid or not meant for the endpoint being called.

Could you please provide a documentation link of the steps you are trying to follow? Is the translation endpoint called directly or are you using any 3rd party application to integrate Azure translator API?

0 Votes 0 ·

0 Answers