MS Translate 405000 Error for Unknown Reason

Rachel D 1 Reputation point
2021-04-01T18:56:11.907+00:00

I am currently working on a Chrome Extension which uses the Microsoft Translator API. I keep getting a 405000 error on it, so I decided to create a much simpler translate program - a webpage that simply translates a given word - in order to see if it was the extension that was causing the error.

Spoiler, it wasn't. I got the exact same error on the basic program. I have no idea what is causing this error as I know the endpoint is correct and that a POST method is required for this. I've posted code for the request method below. Any help would be much appreciated.

83784-2021-04-01.png

Azure Translator
Azure Translator
An Azure service to easily conduct machine translation with a simple REST API call.
412 questions
{count} votes

1 answer

Sort by: Most helpful
  1. GiftA-MSFT 11,171 Reputation points
    2021-04-02T22:32:08.453+00:00

    Hi, I had no trouble sending a POST request. Please ensure that you include your region in the header if using a regional or multi-service resource. Please refer to the API reference document. Let me know if you have any further questions or concerns.

    84088-image.png


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.