#subin_error

1 messages ¡ Page 1 of 1 (latest)

median basinBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1346448951477403719

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

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.

young eagle
#

hi there!

#

which API call are you making exactly?

marble cove
#

i want now how a valid api key worked in earlier payments get invalid api key.
if i sent request to return new access token via refresh token it working.

i checked that the accesss token passed is not expired and same as returned earlier

#

here iam creating a payment intent

#

sorry stripe checkout

#

iam usnig OAUth

young eagle
#

if that API key was working previously, it probabbly means that the connected account got disconnected from your platform in the meantime

#

can you share the connected account ID (acct_xxx)?

marble cove
#

if so i will not get access token while passing refresh token to retrieve access token.

#

account is not disconnected.
i checked it

young eagle
#

can you share the connected account ID (acct_xxx)?

median basinBOT
marble cove
#

yes

#

acct_1Pza6dGv07M9Hyxh

dapper scaffold
#

if i sent request to return new access token via refresh token it working.
So if you refresh the access token, it's working?

marble cove
#

yes

#

but old token not working, before refreshing to get new one.
but the token not expired.

#

time of one of the failed request : 2025-03-04T08:32:43+00:00
time of refresh the access token : 2025-03-04T08:01:31+00:00

dapper scaffold
#

It seems like the refresh happened before the request ☝️

#

So it's expected.

marble cove
#

no
2025-03-04T08:01:31+00:00 is the time i got a access token i used it on request at 2025-03-04T08:32:43+00:00 and it return error , invalid api key.

then i sent request to refresh access token on 2025-03-04T08:36:05+00:00
and after that it worked.

i got the same issue eralier today.
i shared one of the incident.

dapper scaffold
#

Are you sure you're passing the newly created key?

#

How are you refreshing the token exactly?

marble cove
#

yes

#

uding stripe app

#

'refresh_token' => sanitize_text_field($refresh_token),
'grant_type' => 'refresh_token',

median basinBOT
static loom
#

Hey! Taking over for my colleague. Let me catch up.