I get 401 error when I test the mode externally.

Anuj Kumar 0 Reputation points
2024-12-25T20:07:41.38+00:00

when I test the model on postman or by usin python code by both methord i am getin the same output 401 error , it says "401 key_auth_access_denied" . where is the problem

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,045 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sina Salam 14,551 Reputation points
    2024-12-26T01:30:11.6433333+00:00

    Hello Anuj Kumar,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you are getting error 401 when you test the model externally.

    A 401 error with the message "key_auth_access_denied" typically indicates an issue with your API key or authentication method and / or URL Parameters.

    Follow the links below for more details and how to solve it:

    I hope this is helpful! Do not hesitate to let me know if you have any other questions.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.