Reputation: 155
I tried to issue token for voice recognition request as in Microsoft Cognitive Services Bing Speech API tutorial from Postman:
Input URL encoded string is:
grant_type=client_credentials&client_id=[my_key]&client_secret=[my_key]&scope=https%3A%2F%2Fspeech.platform.bing.com
And API responds with error:
{
"statusCode": 401,
"message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription."
}
What am I doing wrong?
I saw the similar issue, but I don't see update about Bing Speech API in answer.
Thanks in advance.
Upvotes: 2
Views: 3753
Reputation: 2973
Looks to me like you have three issues:
Ocp-Apim-Subscription-Key
headerUpvotes: 4