IOSOR Learn
DLR Webhook Payload Drift: Triage Before You Swap Route Partners
When DLR webhook fields vanish or status vocabularies shift, isolate partner schema drift from your own parser regression before re-evaluating routes.
Lead Telecom & Routing Architect · Lausanne, CH
Payload drift is either a partner-side schema change or a regression in your own parser, and you must localize it with captured receipts before touching routing. Below is a field-by-field triage that keeps the DLR contract stable while you compare route partners.
Capture and diff receipts before blaming the route partner
Log raw webhook bodies verbatim plus headers, signature, and receipt timestamp for at least 72 hours. Diff the field set against your last known-good sample: missing keys, renamed fields, new status vocabulary, and timestamp format shifts (epoch seconds vs ISO vs millisecond). Store one canonical sample per partner route and per message class so a single drifted field does not contaminate the whole corpus.
Separate parser regression from real schema change
Replay the captured raw bodies through the current parser in staging. If the parser now rejects or mislabels a body it previously accepted, the drift is yours. If raw bodies genuinely changed, the partner changed the DLR contract. Check deploy and config timelines against the first drifted receipt; a parser release shortly before drift points inward, while a silent partner change without your release points outward.
Validate status vocabulary and timestamp semantics
Map every observed DLR status against your internal delivery state machine. New vocabulary like queued, expired, or partial must have an explicit mapping or it will silently fall through to unknown. Confirm whether delivered timestamps are gateway receipt or handset delivery time and whether they are monotonic. Reject receipts with future timestamps or reversed ordering until you know which side is wrong.
Gate remediation with sender and template checks
Before you reroute, confirm the drift is not tied to a specific sender ID, template, or message class. Run a controlled probe: identical body, one sender, one template, across two routes. If drift appears only on one route, it is route-specific. If it follows the sender or template, fix your normalization layer first, then re-measure.
Decide between parser fix, contract escalation, or route swap
If your parser regressed, ship the fix and replay the captured corpus until clean. If the partner changed schema without notice, open a written contract escalation with the exact diff and a remediation deadline. Only when the partner cannot commit to a stable DLR contract should you begin route re-evaluation.
Start with IOSOR
Run this comparison checklist on IOSOR /tools/brief before you swap a route partner. First, list your channel, corridor, and message class, then pull verified partners on DLR contract stability and webhook schema guarantees.
Related: PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
Log raw webhook bodies verbatim plus headers, signature, and receipt timestamp for at least 72 hours. Only when the partner cannot commit to a stable DLR contract should you begin route re-evaluation (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Webhook Signature Verification: Legacy Scheme Replay and Acceptance Gate
Audit inbound provider callbacks: decide when legacy HMAC schemes, skewed timestamps, and replay caches are safe to accept, and when to enforce a cutover gate.
- Verify MCC MNC Porting Lag Gate on Developers Routes Before Scaling
Check MCC MNC porting lag gates on developers routes before raising SMS volume, then compare verified partner routes in /tools/brief for your corridor.
- Sandbox-to-Production Webhook Replay Parity Gate for Messaging APIs
Test whether sandbox webhooks replay identical signed payloads, retry cadence, and DLR order as production — then gate the route via a partner comparison.












