401: Access denied due to invalid subscription key or wrong API endpoint

BHARGAV JOSHI 25 Reputation points
2024-06-06T11:50:48.25+00:00

I'm encountering a "401 Access Denied" error despite using the correct endpoint URL and subscription key provided by the Computer Vision resource. Could someone please assist me in identifying any potential issues I might be overlooking?

Azure Computer Vision
Azure Computer Vision
An Azure artificial intelligence service that analyzes content in images and video.
338 questions
{count} vote

Accepted answer
  1. santoshkc 6,310 Reputation points Microsoft Vendor
    2024-06-06T12:41:29.8433333+00:00

    Hi @BHARGAV JOSHI,

    Thank you for reaching out to Microsoft Q&A forum!

    Based on the error message you provided, it seems that the authentication token is missing or invalid. Here are a few things you can recheck to resolve the issue:

    • Recheck if the subscription key is still valid and has not expired.
    • Verify if the API endpoint URL is correct.
    • Check if you have the necessary permissions to access the resource.
    • Might this issue would be intermittent, it could be due to a temporary network or server issue. In this case, you can try again later to see if the issue has been resolved.
    • Try Clear browser cache and cookies and also try using a different browser.

    Let us know if the above information helps. Thank you.

    0 comments No comments

0 additional answers

Sort by: Most helpful