#atilla_api

1 messages ยท Page 1 of 1 (latest)

lavish cairnBOT
#

๐Ÿ‘‹ 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/1370036497625124955

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

wind storm
#

Hey ther,e can you provide me with an example event you're observe with the wrong version?

tepid stirrup
#

all of them are on the wrong version

#

its using the default i'm sure , but should use the version setup in the webhook

#

so maybe a small bug on stripe side?

wind storm
#

Can you copy paste the event id? evt_123

tepid stirrup
#

evt_1RMUcCJVbFQb3xmWUiU8P7Aj

#

we_1RMEBfJVbFQb3xmW3k5aGJjD

#

gived also the webhook id

wind storm
#

So the delivery i see for that event for that endpoint is using 2025-04-30.basil API version:

"id": "evt_1RMUcCJVbFQb3xmWUiU8P7Aj",
  "object": "event",
  "api_version": "2025-04-30.basil",
  "created": 1746711355,
  "data": { ... }

and you responded to this with a 200 success status but a body that looks like an error:

{"error_message":"Please set activate latest mode before using this endpoint."}
tepid stirrup
#

my bad than

#

so what the api version represents in the event? who trigger it?

wind storm
#

Each delivery to an endpoint will include the api_version of the event/payload for the endpoint

#

who trigger it?
Wha do you mean by this?

lavish cairnBOT
tepid stirrup
#

i sent this image before

#

so the api versision is 2020 but as you pointed out when you look into the payload is 2025

#

it should be fine on my side like this

wind storm
#

That does seem to be incorrect for the endpoint you're looking at

#

I can file feedback about this, but the actual delivery used the configured api version for the endpoint

#

This appears to be a bug in the workbench

tepid stirrup
#

yes

#

a ticket was created also about this, if you can find to closed

wind storm
#

I can use that to file the feedback ๐Ÿ™‚

tepid stirrup
#

starts same "i setup a new webhook with latest api version, but the events sent"

#

as you wish

#

thank you, i'm all sorted now