#adys
1 messages · Page 1 of 1 (latest)
not sure what you mean by "api gateways" in context. If you're asking how to handle this, you would use exponential backoff and retry the request a little later.
I am trying to track down why those 429's are happening at all, before we handle them. i haven't seen such lock timeouts in the dj-stripe webhook handlers before
the docs link in the error (https://stripe.com/docs/error-codes/lock-timeout and -> https://stripe.com/docs/rate-limits#object-lock-timeouts ) explains why they happen
it's super vague; "another stripe process is accessing it" -- which one, is what Im trying to drill down to
I don't think you can, you don't have visibility on everything happening on the account
re api gateways, I'm mentioning 2022-08-01, 2022-11-15 and 2023-08-16, I'm just thinking if any of the backwards compatibility layers it goes through could make a lock more likely
maybe
those are all internal details though and don't matter to you so I don't really understand. You would just retry the request.
sure, and it's what's happening, but customer wants to really understand why those locks are happening.
"it's because there's something invisible inside of stripe doing things and it's harmless" is a valid answer as long as i know it is the answer 🙂
if they want to know they can ask support
but we're not going to say much more than just what's in the docs
would support actually have visibility on this?
of course
I work in support, I answer support tickets and I've dug into our internal logs to see what requests are conflicting with what, many times in the past. I'm just not getting into that detail on Discord, and it's not necessary here because ultimately as the developer of a plugin you don't control or have liability for this, you would just retry the request if it fails
I assume you're involved in dj-stripe in some way. I don't know. if you have a relationship with someone at Stripe like in our partner program or devrel you could try to get technical resources from them if there's a concern that the patterns your plugin uses contribute to lock timeouts but that's a deeper investigation than what Discord is for
if you're a merchant , write to support to dig into internal details of specific failed requests or deeper investigations. If you have specific developer API/coding questions we can answer on Discord
I'm both the maintainer and a consultant for this particular stripe account, trying to debug their issue.