19023: Invalid channel type
MESSAGING
ERROR
Twilio returns this error when a request includes an invalid channel type. This usually happens when rich content falls back to a channel that does not support the content type you sent.
- You are sending rich content and the message falls back to a channel that does not support that content type.
- Your template does not include a fallback content type that matches the destination channel. Twilio uses fallback content types so a single template can deliver rich content to one channel and plain text or media to another.
- Add a
twilio/textfallback when the message can fall back to SMS. Twilio supportstwilio/textas a fallback content type for mixed-channel messaging. - Add a
twilio/mediafallback when the message can fall back to MMS. Twilio supportstwilio/mediafor MMS and other rich messaging channels. - When you use Content Templates, include fallback content types for each supported channel before you send the message. Twilio lets you specify fallback content types when rich content is not supported.