Text-Translation-API-V3-Flask-App-Tutorial icon indicating copy to clipboard operation
Text-Translation-API-V3-Flask-App-Tutorial copied to clipboard

sample don't work !

Open nFeno opened this issue 5 years ago • 2 comments

I try the text translate text (as I have only this service), and in response I have the following message:

{'code': 401000, 'message': 'The request is not authorized because credentials are missing or invalid.'}

nFeno avatar Jun 29 '20 22:06 nFeno

bump

9812334 avatar Jun 30 '20 05:06 9812334

In case it helps : The translation will not work as :

  • the following parameter is also require in the headers: 'Ocp-Apim-Subscription-Region': location,
  • and the name of the location (aka: region under the key, eg: westus)

vagnit avatar Feb 06 '21 16:02 vagnit