Closed Schaka closed 5 months ago
You can still create api keys: https://learn.microsoft.com/en-us/azure/ai-services/translator/create-translator-resource?source=docs#get-your-authentication-keys-and-endpoint
But somehow it's no longer working... any ideas?
If you implemented this quite a while ago, I believe the Bing API was different from what has now been migrated to Azure. These are the Azure API keys, which I've created and used, resulting in the above error message. I also made sure roles are assigned. If this still works for you, feel free to close and I'll figure it out eventually.
I suspect the endpoint changed or the SDK is different. I've had quite a few issues with Microsoft Ads SDK in production at work too, so it's possible there are some undocumented changes.
Worst case scenario, I'll set the project up in Rider later this week and see if I can get it to work. I'm not super familiar with the C# ecosystem though.
It's working again... a microsoft bug !
Providing a working API key results in an error message regarding the API key being invalid.
I suspect that this is because some older Bing endpoint is being called. You cannot create API keys for Bing anymore. The endpoint should be
https://api.cognitive.microsofttranslator.com/
at all times now.