Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Errors with AI Builder Flow

(0) ShareShare
ReportReport
Posted on by 13

Hello 

 

I am building a Flow in Power Automate for the following process: 

 

  1. Once File gets uploaded into SharePoint List called: for processing
  2. AI Builder Extracts information
  3. store the extracted information in another Sharepoint List
  4. the processed File get moved from the for processing list to another list, called processed

I keep getting 2 persistent errors with the AI Builder Predict action step: 

 

{"operationStatus":"Error","error":{"type":"Error","code":"InvalidPredictionInput","message":"The base 64 binary content is missing for input single","properties":{"BackendErrorCode":"InvalidInferenceInput","DependencyHttpStatusCode":"400"},"innerErrors":[{"scope":"Record","target":"single","code":"InvalidRecord","type":"Error","properties":{"MlIssueCode":"InvalidRecord","MlIssueTarget":"single"}}]},"predictionId":null}

 

and the other error: 


{"operationStatus":"Error","error":{"type":"Error","code":"InvalidPredictionInput","message":"Unsupported mime type Unknown mime type of length 12","properties":{"BackendErrorCode":"InvalidInferenceInput","DependencyHttpStatusCode":"400"},"innerErrors":[{"scope":"Record","target":"single","code":"UnsupportedFileType","type":"Error","properties":{"SupportedFileTypes":"image/jpeg,image/jpeg,image/png,application/pdf,image/tiff,image/bmp","MlIssueCode":"UnsupportedFileType","MlIssueTarget":"single"}}]},"predictionId":null}

 

Tried troubleshooting by adding another step: Compose, used the base64ToBinary(triggerOutputs()?['body/documentbody']) for input, and added GetFile Content step as well. However, the errors are persistent and the flow isn't running.  I attached screenshots of the flow and errors

 

Any ideas how to troubleshoot or even change the flow would be appreciated!

  • JJ27 Profile Picture
    13 on at
    Re: Errors with AI Builder Flow

    Hi @fchopo 

     

    Thank you for the suggestions, I changed the first two actions before the AI Builder predict action and the error resolved. Now, the first half of the flow appears to run without error, but now after the modifications I made, having issues with the second half of the flow, storing the extracted information in a Sharepoint list. 

     

    Used the action create item, passed the site address and list name, created a few columns in the new list to map the extracted information correspondingly, but the columns didn't get populated with the expected data...

     

     

  • fchopo Profile Picture
    7,968 Super User 2025 Season 1 on at
    Re: Errors with AI Builder Flow

    Hi @JJ27 

    When getting the file content, you're entering the id property as string instead of a dynamic value. Besides that, I guess you're working with files and not items, so the trigger should be "When a file is created or modified:

    identified.png

     

    Hope that helps!

    Ferran

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492