Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

API Operation expecting data type 'Array' but getting type 'Object'

(0) ShareShare
ReportReport
Posted on by 2

Hi.

 

I'm trying to use an existing connector from a third party but whenever I try running the flow, I get this error:

ResponseSwaggerSchemaValidationFailure

The API 'scrapingbeeip' returned an invalid response for workflow operation 'Scrap_URL' of type 'OpenApiConnection'. Error details: 'The API operation 'HTML' requires the property 'body/xhr' to be of type 'Array' but is of type 'Object'.'

 

OrangeJelly_0-1707336201497.png

I've tried making a new connection with the api and making a new flow entirely. I'm not sure if this is something that can be fixed on my end or if the connector is broken. Any tips or guidance would be appreciated.

 

  • OrangeJelly Profile Picture
    OrangeJelly 2 on at
    Re: API Operation expecting data type 'Array' but getting type 'Object'

    Thanks for the tip. It won't let me edit the inputs. I tried importing the flow and editing the definition.json but when I try importing the edited flow, it won't let me. Is there any other way to do that?

  • SudeepGhatakNZ Profile Picture
    SudeepGhatakNZ 14,231 on at
    Re: API Operation expecting data type 'Array' but getting type 'Object'

    @OrangeJelly ,

    Try enclosing your inputs to the action inside square brackets []. That will convert your object to an array

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard