Hello,
I have a custom connector working great when testing it while editing the custom connector, creating a flow with the connector the action will return the object and everything is working as expected.
When using the connector in Power Apps, sending the exact same body as in flow and the test it will give an error.
Opening the Troubleshoot - Monitor it will first say that the body is empty:
{
"duration":276.71,
"size":2,
"status":200,
"headers": {
"Cache-Control":"no-cache,no-store",
"content-encoding":"gzip",
"Content-Type":"application/json",
"Date":"Mon, 07 Dec 2020 21:40:51 GMT",
"strict-transport-security":"max-age=31536000;includeSubDomains",
"vary":"Accept-Encoding",
"x-content-type-options":"nosniff",
"x-frame-options":"DENY",
"x-ms-apihub-cached-response":true,
"x-ms-request-id":"ca893e4c-a1f7-49e9-8e31-35e22ba1cb25",
"x-ms-user-agent":"PowerApps/3.20113.29 (WebAuthoringTool;AppName=<NonCloudApp>)"
},
"body": [],
"responseType":"json"
}
And then give me an error:
{
"status":null,
"duration":null,
"dataSource":null,
"responseSize":null,
"controlName":null,
"propertyName":null,
"nodeId":null,
"formulaData": {
"script":"",
"spanStart":null,
"spanEnd":null
},
"data": {
"info":"JSON parsing error, expected 'object' but got 'array'.",
"issue":"This is more likely due to mismatch between metadata and actual data received.Pleaseensureyourmetadata and serverresponsematch."
}
}
Any input is much appreciated!

Report
All responses (
Answers (