Form Recognizer API Invalid Content

Bill Corrigan 35 Reputation points
2023-05-02T20:44:32.8133333+00:00

I see a couple similar conversations on this topic, but no definitive solutions.

We are running a process through Power Automate, files uploaded to blob storage, then an API call to Form Recognizer to process the PDF. The calls to the Form Recognizer started failing this morning and have been all day. (Same error received when using a curl command as well.)

All of the files are PDFs, all can be viewed via the browser as well as downloaded and opened with no problems. File sizes are no different from any other day. Training (and testing) of the models runs with no problems, so I don't think it's an SAS issue. Permissions haven't changed (to the best of my knowledge).

Thoughts on what else to check?

"error": {
  "code": "InvalidRequest",
  "message": "Invalid request.",
  "innererror": {
    "code": "InvalidContent",
    "message": "The file is corrupted or format is unsupported. Refer to documentation for the list of supported formats."
  }
}
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} vote

1 answer

Sort by: Most helpful
  1. Bill Corrigan 35 Reputation points
    2023-05-04T14:30:25.5766667+00:00

    We're running on the East US region.

    When the failures started, all of the calls failed, even calls that previously were successful. I had been out of the office for a few weeks, so no changes were made to the account.

    I'm guessing something behind the scenes between Azure and Power Automate or FR and storage. I turned the workflows back on yesterday morning to resume troubleshooting and everything started running without issue. I don't know what was wrong, but this is resolved for now I guess.

    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.