#ivn-nieves_webhooks
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/1398342020103405662
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! What's the Request ID of the request where you got that error?
It is attached to the form
No, that's an Event ID that was successfully delivered. I need to see the Request where you got that error.
Do you mean the request log from Stripe?
If that's the case, it doesn't appear, as such we are making the request from our API using the Stripe SDK and it returns a 500 with this error.
{"errors":[{"message":"This object cannot be accessed right now because another API request or Stripe process is currently accessing it. If you see this error intermittently, retry the request. If you see this error frequently and are making multiple concurrent requests to a single object, make your requests serially or at a lower rate."}]}
Yes, that's what I mean. What's the ID of that Request? You can find it in your Dashboard.
@slate otter This is the in_1Ron0HKisS78xILJHpJYLmqN, However, the problem occurs when I perform a GET of the invoice. As you can see in the screenshot, there are no GET events in the Dashboard.
You can change that by changing the Method filter.
Where exactly did you get this erro?
When a purchase is finalized, we internally listen to the checkout.session.completed event to perform the necessary synchronizations. Among them, we need to obtain the charge.id, and we're doing this through the invoice. However, we're receiving this error frequently.
And you don't log the Stripe Request ID I take it?
No, we don't
For example this one https://dashboard.stripe.com/acct_18hXbwKisS78xILJ/logs/req_A2YudyzxiND5F6
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sorry for the delay
Cool, thanks for confirming. So the error message describes what's wrong, and how to fix it - which is to either retry if you don't get it often, or change the way you're making API calls against the same object so you're not making them concurrently.
But does Stripe use the invoice for anything in the checkout session process? Since we are not making any further requests to that object at that time
The object is accessed multiple times for updates, etc. If you implement delayed retries on that particular request that will likely solve this.
You also made an "Update" API call on that object as well. https://dashboard.stripe.com/logs/req_KLg0WAbVpPZvZs
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.