#gary_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1258098513896800307
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Hello! Idempotency keys need to specified in the headers of the request, not in the body. It sounds like you need to adjust your code to accomidate a syntax change in the newer SDK.
Can you share the code used to make that request?
Ah, wait, did you upgrade to 4.0.0 specifically?
If so, there's a fix for this issue in 4.0.1: https://github.com/stripe/stripe-python/blob/master/CHANGELOG.md#401---2022-08-02
Yes, I have upgraded to 4.0.0 and it worked with 3.0.0
Let me check
Ah that may be it, let me try 4.0.1
I strongly recommend you upgrade to the last 4.x version, not 4.0.0. There are a lot of fixes and improvements between 4.0.0 and 4.2.0.