API Explorer for flow execution doesn't work

I've been trying to test a workflow using API Explorer, but the way the input parameters are done, it cannot execute the flow with a valid schema.

That first "Key1" should be mapped to a value, not to another object of a key-value-pair.

If I call the workflow from a data action but without Key1, just Key2:Value2, it works fine.

Hello,

You can modify the content of the request directly in the JSON window/panel (the JSON in the right panel).
It is likely because the flow execution allows variable to be of any type: string, number, boolean, ...
And that's not something which can be represented in current swagger specifications (type any).

Regards,

I tried doing that, but it keeps disappearing as I type.

Try with Pro mode (the toggle under Request Body - in your screenshot).

Regards,

1 Like

This is necessary to enable if you're trying to send a request that doesn't match the schema in the request builder wizard. The wizard "fixes" the JSON document for you to ensure it adheres with the schema. Pro mode turns that feature off and lets you type and send whatever you want, even if it's incorrect per the documentation.

1 Like

Hey Alex,

I had the same issue last week after looking into it and finding this thread here: Start workflow flow over API - #3 by ciwe

The way the schema formats the inputs in the API explorer doesn't work you need to use the pro mode as mentioned above, here are some screenshots of one i have set up.


APIExplorer_Inputs

Hope this helps.
Cam

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.