web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow run Failed using ...
Power Automate
Unanswered

Flow run Failed using Recognize_text_in_an_image_or_a_PDF_document action

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I created a simple flow that triggers when a new file is placed into a folder and should recognize the text in the file if it is a PDF. However, it keeps failing with this error:

{"operationStatus":"Error","error":{"type":"Error","code":"InvalidPredictionInput","message":"InvalidImage. The file submitted couldn't be parsed. This can be due to one of the following reasons: the file format is not supported ( Supported formats include JPEG, PNG, BMP, PDF and TIFF), the file is corrupted or password protected.","properties":{"BackendErrorCode":"InvalidInferenceInput","DependencyHttpStatusCode":"400"},"innerErrors":[{"scope":"Record","target":"single","code":"InvalidRecord","type":"Error","properties":{"InnerErrorCode":"InvalidImage","MlIssueCode":"InvalidRecord","MlIssueTarget":"single"}}]},"predictionId":null}

I'm not sure if this action isn't working or doesn't work for text within a PDF.

Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    I think may be the image from pdf may not able to pulled due to document content etc 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    There are no images in the PDF I'm using, only text.

  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @Anonymous 

     

    as per error message, is the file password protected ?

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Nived,

     

    The file is not password protected.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 283

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard