404 response when trying to call the API for custom extraction model

Flavius Sfirlea 0 Reputation points
2025-12-11T07:28:25.34+00:00

Hello,

I am getting a 404 error when trying to call the API for a custom extraction model, even though it seems like I have set up all details correctly.

When calling the API I am taking the endpoint URL and Key Microsoft Azure and I am passing the ModelId from Document Intelligence Studio.

HTTP/1.1 404 NotFound

ms-azure-ai-errorcode: NotFound

x-ms-error-code: NotFound

x-envoy-upstream-service-time: 30

apim-request-id: ********

Strict-Transport-Security: max-age=31536000; includeSubDomains; preload

x-content-type-options: nosniff

x-ms-region: East US

Content-Length: 146

Content-Type: application/json; charset=utf-8

Date: Thu, 11 Dec 2025 08:41:28 GMT

{

"error": {

"code": "NotFound",

"message": "Resource not found.",

"innererror": {

  "code": "ModelNotFound",

  "message": "The requested model was not found."

}

}

}

What am I doing wrong? Does the model have to be deployed in some way? In document intelligence studio, the status of the model is "succeeded" . I have labeled and trained the model.

Azure AI Document Intelligence
{count} votes

1 answer

Sort by: Most helpful
  1. Flavius Sfirlea 0 Reputation points
    2025-12-11T10:30:38.3+00:00

    Hello,

    Nevermind, I have sorted it out in the mean time.

    Thank you.

    I will get back if I'll encounter any other issues.


Your answer

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