#kamran-request-locktimeout
1 messages · Page 1 of 1 (latest)
kamran-request-locktimeout
@tepid creek usually that means you have multiple requests in parallel touching the same object and you need to make sure you avoid this
alright.
I think in this case you tried to call the Retrieve Invoice API but something else was "locking" that Invoice (likely during a payment attempt) and so in that case you can do exponential back off/retries
https://stripe.com/docs/rate-limits#object-lock-timeouts is a better explanation
how can i avoid this issue as i am not Retrieving Invoice API in my code its the process of stripe or djstripe
It's definitely your code. It might be djstripe but it's still code running on your server. You'd need to look into handling errors, catching that specific error and deciding what to do there