#yo_123_123
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- yo_123_123-access-refresh-tokens, 1 minute ago, 15 messages
I am getting a Refresh token does not exist after calling https://api.stripe.com/v1/oauth/token with the 1 year refresh token to get a new accesss token, does it not work if the first access token I got it still valid? meaning the 1 hour hasnt passed. The refresh token is the 1 year and it was just generated, but I am on a different page in my app and I got accesss token expired before so by default I setup a request to get a new access token with the refresh token but I get does not exist
You already used that refresh token?
So I did the two authorization request first for the 1 hour refresh token then for the 1 year. I stored the 1 year refresh token, and in the other part of my app i was having trouble where the access token was expiring so I used the 1 year refresh token to ask for a new one and it gave me the does not exist error. The access token was expriring so I am not sure how to handle this
Okay let me grab someone more familiar with this flow than I am. One sec
Hey apologies, still looking in to this. Can you send the exact text of the does not exist error that you got when trying to make the call to refresh your access token?
sure one second
stripe-oauth {
error: 'invalid_grant',
error_description: 'Refresh token does not exist: rt_*****’
}
Gotcha, and just to make sure, is "rt*" a replacement for the redacted refresh token that we provided in the error message?
yes
Gotcha, I'm having trouble getting these tokens on my test account at the moment. Will get back with what I can find.
Hey @fast fern, apologies but I am still not able to test this on my account so I haven't been able to find more on what error you may be seeing here. Can you write in to support with this problem? This looks like it will need a deeper look and support can direct this question to a team that will be able to take that look
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
You can do either, if the support agent can't help over chat they can convert it to an email thread to escalate to the right team
ok perf thanks