PPaT Wiki
Ngā tuhinga whakamāramaPuna mātaurangaHuinga kōreroPae rangitakiWhakapā mai
Reo: Te reo Māori
  • English
  • Nederlands
  • Karen (S'gaw)
  • Français
  • Deutsch
  • Lea faka-Tonga
  • Te reo Māori
Pātai atu ki te hapori
  1. Huinga
  2. Ngā whakaurunga

E wātea ana tēnei whārangi ki te reo Pākehā anake.

Kua whakautuaapiwebhooks

Webhook deliveries arriving twice

Ravi S.10 Hep 20261389

We are occasionally seeing the same event delivered twice, with the same event id. Our handler creates a record each time, so we end up with duplicates.

1 ngā whakautu

  • Whakautu kua whakaaetia

    T

    Tomas L.

    Integrations

    Duplicate delivery is expected, not a fault. Delivery is at-least-once: if a response is slow or a connection drops after we sent the request but before we read the reply, the event is retried even though you did receive it.

    The event id is there precisely so you can make the handler idempotent — key on it, and ignore an id you have already processed.

    Returning 200 quickly and doing the work afterwards also reduces how often it happens, since most duplicates are caused by a handler that took too long to answer.

Kāore anō kia whakaaetia te tuku whakautu. Whakapā atu ki te tautoko i tēnei wā.

PPaT Wiki

He tuhinga, he pātengi raraunga mātauranga, he tautoko ā-hapori hoki mō People and Tasks.

Tuhinga

  • Te tīmatanga
  • Ngā ariā matua
  • Ngā tuituitanga
  • Tohutoro API

Tautoko

  • Pātengi raraunga mātauranga
  • Huinga ā-hapori
  • Whakapā mai
  • Tūnga ratonga

Kamupene

  • PaT
  • Tuhinga rangitaki
  • Ngā Ture
  • Tūmataitinga

© People and Tasks. Kua rāhuitia ngā motika katoa.