Response body is resulting as empty when credentials are missing or invalid for Translate API in Microsoft Translator Services.
Satya Sarika Sunkara
0
Reputation points
As per the below link, when an error occurs the request should return a JSON response with Error code and Error Message.
https://learn.microsoft.com/en-us/azure/ai-services/translator/reference/v3-0-translate
However, in the case of the "credentials missing or invalid" scenario, the request does not return the response body JSON. Please find the attached Postman result as well.
Can someone please confirm why the response JSON is missing for only the "credentials missing or invalid" scenario?
Sign in to answer