#allan-egidio_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/1436027431575224400
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, these 4 requests are all using different idempotency key. From choosing a random example here, https://dashboard.stripe.com/acct_1PXomqS5MCZY2pF9/test/logs/req_qWX7azAWzJqSXi succeeded at 2025-11-06 16:15:57 UTC. Then, at 2025-11-06 16:16:01 UTC you made another request: https://dashboard.stripe.com/acct_1PXomqS5MCZY2pF9/test/logs/req_5RSzpQy3Kl576c with the same body.
You'd want to look at your code and see why you're making these requests repeatedly
How? Can you say more please?
I'm adding items to invoice of my customer.
The invoice are similar because it is test data but they have for example the metadata different
For example, this one https://dashboard.stripe.com/acct_1PXomqS5MCZY2pF9/test/workbench/logs?selected=req_YNPjjKXcKtk5UA failed because of idempotency_key_in_use=31qne4stbtqhkg8bcg0001l4 but I'm not fiding the other request using this same idempotency key
Hi there
Yeah you made the exact same request here: https://dashboard.stripe.com/acct_1PXomqS5MCZY2pF9/test/logs/req_IF0cboWiWXDgf9
All right, I was looking for the both requests.
Thank you gonna check it
So that request took 6 seconds
So it was still in progress when you made req_YNPjjKXcKtk5UA
That's why you get a "There is currently another in-progress request using this Idempotent Key (that probably means you submitted twice, and the other request is still going through): 31qne4stbtqhkg8bcg0001l4. Please try again later." error
so I really made two requests with the same idepotency right
Yes
And you made the second while the first was still in progress
Hence the error