How to fix invalid status code 'Unauthorized'?

Lachin Fernando 0 Reputation points

I was using python azure sdk and following the official document. But at the prediction stage, this error occurs. Operation returned an invalid status code 'Unauthorized'

any solutions?

Azure AI Custom Vision
Azure AI Custom Vision
An Azure artificial intelligence service and end-to-end platform for applying computer vision to specific domains.
161 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 18,651 Reputation points

    Lachin Fernando Did you get a chance to see my response?

    In Addition, Please try to use the key and endpoint you see in custom vision studio for your project as mentioned in the documentation Get the URL and prediction key

    Do let us know if you need further help.

    0 comments No comments