Hi, thanks for reaching out. You are receiving that error most likely because you entered an invalid key or region. A similar question was asked on this thread, please review the responses. Hope this helps.
Microsoft translator Response message: Translation services: getting request not authorized because credentials are missing or invalid
Dhaval Satyam
41
Reputation points
Getting following error:
{"error":{"code":401000,"message":"The request is not authorized because credentials are missing or invalid."}}
type- POST
url-https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&from=en&to=zh-Hans
"Ocp-Apim-Subscription-Key" : "75e7355c0c7d472baa5ec1a5cbfec505"
"Content-type" : "application/json"
Body-
[{
"Text": "Welcome to Microsoft Translator. Guess how many languages I speak!"
}]
I am using the valid key still gettng this error message.