unsupported_grant_type "grant type not supported"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2020 12:28 AM
I'm trying to get an authorization token from Salesforce. Keep getting this response when I test; {"error":"unsupported_grant_type","error_description":"grant type not supported"}
I've changed the grant_type to authorization_code but still get the same error.
Any help is greatly appreciated.
Here is my configuration:
Select the Test link at the bottom of the above page
Response to the test
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2020 12:32 AM
Adding one link here, see if it helps you.
{“error”:“unsupported_grant_type”,“error_description”:“grant type not supported”}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2020 12:46 AM
Hi,
It seems the grant_type you are sending from ServiceNow is not recognized by Salesforce
Did you try generating the token using "Get OAuth Token" link
please check these links; they should help you
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2020 06:24 AM
Hi Ankur,
Thank you for responding.
I was able to manually "Get OAuth Token", but am still getting the 'unsupported grant type' response.
I read the 3 links you provided. Unfortunately, they we not helpful ☹.
I wonder if the issue is in Salesforce? Any ideas are appreciated.
Best Regards, Cornelia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2020 07:56 AM
Hi,
I could see in the screenshot you are setting grant_type as password
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader