Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


I am getting invalid refresh token for one specific user. For other users, it's working fine. Why?

I have many users with using our OAuth consumer, but for one specific user I am getting Invalid refresh_token, but there was nothing different about the way we have done it for that user. Please let me know what can be the possible reason?

1 answer

1 accepted

0 votes
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 07, 2023

Hello @Nitesh Chandel ,

Welcome to Atlassian Community!

The refresh_token doesn't really have an expiration. The only way a refresh_token would become invalid is if the scope of the OAuth Consumer was edited, or if the OAuth consumer was deleted.

If the OAuth consumer was edited a new refresh token will be generated, and the previous refresh token as well as any previous access token will be revoked and cannot be used anymore.

With that in mind, I would like to ask the following :

  • Is the user with the failing request using the exact same refresh token as the user that got a successful request?
  • Was there any change in the OAuth Consumer during this time that might have caused the refresh token to change? 
  • What is the exact command/API call the user is using to get a new access token using the refresh token? 

Thank you, @Nitesh Chandel !

Patrik S

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events