Announcements
I’m working in Copilot Studio and have created an agent with a topic that calls a Power Automate Agent Flow. My flow contains three input parameters:
In the topic, I also added three corresponding output parameters of the same types.
However, when I try to map the topic variables to the flow inputs, I receive this error: “Input variable UploadFile is of incorrect type: File.”
{ contentBytes: First(System.Activity.Attachments).Value, name: First(System.Activity.Attachments).Name } But when I test the agent, the flow fails to start and I get this runtime error:
Error Message: The flow 'SOC1 Vendor File Upload Flow' ('a57a9afc-df1e-f111-8341-6045bd0693d5') failed to run with response code 'BadRequest', error code: TriggerInputSchemaMismatch. Error Code: FlowActionBadRequest Conversation Id: 5bdf19fa-e48d-4ba0-89e0-3fa6b8804577 Time (UTC): 2026-03-14T17:05:01.720Z
This happens because Copilot Studio cannot pass a File variable directly to a Power Automate flow. It treats the file as a record, not a true File type.
TriggerInputSchemaMismatch
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 259
Romain The Low-Code... 195 Super User 2026 Season 1
Vish WR 180