Skip to main content
Question

Refresh Token expired within a day

  • May 27, 2025
  • 1 reply
  • 22 views

Forum|alt.badge.img

I had a script that would update the refresh and access token if the request wasn't successful. It worked updating the refresh / access token throughout the day yesterday. I tried running the script this morning and I was given the error:

{"error":"invalid_grant","error_description":"Refresh token has expired"}

I read that refresh tokens were not supposed to expire for 60 days. Is there a bug somewhere or do refresh tokens not remain valid for extended periods of time?

1 reply

Forum|alt.badge.img
  • Author
  • Known Participant
  • 34746 replies
  • May 27, 2025

Hey George, 

As stated here, they are valid for 1 use in a 60 day period. After that 1 use, a new refresh token is generated. 

Thanks, 

Alex, Box Developer Advocate