
Announcements
Hi, I'm relatively new to the power platform and this is my first attempt at building an AI model for automation. When I created the first cloud flow and tested it I got the following error;
"{"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}"
What I am attempting to do is to extract information from a PDF file which contains certain data and populate that information in to an excel table.
Apparently the issue i'm facing is a new issue but i'm not sure and dont really understand the error message that has popped up to know where to begin with. Below is a screenshot of my flow. Any help would be appreciated.
Hi,
The AI Model expects you to pass the file content rather than the item you have passed above.
As you are using the "When an item or files is modified" trigger, there is no File Content option in the dynamic content. Therefore, you would have to add a step in between to get the file content and then pass the file content dynamic content to the AI step.