Specified model not found or not ready, Model Id:

Sam C 1 Reputation point
2022-04-29T22:54:20.83+00:00

I was trying to use the Python SDK on my already trained custom model to analyze a form. My model's ID is 1098. However, I got this error:

azure.core.exceptions.HttpResponseError: (1001) Specified model not found or not ready, Model Id: 1098
Code: 1001
Message: Specified model not found or not ready, Model Id: 1098

Here is my Python code:

file = open("test.png", "rb")
form_recognizer_client = FormRecognizerClient(endpoint, AzureKeyCredential(key))
# get result
poller = form_recognizer_client.begin_recognize_custom_forms(model_id="1098", form=file)
result = poller.result()

I double checked my model finished training (yesterday), and I can use the FormRecognizerStudio to do this perfectly fine. But not the Python SDK due to this error. Could somebody help? Thanks.

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
2,111 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yamakoto 6 Reputation points
    2022-05-03T07:17:53.2+00:00

    The model ID should be found from the portal / studio, any ways to list all the models and any roadmap to that ?

    1 person found this answer 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.