#Nacio

1 messages · Page 1 of 1 (latest)

urban currentBOT
sharp pagoda
#

We generally expect a 2xx response ~immediately (within seconds)

vocal shuttle
#

Oh, seconds is fine really. When a PI completes I'm only updating a user's database column and trying to make it safe from multiple events arriving at the same time, any examples on doing that or should I take care of it myself?

sharp pagoda
#

We generally recommend sending the 2xx response to us before processing any logic on your side

vocal shuttle
#

Hmm, the examples (at least the .NET ones) showed the actual logic before it returns OK, I'd consider that better since you know when it starts failing

sharp pagoda
#

We will eventually disable the webhook if your endpoint breaks a certain non-2xx threshold within a specific time, which could impact processing of other events

#

i.e. return a 2xx to us, process your own logic and log errors separately

vocal shuttle
#

Yeah I guess that's a valid reason, alright thanks, have a great day

#

Actually while at it, is it possible to send the events again from the dashboard or would I have to handle that myself after?

#

So let's say I return 200, it fails and I log it and then want to re-send that event

sharp pagoda
#

The Dashboard won't allow retries of events where we've received a 2xx response

vocal shuttle
#

Alright, thanks again