Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bing translator HTTP API throws bad request error, how to solve this?

Tags:

bing-api

Whenever I call Bing Translation API [HTTP] to translate some text, first time it works fine, and second time onwards it gives me 'bad request' [status code 400] error. If I wait for 10 or so minutes and then try again, then first request is successful, but second one onwards same story. I have a free account [2million chars translation] with Bing Translation APIs, are there any other limitations calling this API?

Thanks, Madhu

Answer: hi, i missed to subscribing to Microsoft Translator DATA set subscription. Once i get the same, then things have solved. i.e; once i have signed up for https://datamarket.azure.com/dataset/bing/microsofttranslator then things are working.

i was generating the access_token correctly, so that is not an issue. thanks, madhu

like image 207
user1922485 Avatar asked Feb 05 '26 04:02

user1922485


1 Answers

i missed to subscribing to Microsoft Translator DATA set subscription. Once i get the same, then things have solved. i.e; once i have signed up for https://datamarket.azure.com/dataset/bing/microsofttranslator then things are working.

i was thanks, madhu

like image 73
user1922485 Avatar answered Feb 12 '26 15:02

user1922485



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!