Refresh token doesn't always work with API v3

user980825
Participant

Refresh token doesn't always work with API v3

Why does token refresh doesn't always work? We always have to reauthorize.

When a token expires and then we try to refresh it, we always get the below error and mind you, it is the same refresh token given to us when we requested for an access token.

{\"error_description\":\"unknown, invalid, or expired refresh token\",\"error\":\"invalid_grant\"}\r\n."}

2 REPLIES 2
Aarron_G
Moderator

Hello @user980825,

I see that this question was also submitted to us via email. We've replied to your email, requesting some additional information, but I wanted to close the loop here as well. If you haven't received our reply, please let us know via email at webservices@constantcontact.com, and reference case number 27328130.

 

Regards,


Aarron G.
API Support Specialist
Did I answer your question? If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
AmyT117
Participant

Bumping this question as well.

 

We've been struggling with this issue on several sites. The documentation is pretty clear about the lifespan of the token types; however, when attempting to use the API more than a day later the refresh token returns the same response as the OP noted, and we're forced to perform a complete re-connection again. Where's this breaking down?

Developer Portal

View API documentation, code samples, get your API key.

Visit Page