
Announcements
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
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: