Hello
I am building a Flow in Power Automate for the following process:
- Once File gets uploaded into SharePoint List called: for processing
- AI Builder Extracts information
- store the extracted information in another Sharepoint List
- 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!