
Announcements
Hello everyone!
I'm having trouble with a Power Apps flow that works perfectly when tested in Power Automate, but it's giving me errors on the file input when invoked from a button in the app:
{"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}
The flow is straightforward: it starts with a FILE input, which will be an invoice. This invoice is analyzed with the AI Builder's invoice data extractor and, using the data gathered, updates an Excel file. I have attached a screenshot for context.
I have the flow set up on the button, but when I check the Power Automate log, I'm encountering errors on the input, like BAD REQUEST. I tried adding a trigger for when a file is created in OneDrive, in this case, the invoice entered in the app. However, I can't seem to get the invoice attached in the app to automatically save to a OneDrive folder and I get another error about the folder path because It doesn't validates de File input variable from the first step in the flow. Could you please help me out with this? There is an easier way to get this?
Thank you!