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 / Issues with File Input...
Power Automate
Unanswered

Issues with File Input in Power Apps Flow When Triggered from Button

(0) ShareShare
ReportReport
Posted on by

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!

Categories:
I have the same question (0)

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

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard