When you face {“error”:“unsupported_grant_type”,“error_description”:“grant type not supported”} error, put all the information in the body instead of header.
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.
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.
No comments:
Post a Comment