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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error in Invoke web se...
Power Automate
Unanswered

Error in Invoke web service: "The request body must contain the following parameter: 'grant_type'"

(2) ShareShare
ReportReport
Posted on by 13
I am trying to authenticate to Azure and generate a Bearer token in PAD. For which, I have passed all the necessary details in the "Invoke web service" action, like URL, Content type, Request body etc. But I am getting the error:
"error":"invalid_request","error_description":"****: The request body must contain the following parameter: 'grant_type'.
 
But I have already provided the grant_type in the request body (as you can see in the screenshot below). The same request is working fine in Postman. What am I missing?
 
I have the same question (0)
  • Verified answer
    AS-31071401-0 Profile Picture
    13 on at
    Fixed this issue by disabling the "Encode request body" option in the Advanced section. The request was being encoded while being sent to the server, potentially causing the server to misinterpret the parameters in the request.

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

Forum hierarchy changes are complete!

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

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard