Lab11-error - report

Michael Schmidt 240 Reputation points
2024-11-28T12:23:47.8466667+00:00

While doing Lab11 I encountered a repeated error:

Despite the notebook (1), the notifications (2), and being able to test the endpoint sucessfully in "Assets->Endpoints" (3), I got "key_auth_bad_header_forbidden" when opening the endpoint.scoring.url

(1)2024-11-28 12_59_06-endpoint-11281141976741.northeurope.inference.ml.azure.com_score

(2)

2024-11-28 13_02_29-Notebooks - Azure AI _ Machine Learning Studio

(3)2024-11-28 13_03_57-endpoint-11281141976741 - Azure AI _ Machine Learning Studio

Seems to be related to having a second workspace.

Bye

Michael

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,814 questions
0 comments No comments
{count} votes

Accepted answer
  1. Azar 23,650 Reputation points MVP
    2024-11-28T14:33:00.29+00:00

    Hi there Michael Schmidt

    Thanks for using QandA platform

    This is most likely because the API key isn’t being passed correctly or is invalid. Since you mentioned having a second workspace, it’s possible that the problem is related to using the wrng API key. Double-check that the API key you're using corresponds to the workspace where the model is as Authorization: Bearer <your-key>.

    If nothing works try regenerating the API key and ensure the correct credentials are being used across your requests.

    If this helps kindly accept the answer thanks much.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.