Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bing AppID is invalid

I'm trying to use the Bing Translator API for Python, and for some reason it is telling me that I have an invalid AppID. I get the error:

ArgumentException: Invalid appId
Parameter name: appId: ID=[string of 4 numbers].V2_Json.Translate.[string of 8 numbers/letters]

I have checked that the ID I received from the developer center is enabled, and that I have not exceeded the traffic usage. I am still not sure what could be wrong. If someone can give me an answer or way to fix this I'd greatly appreciate it.

code from bingtrans example:

import bingtrans
bingtrans.set_app_id(YourAppID) # you can get your AppID at: bing.com/developers 
print bingtrans.translate('hello', 'en', 'ko')
like image 518
user1339380 Avatar asked Jan 20 '26 00:01

user1339380


1 Answers

I'm having that problem too today, the Bing appID for Bing Translator are deprecated. It was fine until yesterday.

You can see the post http://social.msdn.microsoft.com/Forums/en-US/microsofttranslator/thread/02054a7c-090c-46a0-a8d1-2d57e236eb4d that talk about it.

You will need to get a new Azure Marketplace token from the http://api.microsofttranslator.com website.

like image 90
h3ct0r Avatar answered Jan 22 '26 16:01

h3ct0r



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!