@Zuo Ke Jing (NCS) Thanks for the question. Can you please add more details about the cognitive service that you are using? . Which resource are you using from the azure portal?.
Here is the document for containers in azure cognitive services.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
when I used correct apikey and endpoint to run a cognitive service, the container always show:
Container is not in a valid state. Subscription validation failed with status 'Mismatch'. You have provided an Api Key or endpoint for the different kind of cognitive services resource. Find your API key and service region under Keys and Endpoint at your Azure Cognitive Services resource blade in the Azure Portal. For more information please visit https://aka.ms/cscontainers-faq.
microsoft-congnitive-svcs-ocr-1 | fail: Microsoft.CloudAI.Containers.Http.CloudClient[0]
I checked serval time apikey and enpoint, and make sure of that they are correct. I suspect the contianer env should config region information, but I donot how to config it. somebody can give me suggestion?
@Zuo Ke Jing (NCS) Thanks for the question. Can you please add more details about the cognitive service that you are using? . Which resource are you using from the azure portal?.
Here is the document for containers in azure cognitive services.
Confirm that the API key is for the correct resource type.
Mismatch means that the wrong API key has been used. If you have provided an API key or endpoint for a different kind of Azure AI Services resource, you find your API key and service region in the Azure portal, in the Keys and Endpoint section for your Azure AI Services resource.
If the API key is invalid, you must confirm that the API key is for the correct region. If the API key has exceeded the quota, then you can either upgrade your pricing tier or wait for an additional quota to become available. Find your tier in the Azure portal, in the Pricing Tier section of your Azure AI Service resource. The mismatch error would not be generated if the resource was offline.