#skoshkarli

1 messages · Page 1 of 1 (latest)

balmy atlasBOT
supple steppe
#

Can you share the code you're using for both requests?

quick hemlock
#

using the same api key for both

supple steppe
#

What api version are you on?

quick hemlock
#

2020-08-27

supple steppe
#

Can you try passing the latest with -H "Stripe-Version: 2022-11-15"

quick hemlock
#

ok that works

#

but upgrade guide doesn't show any incompatibility with that

#

and as far as i know this feature was there before

supple steppe
#

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

quick hemlock
#

so i do use :

#

stripe.products.list({
limit: 1,
active: true,
});

#

with 2020-08-27

#

and that works i know

supple steppe
#

Got it

#

So it's just curl then?

quick hemlock
#

seems to be

supple steppe
#

Ok thanks. Let me check with some folks and get back to you. Likely a bug

quick hemlock
#

ok

supple steppe
#

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?

quick hemlock
#

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

supple steppe
#

Ah ok that explains it

quick hemlock
#

its using a 2014 version

#

req_e1EVFn365HSINt

supple steppe
#

Let me look

#

So looks like that account's default api version is actually 2014-09-08

quick hemlock
#

oh interesting, i wonder why

#

but its ok we can leave it as is so we dont break anything

#

i'll just make sure to include the version in my requests

#

thank you so much for helping me figure out this mystery lol