#sunnylbk
1 messages · Page 1 of 1 (latest)
Can you share the example event ID where you're seeing this?
please share the ID in text
evt_1O6vTIFKFPocJAeMQVLRhqgb
Was the event generated before or after you updated the API version?
after updating
thanks, asking a colleague to take a look too
👋
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
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
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
Can you give me the Account ID that you are testing that flow with?
acct_1O6tK3FKFPocJAeM
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?
oh ok
does this mean that, for our existing accounts we will receive events with older version?
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
Triggering app workflow should resent new event, correct?
It should create a new Event, yes.
Assuming you are onboarding a new account in that flow?
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?
didn't yet create a new account, doing that
Oh, okay well do that first and then let me know if there aren't any Events generated
ok, got the events with the new account
Great