Skip to contentSkip to navigationSkip to topbar
Page toolsOn this pageProducts used
Looking for more inspiration?Visit the

30039: Filtered to Prevent Message Loops


WARNING: 30039

warning-30039 page anchor
MESSAGING
WARNING

This warning means an inbound message appears to be machine generated. To prevent endless messaging loops, Twilio marks the message as failed with this error code and does not POST the inbound request to your number's configured TwiML URLs.

Possible causes

possible-causes page anchor
  • The inbound message appears to be machine generated.
  • The message likely came from an automated sender or autoresponder, and replying programmatically could create a loop.
  • Your application is set up to automatically react to inbound messages with TwiML or another automated reply path.
  • Do not rely on your incoming message webhook for this traffic. When Twilio applies this warning, Twilio does not send the inbound request to your configured TwiML URLs.
  • Configure a StatusCallback URL and monitor failed message callbacks so you can detect this error code in your application.
  • If you need to respond to these messages programmatically, handle the failed callback for this error and send the reply with the Messages resource through the REST API.
  • Review any webhook or autoresponder logic that replies to every inbound message. Limit automatic replies to expected end-user traffic only.

Additional resources

additional-resources page anchor