IOSOR Learn
Submit vs Receipt Correlation ID Mismatch Detection
Operators troubleshoot message tracking failures when submit API responses and delivery receipts carry divergent correlation IDs, breaking end-to-end observability and requiring partner route comparison for ID propagation consistency.
Lead Telecom & Routing Architect · Lausanne, CH
When a submit API response returns one correlation ID but the subsequent delivery receipt carries a different identifier, end-to-end message tracking collapses. Operators must verify ID propagation across every hop — submit acknowledgment, carrier handoff, and final DLR webhook — to isolate where the divergence originates.
Correlation ID Lifecycle Validation
Confirm the submit response includes a stable correlation_id that persists through carrier acceptance. Log the exact payload fields: message_id, provider_ref, and any custom tracking tokens. Compare these against the DLR webhook payload to detect substitution or truncation at the carrier gateway.
Webhook Payload Structure Audit
Inspect DLR webhook bodies for correlation_id presence, naming consistency (snake_case vs camelCase), and encoding anomalies. A missing or renamed field often indicates middleware transformation. Capture raw HTTP headers and body for at least 50 consecutive deliveries per route to establish a baseline.
Sender and Template Gate Interference
Verify that sender ID overrides or template substitution logic do not strip or rewrite correlation identifiers. Some partner routes inject their own message_id at the template rendering layer, discarding the original submit token. Document each gate's transformation rules in a decision matrix.
Latency and Ordering Anomalies
Measure the time delta between submit acknowledgment and first DLR arrival. Out-of-order receipts — where a later message's DLR arrives before an earlier message's submit ack — can masquerade as ID mismatches. Use monotonic sequence numbers alongside correlation IDs to disambiguate.
Cross-Reference with Carrier Error Normalization
Correlate ID mismatches with normalized carrier error codes to distinguish propagation failures from genuine delivery failures. A mismatch paired with a transient carrier code (e.g., throttle, queue full) suggests the receipt belongs to a retry attempt with a regenerated ID.
Start with IOSOR
Run a partner route comparison for your channel and corridor at Compare Routes to verify which providers preserve submit correlation IDs through to final DLR. Checklist: 1) Submit 10 test messages per route capturing raw submit response and DLR webhook. 2) Diff correlation_id fields byte-for-byte. 3) Flag routes with >0% divergence. 4) Review middleware transformation logs for flagged routes. 5) Escalate non-compliant routes to partner engineering with payload evidence.
- Auditing Carrier Error Code Normalization Gates.
- Auditing Cross-Channel Status Callback Discrepancies.
- Error Reference MT LR Temporal Correlation Gaps.
IOSOR takeaway
Confirm the submit response includes a stable correlation_id that persists through carrier acceptance. A mismatch paired with a transient carrier code (e.g., throttle, queue full) suggests the receipt belongs to a retry attempt with a regenerated ID (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Suppression List Error Code Precedence: Audit Before Route Comparison
Resolve which code wins when suppression, upstream provider error, and channel rejection collide, then compare partner routes whose error contracts match your governance.
- Detecting Failover Route Drift in Error-Reference Code Contracts
How ops teams verify that failover routes preserve error-reference semantics after provider or corridor changes, using partner route comparison to prove error-code parity.
- Carrier Maintenance Windows: Mapping Error Codes to Failover Decisions
Classify carrier error codes as maintenance-window, true route failure, or ambiguous deferral, then choose failover vs retry with verification criteria.












