
Hi community,
I'm new to power platform. I create an custom connector from scratch which is access and web API though 'on-premises data gateway'. It works fine when testing from it self (response 200) but when try to access the custom connector from power automate it gives the below error.
"The API '[Connector_Name]' returned an invalid response for workflow operation '[Action_Name]' of type 'OpenApiConnection'. Error details: 'The API operation '[Action_Name]' requires the property 'body' to be of type 'Object' but is of type 'String'.'"
Please someone help.
Your payload should be a record (at least), not a single string. How are you constructing the payload?