unsupported_grant_type grant type not supported Exception in Salesforce

unsupported_grant_type grant type not supported Exception in Salesforce

When you face {“error”:”unsupported_grant_type”,”error_description”:”grant type not supported”} error, put all the information in the body instead of header. Check the following image for reference.

1. If you are using POST, check whether the Content-Type is set as application/x-www-form-urlencoded

2. Check whether setBody() has correct body data.

Leave a Reply