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 / http Post request "err...
Power Automate
Unanswered

http Post request "error":"unsupported_grant_type"

(0) ShareShare
ReportReport
Posted on by

hello everyone
For some time now I have been trying to retrieve my API token in Power Automate but without success. However, the header and body parameters are the same in postman and it works well. The Error message is "error":"unsupported_grant_type". I don't know if the grant_type = client_credentials is defined in the right place

ofcourse_0-1712760037444.png

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at

    Hi @ofcourse,

     

    It looks like it is in the correct field (assuming Corps means Body in French 😁). However, because the content-type is not application/json but application/x-www-form-urlencoded the value needs to be in a different format.

     

    Try removing the json and add something like:

     

    grant_type=xxxx

     

     

    Have a look at this example for using x-www-form-urlencoded requests in the HTTP Action from Mohamed Ashiq Faleel as well:

    https://ashiqf.com/2021/07/25/how-to-use-form-data-and-form-urlencoded-content-type-in-power-automate-or-logic-apps-http-action/

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard