Custom API and Custom Supervised containers, unable to do analyze request for any document.
Hi,
I am running the custom container from this link on my local, the containers are running and able to access the API, I was able to train the model and can see the results in model details. However when calling the analyze request for one of the pdf in the shared folder, there is no response from the backend. I tried to check the file then realized there is an error in one of the output.json file as follows:
{
"status": "failed",
"createdDateTime": "2022-08-11T05:02:07Z",
"lastUpdatedDateTime": "2022-08-11T05:02:07Z",
"analyzeResult": {
"version": "2.1.0",
"errors": [
{
"code": "3014",
"message": "Generic error during prediction."
}
]
}
}
I used /formrecognizer/{apiVersion}/custom/models API to train the model from Postman and the files manually copied in shared folder.
I am using /formrecognizer/{apiVersion}/custom/models/{modelId}/analyze API to start Analyze and the files are again in shared folder, however I am not getting any result back but the API is success with 202.
Please let me know what is wrong.