2

I tried both 'Key 1' and 'Key 2' of Face API from https://azure.microsoft.com/en-us/try/cognitive-services/my-apis/ in this. But am getting the following error. How can I get a new API key? or how can I fix this problem?

{ "error": { "code": "Unspecified", "message": "Access denied due to invalid subscription key. Make sure you are subscribed to an API you are trying to call and provide the right key." } }

4

1 回答 1

0

请确保:

  1. 您已指定正确的端点。端点显示在您包含的同一my_apis链接上。一个区域/属性的 API 密钥在另一个区域/属性中不起作用。
  2. 您的密钥尚未过期。剩余天数将显示在同一链接上。
于 2017-07-17T18:28:49.610 回答