Investigate SMS OTP delivery failures with controlled experiments before blaming carrier filtering or changing sender registration. For a developer tool delivering an account signup link, the deciding constraint is whether a test can distinguish a delivery problem from an application decision. A change that improves a dashboard without answering that question teaches very little.
Short answer: SMS OTP delivery can fail along a path that includes sender eligibility, carrier filtering, routing, and anti-fraud decisions. Separate those hypotheses. Review US A2P 10DLC registration within its documented scope, establish destination-specific requirements for European traffic, and compare one configuration change at a time. An unfinished signup alone does not identify which mechanism intervened.
Before: a verification link never gets used, so someone changes the sender and requests another send.
After: an explicit hypothesis, a controlled contrast, and an outcome that can disprove the proposed explanation. The 3 experiments below are a teaching plan, not measured results or a prescribed production test volume.
Change one thing.
Diagram in words: signup request → approved test condition → sending adapter → available delivery evidence → link completion. Attach an experiment label to the journey. Keep the verification credential out of that label. The same diagnostic method applies to an OTP for 2FA login; for legal intake verification, define separately what completing the challenge actually establishes.
Why can SMS OTP delivery fail despite sender registration and carrier filtering checks?
Start with the rival explanation. If the application's anti-fraud decision prevents a submission, that attempt cannot demonstrate a downstream carrier rejection. If a submission is accepted but no delivery report arrives, the missing report leaves the cause unresolved. Neither observation establishes filtering. This distinction makes the experiment useful: a hypothesis needs an observation that could contradict it.
Sender registration supplies a concrete place to begin. The US A2P 10DLC documentation addresses application messaging over US ten-digit long codes. Review the applicable brand and campaign registration for that sender configuration. Registration is a scoped configuration requirement; it does not establish that a particular signup completed. Do not extend that US rule to every sender type or an entire European region. Before testing an EU destination, put the applicable destination and sender requirements, with their authoritative source, in the test record. The references here do not supply a country-by-country European rulebook.
Shared routes introduce a different question: what can the integration actually reveal? A proposed route experiment needs a documented route distinction. If the adapter exposes none, mark that contrast unavailable. Renaming two local configurations does not establish two independent transport paths, and comparing them cannot support a claim about shared-route effects.
That is a useful failed experiment design. Catch it before sending.
The following matrix defines proposed tests for an authorized signup test account. Each row changes a different variable. Keep message purpose and verification behavior consistent within a comparison; record any unavoidable differences instead of burying them in an aggregate result.
| Experiment | Controlled contrast | Observation to collect | Boundary on the conclusion |
|---|---|---|---|
| Sender configuration | Reviewed registration configuration versus the candidate configuration, where testing is permitted | Documented submission result and configuration revision | A registration response explains that response; it does not prove link completion |
| Route configuration | Two documented route configurations, if exposed | Route identifier and documented reports for each attempt | No exposed distinction means no supported route comparison |
| Application policy | Allowed and denied synthetic fixtures in an isolated test | Policy decision and whether the adapter was invoked | A local denial establishes an application block, not a carrier event |
This favors diagnostic clarity over testing every combination. The trade-off is coverage: after a single-variable comparison, a later test may still be needed for interactions. Keep that limitation attached to the result.
Encode the experiment before collecting the result
Here is a small TypeScript exercise for the test harness. It makes the hypothesis falsifiable without inventing a carrier error taxonomy. All names and fixtures are local to the example. No external API is called.
type Trial = {
fixture: string;
configuration: string;
policy: "allow" | "deny";
submission: "not_attempted" | "accepted" | "rejected";
report: "absent" | "delivered" | "failed";
linkCompleted: boolean;
};
function assessCarrierHypothesis(trial: Trial): string {
if (trial.policy === "deny") {
return trial.submission === "not_attempted"
? "Application blocked submission; no carrier test occurred."
: "Fixture contradicts policy; investigate the test harness.";
}
if (trial.submission === "not_attempted") {
return "No submission observed; carrier hypothesis untested.";
}
if (trial.submission === "rejected") {
return "Inspect the documented rejection reason before classifying.";
}
if (trial.report === "absent") {
return "Accepted submission; delivery cause remains unknown.";
}
if (trial.report === "failed") {
return "Failure report observed; inspect its documented meaning.";
}
return trial.linkCompleted
? "Delivery report and link completion observed."
: "Delivery report observed; investigate the unfinished signup.";
}
const fixture: Trial = {
fixture: "developer-tool-signup-link",
configuration: "sender-review-1",
policy: "allow",
submission: "accepted",
report: "absent",
linkCompleted: false,
};
console.log(assessCarrierHypothesis(fixture));
// Accepted submission; delivery cause remains unknown.
Run the example with a denied fixture and no submission next. Its answer changes because the application prevented the test from reaching the transport. Now change only report to failed in the original fixture. The answer still refuses to name carrier filtering: that attribution needs the source's documented reason. Nice. The harness teaches the same restraint the operational dashboard needs.
The function interprets a fixture; a production collector has additional responsibilities. Define how the adapter's documented events map into these fields, authenticate incoming reports, and preserve original observations when reports conflict. Keep challenge completion attached to the challenge if an individual send cannot be identified. Otherwise, a resend can accidentally become another supposedly completed signup.
For logs, retain the fixture label, configuration revision, and an internal correlation identifier. Exclude the usable link, OTP, and full phone number. For metrics, keep separate measures for submitted attempts and completed challenges, with an explicit observation window. Their denominators answer different questions.
Deployment deserves its own check: replay the synthetic fixtures against the candidate adapter mapping before enabling it. A renamed failure category should not create an apparent improvement. Alert on a defined test expectation, such as a denied fixture invoking the adapter, and assign that failure to the application owner. Set operational delivery alert thresholds from the signup deadline and observed traffic; this example supplies no universal timeout or baseline.
Does a successful test prove registration fixed delivery?
No. A successful controlled attempt supports a narrower statement: that attempt produced the recorded outcome under that configuration. To attribute a difference to registration, the comparison must isolate the relevant configuration change and retain enough evidence to evaluate competing explanations. A single completed signup is a useful check, but it cannot describe every destination or routing condition.
Keep the experiment record short enough to review: hypothesis, changed variable, unchanged conditions, observed result, and unresolved alternatives. Registration remains an eligibility review for the applicable sending setup. Carrier filtering remains a diagnosis requiring supporting evidence. Don't relax anti-fraud controls in production merely to make the completion graph rise; exercise policy contrasts with isolated fixtures instead.
Can another send or email replace the experiment?
A recovery path serves the user. An experiment serves the diagnosis. Record both when offering a resend, because a successful later attempt does not explain the earlier failure. Keep attempts associated with the original challenge and define which links remain valid.
Email can be evaluated as a separate verification path when the signup policy permits it. The email reference describes a sending service; it does not establish that email and phone verification provide interchangeable assurance. For legal intake, the completion record must support the claim attached to the intake rather than silently upgrading channel access into proof of identity.
There is an operational cost to these controls: more test fixtures, reviewed mappings, and investigation records. Use them where the result changes a sending or verification decision. For a developer tool's signup link, finish the review with a supported explanation or an explicitly unresolved hypothesis, plus the next controlled test. That gives the team something concrete to learn from the next attempt.
References
- US A2P 10DLC registration and compliance scope: https://www.twilio.com/docs/messaging/compliance/a2p-10dlc
- Email sending context: https://docs.aws.amazon.com/ses/latest/dg/Welcome.html
Top comments (0)