#steven_code

1 messages ยท Page 1 of 1 (latest)

covert acornBOT
humble oarBOT
#

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.

covert acornBOT
#

๐Ÿ‘‹ 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/1239372707146240011

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

dark hare
modern lily
#

Could you share the request ID (req_xxx) of the error?

dark hare
#

do you know where I can find it? i cannot seem to find it under Developer Logs

modern lily
#

If itโ€™s not found in developer logs, could you share your account ID, so that I can check the logs internally?

dark hare
#

acct_1OJVIHD3pUreumEP

modern lily
#

I don't find any request history associated to your account on this endpoint. Can you share the full response that you log under Full Stripe Response?

dark hare
#

that is very weird, it didn't recive a response. this is what I received

#

Function execution started
2024-05-13 10:22:55.989 AEST
stripeOAuthhwslp6p3v5qf Received code: XXXXX (idk if I should be revealing this)
2024-05-13 10:22:55.989 AEST
stripeOAuthhwslp6p3v5qf Received state: sKq8bICcZuMCiVismEfp
2024-05-13 10:22:56.144 AEST
stripeOAuthhwslp6p3v5qf Function execution took 158 ms, finished with status code: 500

#

in the past when we were testing, it had the following logs

Function execution started
2024-05-10 00:03:08.422 AEST
stripeOAuthr048zuygkzqx Received code: XXXX
2024-05-10 00:03:08.422 AEST
stripeOAuthr048zuygkzqx Received state: 7n0liFSEtyLTjIaNAzaX
2024-05-10 00:03:08.916 AEST
stripeOAuthr048zuygkzqx Full Stripe Response: {
2024-05-10 00:03:08.916 AEST
stripeOAuthr048zuygkzqx "access_token": "XXXXXX",
2024-05-10 00:03:08.916 AEST
stripeOAuthr048zuygkzqx "livemode": true,
2024-05-10 00:03:08.916 AEST
stripeOAuthr048zuygkzqx "refresh_token": "XXXXX",
2024-05-10 00:03:08.916 AEST
stripeOAuthr048zuygkzqx "token_type": "bearer",
2024-05-10 00:03:08.916 AEST
stripeOAuthr048zuygkzqx "stripe_publishable_key": "XXXXXX",
2024-05-10 00:03:08.916 AEST
stripeOAuthr048zuygkzqx "stripe_user_id": "acct_15F9LDHjVuCTm20n",
2024-05-10 00:03:08.916 AEST
stripeOAuthr048zuygkzqx "scope": "read_write"
2024-05-10 00:03:08.916 AEST
stripeOAuthr048zuygkzqx }
2024-05-10 00:03:09.689 AEST
stripeOAuthr048zuygkzqx New Stripe account added to the stripeAccounts subcollection
2024-05-10 00:03:09.699 AEST
stripeOAuthr048zuygkzqx Function execution took 1290 ms, finished with status code: 302

modern lily
#

Thanks for sharing! I'd recommend removing authorization code just to be safe (even though it can only be used once and will get expired after 5 mins)

dark hare
#

thanks for the tip ๐Ÿ™‚

modern lily
#

I'm still trying to check if I can find anything

dark hare
#

it's weird there's no log of requests...

modern lily
#

At data.error if case, can you log the full data? Not just data.error_description?

dark hare
#

sure, let me do it now.

#

I think it is the Last line that is triggering

} catch (error) {
res.status(500).send(Server Error: ${error});
}
});

modern lily
#

In the past 24 hours, there is no request history made on /oauth/token on acct_1OJVIHD3pUreumEP. The request likely didn't make to Stripe and the error wasn't returned from Stripe, but somewhere within your server

dark hare
#

removing v2 still doesn't work...

modern lily
#

What issue did you face? When I clicked the link, the URL loaded fine for me

dark hare
#

yes, it's when I connect an existing Stripe account

#

and no data was logged related to the connected account

modern lily
#

What is the connected account ID (acct_xxx) you attempted to connected from?

From https://docs.stripe.com/connect/oauth-reference:

Starting in June 2021, Platforms using OAuth with read_write scope wonโ€™t be able to connect to accounts that are controlled by another platform.

I'm wondering if this is the reason

dark hare
#

it is acct_1OMPGoEqBHkpYro9

#

^ the acct im testing to connect

modern lily
#

I'm unable to find out what causes the error. Can I suggest you writing to Support https://support.stripe.com/contact with the video of the error when you attempt to connect and account ID (both platform and connected account), so that we can check with the relevant team?