#ben_api
1 messages · Page 1 of 1 (latest)
👋 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/1311061408787468359
📝 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.
Hi, I'm unable to access that request id. It sounds like the accounts are not connected.
I thought that but in the connected test account, it says it is
so you can see it was connected again at 18:03
but i appear to now bw unable to disconnect it, previously it seems OK based on these logs
What's the connect account id
error indicates acct_1O4mLkKCc0YxVqNU is the platform, so what's the account you're trying to deauth?
I'm confused what you're trying to do
You want to disconnect an account from a platform?
Then what's the platform's id?
acct_1O4mLkKCc0YxVqNU is not currently connected to any platform
i am testing disconnecting stripe from a users account, which should remove the oauth from our platform to the stripe account.
ok well acct_1O4mLkKCc0YxVqNU is not connected to any account
if you're saying that is the connect account
that doesnt make sense to me as if you look at the screenshot above, the historyr of that account says it is connected?
Then maybe you're sharing the wrong id?
I see in the logs oauth token was consumed twice, which disconnected it from the platform automatically
(sorry im on phonre at same time so im really sory if my info is poor atm)
ok so when you say the token was consumed twice, what does that mean and how could that happen?
ohhh...
oh now...
ok so if the same token attempts to be used twice, that automatically causes stripe to deauth it?
yeah
Per OAuth v2, this endpoint isn’t idempotent. Consuming an authorization code more than once revokes the account connection.
ok i know whats causing this now, thank you! I was not aware of this (its a react dev issue as in strict mode useffect callbakcs are triggered twice