web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Custom connector tests...
Power Automate
Unanswered

Custom connector tests fine in designer but errors when used in a flow

(0) ShareShare
ReportReport
Posted on by 4

I have created a custom connector to wrap some of the ESRI ArcGIS REST API using the custom connector designer.  

 

I have a basic GET request that tests fine in the custom connector, but when I use it in a flow I get an error: 

 

The API 'arcgis-20online-5f2ae34c58bb758092-5f24bc1b30615444c5' returned an invalid response for workflow operation 'Search_-_Get_Users' of type 'OpenApiConnection'. Error details: 'The API operation 'Search_GetUsers' requires the property 'body' to be of type 'Object' but is of type 'String'.'

 

 

Categories:
I have the same question (0)
  • Verified answer
    murshed Profile Picture
    Microsoft Employee on at

    It sounds like your response is defined as JSON object but your API is probably returning string. Please change the response body type to string to resolve the issue.

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE 👍.

  • corky1518 Profile Picture
    4 on at

    Thanks @shmersh this was the right direction.

    Whilst the response was actually JSON the header had "content-type": "text/plain;charset=utf-8" and therefore wasn't recognising the content as JSON.

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard