Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Refresh OAuth 2.0 Access Token returns "status" JSON key rather than "error" despite documentation
New Contributor
06-13-2019 12:24
A POST request to:
https://api.hubapi.com/oauth/v1/token
with request parameters as such:
data = {
"grant_type": "refresh_token", "client_id": client_id, "client_secret": client_secret, "refresh_token": refresh_token }
returns:
{
"status": "BAD_REFRESH_TOKEN",
"message": "missing or invalid refresh token",
"correlationId": "x-x-x-x-x",
"requestId": "x"}
rather than:
{ "error": "error_code", "error_description": "A human readable error message" }
which is specified at:
https://developers.hubspot.com/docs/methods/oauth2/refresh-access-token
Thoughts?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content