I using a custom connector at a very simple flow with 2 steps: step 1: manually trigger the flow step 2: the custom connector send a request with GET method to a api host in Azure. I test the flow ,then I got the error message : The API 'getcinfo-5fa483af6eb64632d9-5fa8cb6598ceaac853' returned an invalid response for workflow operation 'Function1_2' of type 'OpenApiConnection'. Error details: 'The API operation 'get-function1' requires the property 'body' to be of type 'Object' but is of type 'String'.' the response Body of custom connector is : { "error_code": 0, "success": true, "message": "success", "data": { "searchtime": 0.029, "total": 1, "num": "1", "viewtotal": 1, "items": [ { "entname": "Happy Life cycle co. Ltd", "legalname": "Jackson will", "esdate": "2010-11-12", "id": 62135979 } ] } } the header of the response : { "content-encoding": "gzip", "content-length": "352", "content-type": "text/plain; charset=utf-8", "date": "Wed, 16 Sep 2020 05:16:32 GMT", "request-context": "appId=cid-v1:e2ec880e-****-44e0-****-*******be027", "vary": "Accept-Encoding", "x-ms-apihub-cached-response": "true" } Please help ,any suggestion will be appreciate.
Can you check custom connector and the action definition to what you have defined.It also gives you option to test your action so that you can test there before adding to flow.
Thanks
Was this reply helpful?YesNo
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.