#nukesforbreakfast_unexpected

1 messages ¡ Page 1 of 1 (latest)

fossil snowBOT
#

👋 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/1478458907834847379

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

amber lava
#

I will note it seems that after some time, the retrieve request returns the expected error instead. I already had a case a couple weeks ago where the behavior changed from exclusively raising PermissionError, to instead raising a InvalidRequestError at first, and then raising a PermissionError if the retrieval was tried again ~30 seconds later.

woven ledge
#

Hi there,
let me look at that real quick...

amber lava
#

I have an open support case from the last discord thread about the behavior change, so if this turns into something that needs to get attached to a case again, you should be able to use the already open one here: sco_U0pN5SnWQwJ8hQ

I just wanted confirmation that I wasn't doing something wrong and this discord seems to give pretty quick answers.

woven ledge
#

Generally speaking I don't think you are doing anything wrong. I am pretty sure that there is a delay between your request and the acutal deletion of the connected account. But I am just looking for some more information to verify this assumption.

amber lava
#

Right, but the behavior was different a few weeks ago. It used to be an immediate 403 for the next GET request after the DELETE. Then it changed to an immediate 400 for the next GET request after the DELETE, then about ~30 seconds later it changed from 400 to 403. See this old thread: #dev-help message

Now, the behavior changed yet again to a 200 with the above response body for the next GET request after the DELETE, and then eventually it returns a 403 again after about ~30 seconds.

#

I can't keep chasing undocumented behavior changes. I've never seen this problem with seemingly random undocumented behavior changes without an API release before in Stripe's API.

woven ledge
#

That makes sense and I apologize for that. Very frustrating indeed.

#

I understand you already have a support case from the thread you just shared around the same topic?

#

I see you also responded to that case already describing that behavior.

#

I am still running an investigation about this to see if I can find some more information. Please bear with me for a moment

amber lava
#

Yes, I just wanted to make sure this isn't some one off thing with my account or my way of using the APIs.

woven ledge
#

Ok, I did some more digging and indeed that is a known issue. From what I can see, there was a change in request authentication flow which likely caused now the different response. So you didn't do anything wrong but it seems like it's us, not you.... I know the colleague who manages the prior ticket you filed is in contact with the product team.

amber lava
#

Do you have any idea of if this behavior is going to stick around longer term? I need to update my workflows if so. I already had to update them once for the 400 instead of 403 case after I was told the last behavior change wasn't going to be fixed.

woven ledge
#

To be honest, that is hard to say from our perspective. The move to the new flow is permanent from what I can see, but the actual configuration of the flow is decision of the product team. So unfortunately I can't give you a clear answer right away, but you should be able to get some more information about this through the support ticket, since my colleagues from support are in direct contact with the product team.

amber lava
#

ok, feel free to add this thread to that ticket as well. I will wait for the response to that ticket.

woven ledge
#

Already did.