#brianp-events-list

1 messages ยท Page 1 of 1 (latest)

carmine thornBOT
lapis prawn
#

Sorry I meant it was delivered to the webhook endpoint with version 2022-11-15

limpid widget
#

Hi, can you clarify what what the expected behavior is here? You mentioned 3 different days here

#

I see the above, we sent at the same time.

lapis prawn
#

I made a request to GET /v1/events and the expected behavior is that it should have responded with events with api_version 2022-11-15.

limpid widget
#

Last question, where are you seeing that 'evt_1Mroy5LGmb2h8RE1rVerptxd is sent with the api_version 2020-08-27.'? Can you add more clarify here?

lapis prawn
#

But it returned an event evt_1Mroy5LGmb2h8RE1rVerptxd with api_version 2020-08-27 instead

#

Yes that is correct. It is responding with the correct event, but the api_version is incorrect so it cannot be parsed by the java client.

scenic nest
#

When you call the List Events API, it is impossible for it to "re-render" the content of the Event with an API version different than the one it was created with originally

lapis prawn
#

This is happening for all requests to GET /v1/events. It is returning events with api_version:2020-08-27.

scenic nest
#

it's something that people get confused about a lot unfortunately but it is expected behaviour

#

brianp-events-list

lapis prawn
#

Ok but these events should be created for a webhook that is on the 2022-11-15.

I have a disabled webhook that is on 2020-08-27

scenic nest
#

So if you have Event evt_123 generated last week with 2020-08-27 and today you want to use the API version 2022-11-15, it will never be able to return based on that version

#

yeah but your account's API version is likely 2020-08-27

lapis prawn
#

How do I upgrade my account's API version? Do I need to do something in addition to updating the java library?

scenic nest
#

yeah you can upgrade it in the Developers tab in Live mode on your account. But make sure your entire integration is ready for this change

lapis prawn
#

Is the setting available in test mode?

scenic nest
#

no because it's global on the entire account so we only let you change it in Live mode

lapis prawn
#

That makes it very difficult to do an api change without testing it first.

#

Ok Thanks. I think I understand what I need to do. I can do the api change over the weekend ๐Ÿ™‚

scenic nest
#

yay

#

sorry this is so confusing ๐Ÿ˜ฆ

#

in theory we should be like "oh wait we have that Event for version A (default) and B (webhook endpoint version), they ask for B, let's render that". But we don't