Hello
I am building a Flow in Power Automate for the following process:
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!
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...
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:
Hope that helps!
Ferran
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492