You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.
This is similar to #35 but in my case, my first call failed instead of failing it later.
I am getting this error. I have generated multiple keys from my two MSDN accounts that came with my two different Visual Studio accounts. Same error.
I tried following as suggested by zhouwangzw. It is giving same 401
$FetchTokenHeader = @{
'Content-type'='application/x-www-form-urlencoded';
'Content-Length'= '0';
'Ocp-Apim-Subscription-Key' = 'YOUR_API_KEY'
}
Not sure I understand your question. The link you sent seems for TextAnalytics API, but not for Speech API. The same key can be used both in REST API or Speech SDK.
This is similar to #35 but in my case, my first call failed instead of failing it later.
I am getting this error. I have generated multiple keys from my two MSDN accounts that came with my two different Visual Studio accounts. Same error.
I tried following as suggested by zhouwangzw. It is giving same 401
$FetchTokenHeader = @{
'Content-type'='application/x-www-form-urlencoded';
'Content-Length'= '0';
'Ocp-Apim-Subscription-Key' = 'YOUR_API_KEY'
}
Invoke-RestMethod -Method POST -Uri https://api.cognitive.microsoft.com/sts/v1.0/issueToken -Headers $FetchTokenHeader
My resource group being used has location "South Central US", my location is Colorado, my subscription is "Visual Studio Enterprise".
I there anything else I have to do AFTER generating key and BEFORE using it?
Thanks
The text was updated successfully, but these errors were encountered: