Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

'The API operation 'ExecuteBAPI' requires the property 'body' to be of type 'Object' but is of type 'String'.'

(0) ShareShare
ReportReport
Posted on by 47

Hello community.
I appreciate if you can help me to solve this error. I am using a custom connector but when I call the service I get the error: 'The API operation 'ExecuteBAPI' requires the property 'body' to be of type 'Object' but is of type 'String'.'

AndresNoguera_1-1680221903744.png

There is an interesting detail that from powerapps if the call is made to the same service it works correctly.
I have already tried all the recommendations I found on the internet, even the GPT ones. But I keep getting the same error.


 

  • v-liwei-msft Profile Picture
    v-liwei-msft on at
    Re: 'The API operation 'ExecuteBAPI' requires the property 'body' to be of type 'Object' but is of type 'String'.'

    Hi @AndresNoguera 

     

    Please put {"bpi":.....} into an object variable, and then call it in the API

     

    Best Regards,

    Levi

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,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard

Featured topics