You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can't get the access and refresh tokens under 3 hours (Incorrect or invalid refresh token) #397
Initially it's successfully getting the tokens, but if I try again instantly getting this error there's some cool down of 3 hours or something to get tokens again succesfully
how to manage this
Traceback (most recent call last):
File "test.py", line 1, in
auth_client.refresh(refresh_token=REFRESH_TOKEN)
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/intuitlib/client.py", line 157, in refresh
send_request('POST', self.token_endpoint, headers, self, body=urlencode(body), session=self)
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/intuitlib/utils.py", line 95, in send_request
raise AuthClientError(response)
intuitlib.exceptions.AuthClientError: HTTP status 400, error message: b'{"error":"invalid_grant","error_description":"Incorrect or invalid refresh token"}', intuit_tid 1-xxxx9 at time Mon, 22 Dec 2025 13:16:02 GMT
Activity
Keep the refresh token current when Intuit rotates it (routablehq#397)
Keep the refresh token current when Intuit rotates it (routablehq#397)