I've been trying to create an Agent flow in Copilot Studio, and no matter what I do I can't seem to get this TriggerInputSchemaMismatch error to go away.
and I've tested the flow in Power Automate with the exact data I'm passing from Studio and it's run successfully. However, when I look at my topic YAML in Studio, I see:
- kind: InvokeFlowAction
id: invokeFlowAction_2QBFOr
input:
binding:
text: =Text(Coalesce(Global.PRD_GUID,""))
text_1: =Text(Coalesce(Global.known_prd_json, "{}"))
output:
binding:
output_guid: Topic.prd_guid
For some reason the input binding says "text" & "text_1" instead of "input_GUID" & "input_JSON".
I went back to my flow and looked at the code editor for the input variables vs the output variables:
Input -
Output -
The input schema does not seem to update based on the title I'm providing unlike the output schema, and I'm assuming this is the issue but unsure how to resolve. I've tried recreating the flow, removing and deleting the input action, and various other troubleshooting recommendations online.
What else can I try to resolve?
Any help is greatly appreciated!
Error message I keep receiving for reference:
Error Message: The flow 'Sync_PRD_State_v3' ('acdd826d-f3ca-f011-bbd3-6045bd011157') failed to run with response code 'BadRequest', error code: TriggerInputSchemaMismatch. Error Code: FlowActionBadRequest