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 Apps / How to write custom co...
Power Apps
Unanswered

How to write custom connector that accepts a POST body?

(0) ShareShare
ReportReport
Posted on by 173

I am writing a custom connector that has a very very simple POST method that just bounces back the exact content you sent it in the body. This works fine from everywhere except within PowerApps itself.

 

Here is my server side code:

 

camer314_1-1604540256583.png

 

This is the resulting Swagger:

 

camer314_2-1604540315486.png

 

And this is the error I get in Flow when I try and use it.

 

camer314_0-1604540193885.png

 

Does anybody know whats going on? It seems like the most basic of use cases ever!

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @camer314 :

    In the screenshot you provided, I noticed that the error message "invaild input parameters".Could you check the setting of the parameter 'body' in the custom connector?

    whether the parameter value {"A":"B"} you expected is a string or an object?As far as I know,parameter does not support value of type object.

    1.JPG

    I found some related links, hope they are useful to you:

    Create a custom connector from an OpenAPI definition 

    Custom Connector: Header "content-type" not sent to service 

    Custom connector action with x-www-form-urlencoded content-type 

    Best Regards,

    Bof

     

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard