---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/30038#article
headline: "30038: OTP Message Body Filtered"
url: https://www.twilio.com/docs/api/errors/30038
inLanguage: en
dateModified: 2026-03-26T06:28:41.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 30038: OTP Message Body Filtered

Log Type: APPLICATION

Log Level: ERROR

## Description

Twilio detected an OTP in the inbound message body. Twilio redacts the passcode and marks the message failed to help prevent abuse of Twilio numbers.

### Possible causes

* The incoming message contains a one-time passcode or similar verification code.

### Possible solutions

* If you are using a Trial account and need to receive inbound OTP messages, upgrade your account.
* Use a different message template while you stay on Trial.
* Contact Support if you need additional help.

#### Additional resources

* [Programmable Messaging](/docs/messaging)
* [Verify SMS overview](/docs/verify/sms)
* [Preventing Fraud in Programmable Messaging](/docs/messaging/guides/preventing-messaging-fraud)
