09-27-2023 02:32 PM
I am working on making my webhook processor idempotent by storing event tokens with a TTL. Is the retry period of 12 days related to the possibility of receiving a duplicate webhook notification? In other words, can I assume that i will only ever need to store an event token for a max of slightly over 12 days to avoid duplicate events or are these two unrelated?
09-29-2023 01:21 PM
Hi @drewdrewh . I am looking into your question but need a bit more information as there are various scenarios. Can you kindly provide more details on your use case?
09-29-2023 02:05 PM - edited 09-29-2023 02:08 PM
Hi @reneemq , According to your documentation there is a concern for possibly receiving duplicate events. In order to mitigate this is I am storing the tokens of events i have successfully processed in a DynamoDb table so that if i am sent an event that is already in my database i will ignore it. I want to store these tokens for a predetermined length of time (an expiration). I want to configure this expiration window to be long enough so that i can ensure i will not receive a duplicate event anytime after expiration. Is there known window as to how long after initial creation a duplicate event may be delivered to my webhook processor? I automatically correlated this to the idea that you retry notifications up to 12 days so i assumed that to be your upper limit.
10-04-2023 11:31 AM
Hi @drewdrewh . Thanks so much for this. I will be back with more details once I relay this to our teams.
10-10-2023 11:37 AM
Hi @reneemq it also seems as if sandbox webhooks are down. This has been the case since yesterday. I have been receiving Service unavailable responses when attempting to create a webhook.