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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 253 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 172 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 134 Super User 2026 Season 2

Last 30 days Overall leaderboard