Problem: Twitch guarantees at least one webhook. If OK responses are sent too late, or in certain situations where Twitch believes you did not get the webhook event, it will resend the webhook. This could lead to duplicate events being processed.
Solution: Create logic for de-duplication of matching msg_id values by reviewing retries in the payload POST from Twitch and/or create a deduplication cache which keeps track of msg_id values.
Additional Scope Enhancements: Custom TTL value for deduplication cache.
Problem: Twitch guarantees at least one webhook. If
OK
responses are sent too late, or in certain situations where Twitch believes you did not get the webhook event, it will resend the webhook. This could lead to duplicate events being processed.Solution: Create logic for de-duplication of matching
msg_id
values by reviewingretries
in the payload POST from Twitch and/or create a deduplication cache which keeps track ofmsg_id
values.Additional Scope Enhancements: Custom TTL value for deduplication cache.