#skoshkarli
1 messages · Page 1 of 1 (latest)
Can you share the code you're using for both requests?
curl -G https://api.stripe.com/v1/products
-u MY_KEY_HERE:
-d limit=3
curl https://api.stripe.com/v1/products/prod_MjJIiKpKm6MEmM
-u MY_KEY_HERE:
using the same api key for both
What api version are you on?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
2020-08-27
Can you try passing the latest with -H "Stripe-Version: 2022-11-15"
ok that works
but upgrade guide doesn't show any incompatibility with that
and as far as i know this feature was there before
Interesting
Let me ask a colleague about this. It might just be a curl thing
Can you first try with one of the client libraries on your account's default api version?
In whichever language you prefer
so i do use :
stripe.products.list({
limit: 1,
active: true,
});
with 2020-08-27
and that works i know
seems to be
Ok thanks. Let me check with some folks and get back to you. Likely a bug
ok
Can you share request id's for the request that isn't returning results on your account's default version and a request id for it returning results on the latest version?
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
oh interesting
so i went to my logs
and i see that its using a really old api version when i do a curl
i thought it would fall back to our account api version or smth
Ah ok that explains it