Jun 13, 2019 12:24 AM
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?
Jun 13, 2019 2:21 PM
Hi @CoderAcademy , good catch! I'll clarify with the team if there was a change and then get it sorted for you.
Jun 27, 2019 12:55 AM
Hey Connor,
Thanks for following up on this, has there been any development with this query?
Cheers,
James.
Jun 27, 2019 11:18 AM
Hey @CoderAcademy , sorry about that - I forgot to follow up here. Looks like there hasn't been a change on our end, but the docs need to be updated. Thanks for catching that. I'll reach out to the relevant team to get that sorted!
Jun 27, 2019 7:04 PM
You're a champion,
Thanks.