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 / The API operation requ...
Power Automate
Unanswered

The API operation requires the property 'body' to be of type 'String' but is of type 'Array'

(0) ShareShare
ReportReport
Posted on by 13

Hello all,

 

I've been back and forth through various forum posts but unfortunately have come up short. I have created a Custom Connector from an OpenAPI definition file and am able to successfully test all of the operations within it. However when attempting to move from testing to a workflow I am receiving the following error:

 

 

ResponseSwaggerSchemaValidationFailure. The API 'enthuse-5ffb24a8b87c0e2c89-5f5b6611f075d10563' returned an invalid response for workflow operation 'Retrieves_a_list_of_supporter_records' of type 'OpenApiConnection'. Error details: 'The API operation 'getSupporterBySearch' requires the property 'body/supporterPojoList' to be of type 'String' but is of type 'Array'.'

 

 

I've attempted a content-type override policy as described in this thread with no luck. Here the question went unanswered. Searching for "requires the property to be of type 'String' but is of type 'Array'." here in the forums reveals endless similar posts with no answer. So I'm hoping this one might be different!

 

The header returned by the custom connector testing shows the following:

 

 

{
 "cf-cache-status": "DYNAMIC",
 "cf-ray": "8238c4a3f8b86325-LHR",
 "content-encoding": "gzip",
 "content-length": "479",
 "content-type": "application/json",
 "date": "Thu, 09 Nov 2023 20:22:30 GMT",
 "vary": "Origin,Access-Control-Request-Method,Access-Control-Request-Headers",
}

 

 

Can anyone see what the problem might be?

Categories:
I have the same question (0)

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard