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 Automate / Error in Invoke web se...
Power Automate
Answered

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard