---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/30540#article
headline: "30540: Double opt-in confirmation message is required"
url: https://www.twilio.com/docs/api/errors/30540
inLanguage: en
dateModified: 2026-09-14T16:28:48.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 30540: Double opt-in confirmation message is required

Log Type: APPLICATION

Log Level: ERROR

## Description

This error applies to both Toll-Free Verification and A2P 10DLC registration.

You must provide the confirmation message that is sent to users after they double opt in to your messaging program.

### Possible causes

* The double opt-in confirmation field is empty.
* The confirmation message is missing required compliance disclosures.

### Possible solutions

* Provide a double opt-in confirmation message that includes the brand name, program name, a "message and data rates may apply" disclosure, and help and opt-out disclosures, then resubmit.

### Additional resources

* [A2P 10DLC Campaign Onboarding Guide](https://help.twilio.com/articles/11847054539547-A2P-10DLC-Campaign-Approval-Best-Practices)
* [Toll-Free Verification Onboarding Guide](https://help.twilio.com/articles/13264118705051)
