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 / Errors with AI Builder...
Power Automate
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!

Categories:
I have the same question (0)
  • fchopo Profile Picture
    8,003 Moderator on at

    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

     

  • JJ27 Profile Picture
    13 on at

    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...

     

     

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard