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')
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With