#sunnylbk

1 messages · Page 1 of 1 (latest)

silent martenBOT
mild fox
sudden fjord
#

Can you share the example event ID where you're seeing this?

#

please share the ID in text

mild fox
#

evt_1O6vTIFKFPocJAeMQVLRhqgb

sudden fjord
#

Was the event generated before or after you updated the API version?

mild fox
#

after updating

sudden fjord
#

thanks, asking a colleague to take a look too

mild fox
#

cool

#

Right now, I don't see any events being published

hollow owl
#

👋

#

Looks like you are resending Events here instead of creating new ones.

#

That Event was originally created before you updated your API Version.

#

When you resend Events we just resend the snapshot that was already created initially. The API Version won't change on resends.

#

Try generating a new Event and let me know if you still don't see the updated API Version

mild fox
#

got it

#

as I posted above, currently I am not seeing any events getting generated

hollow owl
#

How are you attempting to generate events?

#

Ah wait

#

You said I am seeing some errors due this api version mismatch.

#

Looks like you are using our Go library, yes?

#

Oh looks like you are on the latest version so that should be fine.

#

Can you tell me more about the errors you are seeing?

#

And what you mean by:

currently I am not seeing any events getting generated

mild fox
#

We ahve connect onboarding flow integrated into the app. In test environemnt, when someone updates their connected account, Stripe was posting account.updated event earlier

#

I am triggering the account update workflow in the app

#

Yes, using the latest golang library

hollow owl
#

Can you give me the Account ID that you are testing that flow with?

mild fox
#

acct_1O6tK3FKFPocJAeM

hollow owl
#

Yeah that is the account related to the Event above. So you went through the flow too early on that account -- prior to update.

#

Can you test again with a fresh test account?

mild fox
#

oh ok

#

does this mean that, for our existing accounts we will receive events with older version?

hollow owl
#

New Events will be generated with the new API version

#

But if you resend Events then those will use the old API version from when they were initially created.

#

The account itself doesn't matter.

#

It matters about the API Version of your Webhook endpoint at the time of Event generation

mild fox
#

Triggering app workflow should resent new event, correct?

hollow owl
#

It should create a new Event, yes.

#

Assuming you are onboarding a new account in that flow?

mild fox
#

currently, not receiving any events

#

yes

hollow owl
#

Like I don't know what:

Triggering app workflow
entails

#

This is your app...

#

Can you share the new Account ID that you just tested with?

mild fox
#

didn't yet create a new account, doing that

hollow owl
#

Oh, okay well do that first and then let me know if there aren't any Events generated

mild fox
#

ok, got the events with the new account

hollow owl
#

Great

mild fox
#

to confirm again, this will not affect our existing customers events, correct?

#

they will now sent with new version?

hollow owl
#

That's correct

#

It is based on the API Version of your Webhook endpoint

#

Which you have matched to your account's default

#

So it will use the default version on the account, which is now the newest version