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

Community site session details

Session Id :
Power Automate - Using Connectors
Unanswered

How to assign x-www-form-urlencoded type parameters to an empty body in a custom connector?

(2) ShareShare
ReportReport
Posted on by 4
My requirement is to add a POST request to a custom connector. This request has a Content-Type of application/x-www-form-urlencoded. After adding it, I found that the input parameters must be in JSON format. Then I found the following article that solved the problem by using {}.
But when following the guidance in that article and assigning values to the body in Power Automate, I created a Compose action just like it suggested, encoding all the values and separating them with &. However, after sending the request, I got a 404 error. Please help me resolve this issue with the value assignment. Below, I’ve included some detailed points I discovered during testing
 
When testing this API in the custom connector, you need to enable the body as raw body; otherwise, it will also return a 404 error.
 
So another possible solution is to figure out how to input the body in Power Automate using a raw body approach. However, I’ve checked and it seems there’s no way to do that. I feel the core issue is that Power Automate automatically wraps the request with an extra layer. Could the experts please take a look and suggest any good workaround?
 
In Power Automate, the value assigned in Compose is:
startDate=@{encodeUriComponent('2025-10-03')}&endDate=@{encodeUriComponent('2025-10-03')}.
 
also return a 404 error
 
Categories:
I have the same question (2)
  • Expiscornovus Profile Picture
    33,169 Most Valuable Professional on at
    How to assign x-www-form-urlencoded type parameters to an empty body in a custom connector?
     
    Your flow setup and payload configuration seems fine to me.
     
    Have you double checked your connector setup itself? Btw, have you also tried the same type of request in for example Postman? Would be useful to get a bit more details about the API you are trying to connect to. This would help troubleshooting.
     
     
    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, LinkedIn, Bluesky profile or Youtube Channel

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 489 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 479 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 271

Last 30 days Overall leaderboard

Featured topics