Bing语音识别:DataMarket令牌失败(错误403) [英] Bing Voice Recognition: DataMarket token fails (Error 403)
问题描述
你好,
似乎成为
speech.platform.bing.com/recognize 服务的DataMarket令牌的问题。
There seems to be an issue with the DataMarket tokens on the speech.platform.bing.com/recognize service.
< span style ="border:0px; font-style:inherit; margin:0px; outline:0px; padding:0px">之前,access_tokens从cURL命令中拉出,如:
curl -X POST -d" grant_type = client_credentials& client_id = < CLIENT_ID> & client_secret =< CLIENT_SECRET>& scope = https%3A%2F%2Fspeech.platform.bing.com"
https://datamarket.accesscontrol.windows.net/v2/OAuth2-13
curl -X POST -d "grant_type=client_credentials&client_id=<CLIENT_ID>&client_secret=<CLIENT_SECRET>&scope=https%3A%2F%2Fspeech.platform.bing.com" https://datamarket.accesscontrol.windows.net/v2/OAuth2-13
可以使用端点,现在它似乎正在返回HTTP错误403.这已经工作了几个月。
帐户中还有余额,因此 没问题。
There is credit left in the account so, it should be fine.
作为测试,从Azure Cognitive Services生成令牌有效:
curl -X POST -H" Ocp-Apim-Subscription-Key:< PRIMARY_KEY_1>" -H" Content-Length:0" https://api.cognitive.microsoft.com/sts/v1.0/issueToken
推荐答案
Hello JPatEP,
Hello JPatEP,
这是我们目前正在处理的一个已知问题。与此同时,我们建议切换到Bing语言API在认知服务下;它非常相似。
This is a known issue that we are currently working on. In the meantime, we recommend switching to Bing Speech API under cognitive services; it’s very similar.
这篇关于Bing语音识别:DataMarket令牌失败(错误403)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!