I get the same error when posting to /oauth/token from my python script. According the links below, setting the content type to “application/x-www-form-urlencoded” in the header might solve your problem. Wasn’t that simple for me, unfortunately, I’m still stuck.
gsingh28
(Ranjeet)
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Python script gets "unsupported grant type" error when getting a token from a Server to Server app | 7 | 1766 | August 5, 2024 | |
| Server to server oAuth Application - grant_type "account_credentials" error | 2 | 849 | June 1, 2024 | |
| Unsupported grant type | 6 | 1912 | October 25, 2023 | |
| Unsupported grant type error | 6 | 1009 | November 28, 2023 | |
| Unsupported_grant_type while trying to get access and refresh token | 5 | 4558 | January 6, 2025 |