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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Action 'Extract_inform...
Power Automate
Unanswered

Action 'Extract_information_from_documents' failed

(1) ShareShare
ReportReport
Posted on by 4

I'm fairly new to Power Automate and mostly rely on watching YouTube videos to create flows.

I want to get information from JPEG files to put in an Excel file using AI builder. I already tested the model (using the same files for testing) and it worked in the AI builder interface, but it didn't work in my flow.

 

Below is a screenshot of my flow:

AlexQuicho_2-1691669981799.png

 

The full error details when I test it is:

{"operationStatus":"Error","error":{"type":"Error","code":"InvalidPredictionInput","message":"Encountered an issue when reaching Form Recognizer: InvalidRequest","properties":{"BackendErrorCode":"InvalidInferenceInput","DependencyHttpStatusCode":"400"},"innerErrors":[{"scope":"Record","target":null,"code":"InvalidRecord","type":"Error","properties":{"ErrorCode":"InvalidRequest","MlIssueCode":"InvalidRecord"}}]},"predictionId":null}

 

Here is the part of the flow where error always occurs:

AlexQuicho_0-1691669808158.png

 

I also tried using "body/value - Item" instead of "body" but it still displays the same error message.

AlexQuicho_1-1691669933548.png

 

Am I using the incorrect dynamic content or am I incorrect in some other steps?

Categories:
I have the same question (0)
  • SamLed Profile Picture
    2,338 Moderator on at

    Hi,

     

    I'm not a specialist a AI builder, but have you tried to populate "Form" field with "File content" dynamic content from "Get Files" ?

    ______________________________________________________________

    If I have answered your question, please Accept the post as solution.
    If you like my response, please Thumbs Up.

  • AlexQuicho Profile Picture
    4 on at

    Hi,

     

    I tried doing this but it says there is no "File Content" dynamic content.

    AlexQuicho_0-1691718498833.png

     

  • sandeepstw Profile Picture
    312 Moderator on at

    Hi There,

     

    As per given error, the issue seems to coming from the input data you're passing to the AI model in Power Automate.

     

    Double check 'Content-Type' should be 'image/jpeg'.

     

    The input to AI Builder should be raw binary data of the image. If you're leveraging a "Get file content" action, use its 'File content' output as input to AI Builder. Also confirm the JPEG isn't surpassing Form Recogniser's size limits. Review actions leading up to the AI Builder call. Ensure they produce valid outputs, especially if they are intermediary steps handling or transforming the JPEG data. Also check Power Automate matches the one tested in AI Builder. Ensure it's in the correct state.

     

    Please give kudos and mark as solution if it helps.  

      

    Thanks, 

    Sandeep Mishra 

  • shivam03 Profile Picture
    2 on at

    Hey, i got the same issue in Ai builder it works but as soon as i use in the flow it shows the same error , did you figured out ?

  • arshad236 Profile Picture
    on at
    I have also received same kind of error message. It complains file size is too large. Much appreciated for any help on this issue.
     
    Action 'Extract_information_from_documents' failed: {"operationStatus":"Error","error":{"type":"Error","code":"InvalidArgument","message":"Payload too large"},"predictionId":null}
     
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard