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

19025: Channel validation error


ERROR: 19025

error-19025 page anchor
ERROR

Twilio returns this error when a request includes channel data that fails validation. This usually means the channel value is too long or too short, or the value does not match the expected format for the selected channel type, such as an invalid email address or an invalid phone number.

Possible causes

possible-causes page anchor
  • The channel value is longer or shorter than the allowed length.
  • The channel value contains an email address that is not valid.
  • The channel value contains a phone number that is not in a valid format for the selected channel.
  • The request uses a channel-specific address that does not follow the required format. For example, WhatsApp addresses must use whatsapp:{phone_number} and phone numbers must use E.164 where required.
  • The request uses a Messenger address that does not use a valid messenger:{messenger_page_id} or messenger:{messenger_user_id} format.
  • Review the channel payload and correct any invalid values before retrying the request.
  • If the channel uses a phone number, format the number in E.164.
  • If the channel uses WhatsApp, send the value as whatsapp:{phone_number} with the phone number in E.164.
  • If the channel uses Facebook Messenger, send the value as messenger:{messenger_page_id} or messenger:{messenger_user_id}.
  • If the channel uses email, confirm that the email address is complete and correctly formatted.
  • If the value is too long, shorten it to meet the expected format and length for that channel type.

Additional resources

additional-resources page anchor