When subsribing to Linguistic Analysis in Microsoft Cognitive Services, 2 subscription keys were generated. I am using the first one to connect to the service, but here comes the error code: "Unspecified", which means "Invalid subscription Key or user/plan is blocked." (see error codes here). Should I use both generated keys? How can I use them? A small example of connection or analysis will be very useful. Thanks!
2 Answers
0
votes
0
votes
I've experienced something similar. Check if your are using the correct Endpoint in your code or try to "Regenerate your Key" (it might take up to 10 minutes until the new code is working).
If you want to check your subscription key / location settings use the Microsofts "online" Linguistic API: https://westus.dev.cognitive.microsoft.com/docs/services/56ea598f778daf01942505ff/operations/56ea5a1cca73071fd4b102bb/console