Content problems
A template's validate and publish, inline content and POST /message/rcs/validate return these as { severity, code, path, message, blockId }. path names the field. GET /template/capabilities publishes every limit.
| Code | Meaning | What to do |
|---|---|---|
CONTENT_EMPTY | The content has no message block. | Add a block. |
TOO_MANY_BLOCKS | The content has too many blocks. | Remove blocks. |
TEXT_REQUIRED | A text block has no text. | Add the text. |
TEXT_TOO_LONG | The message text is over its limit, checked again after variables are filled in. | Shorten it. |
FILE_REQUIRED | A file block has no file. | Add the file. |
INVALID_URL | A link or media URL is not a valid URL, checked again at send once variables are filled in. | Use a full https link, or send a value that makes one. |
URL_REQUIRED | An Open URL action has no URL. | Add the URL. |
APPLICATION_REQUIRED | An Open URL action does not say where it opens. | Set application to BROWSER or WEBVIEW. |
WEBVIEW_MODE_REQUIRED | A webview link has no size. | Set webviewViewMode. |
WEBVIEW_MODE_NOT_ALLOWED | A browser link has a webview size. | Remove webviewViewMode. |
LABEL_REQUIRED | A button or chip has no label. | Add the label. |
LABEL_TOO_LONG | A button or chip label is over its limit, checked again after variables are filled in. | Shorten it. |
POSTBACK_REQUIRED | A button or chip has no postbackData, or a variable left it empty at send. | Add it, or send a value. |
POSTBACK_TOO_LONG | The postbackData is over its limit. | Shorten it. |
PHONE_REQUIRED | A dial action has no number. | Add the number. |
INVALID_PHONE | A dial number is not in E.164 format, checked again at send once a variable fills it. | Use a number like +14155550100. |
LOCATION_UNRESOLVED | An address could not be turned into coordinates. | Check the address, or enter coordinates. |
LATITUDE_REQUIRED | A location has no latitude. | Add it. |
LONGITUDE_REQUIRED | A location has no longitude. | Add it. |
EVENT_TITLE_REQUIRED | A calendar action has no title, or a variable left it empty at send. | Add the title. |
EVENT_TITLE_TOO_LONG | A calendar title is over its limit, checked again after variables are filled in. | Shorten it. |
EVENT_DESCRIPTION_TOO_LONG | A calendar description is over its limit, checked again after variables are filled in. | Shorten it. |
EVENT_TIME_REQUIRED | A calendar action has no start or end time. | Add both times. |
INVALID_DATE_TIME | A calendar time is not an ISO-8601 date-time with an offset, checked again at send once a variable fills it. | Use a time like 2026-11-10T15:00:00-05:00. |
EVENT_END_BEFORE_START | The end time is not after the start time, checked again at send once a variable fills either. | Correct the times. |
EVENT_IN_PAST | A calendar event has started. A template gets a warning, and a send blocks that recipient with CONTENT_INVALID. | Move the event forward. |
MEDIA_REQUIRED | A card has no media where it needs one, or a thumbnail or media height with no media. | Add the media. |
CONTENT_POLICY_FLAGGED | Content moderation flagged a block's text or image, or the fallback text, when a template was checked or published. message names the category. When the moderation service cannot answer, the check passes. | Change the content the path names. |
MEDIA_NOT_FOUND | A hosted file is not one this account uploaded with POST /template/media, or that file's MMS copy. An agent's logo and hero do not count. A send checks each hosted file a recipient gets, filled in by a variable or written out, and blocks that recipient with CONTENT_INVALID. | Upload the file with POST /template/media, and use the url it returns. |
MEDIA_KIND_MISMATCH | This position needs a different kind of media. A send checks each hosted file a recipient gets, and blocks that recipient with CONTENT_INVALID. | Use the kind the message names. |
MEDIA_TOO_LARGE | A file is over the upload limit, or a message's media is over the carrier's 100 MB limit. At send, that blocks the recipient with CONTENT_INVALID. | Send smaller media. |
MEDIA_REDIRECT | An external media URL answers with a redirect. A send, POST /message/rcs/validate and the estimate check each external file, and a redirect blocks the recipient with CONTENT_INVALID. Template validate and publish send no HEAD request, so they never give MEDIA_REDIRECT. | Use the URL the redirect leads to. |
CARD_EMPTY | A card has neither media nor a title. | Add one of them. |
TITLE_TOO_LONG | A card title is over its limit, checked again after variables are filled in. | Shorten it. |
DESCRIPTION_TOO_LONG | A card description is over its limit, checked again after variables are filled in. | Shorten it. |
ALIGNMENT_REQUIRES_HORIZONTAL | Image alignment applies only to horizontal cards. | Remove thumbnailImageAlignment, or use a horizontal card. |
MEDIA_HEIGHT_REQUIRES_VERTICAL | Media height applies only to vertical cards. | Remove mediaHeight, or use a vertical card. |
CAROUSEL_CARD_COUNT | A carousel has too few or too many cards. | Use 2 to 10 cards. |
TOO_MANY_CARD_SUGGESTIONS | A card has too many buttons. | Remove buttons. |
TOO_MANY_SUGGESTIONS | A message has too many suggestions. | Remove suggestions. |
SUGGESTIONS_EMPTY | A suggestions block is empty. | Add a suggestion, or remove the block. |
ORPHAN_SUGGESTIONS | A suggestions block does not follow a message block. | Move it under a message block. |
TTL_OUT_OF_RANGE | The default time to live is outside the traffic type's range. | Use a value in the range the message names. |
PLACEHOLDER_NOT_ALLOWED | A variable sits where it is not supported: a location's address or label, a whole link or media URL from a variable that is not a url, a URL's scheme or host, or a dial number or calendar time that is not one variable of its type. | Follow the placeholder rules on the Templates page. |
PLACEHOLDER_INVALID | A placeholder's name is not valid. | Use lowercase letters, digits and underscores. |
PLACEHOLDER_UNDECLARED | A placeholder has no declared variable. Inline content declares none, so only {{sender_name}} works there. | Declare the variable, or use a template. |
TOO_MANY_VARIABLES | The template declares too many variables. | Remove variables. |
VARIABLE_VALUE_INVALID | A variable's default or sample, or a recipient's value, fails its rule. | Fix the value the message names. |
VARIABLE_RESERVED | A recipient's variables set sender_name, which comes from the sender. | Remove it. |
FALLBACK_CAMPAIGN_REQUIRED | A template's fallback has no campaign. | Choose the campaign. |
FALLBACK_CAMPAIGN_NOT_FOUND | The fallback campaign does not belong to this account. | Choose one of your campaigns. |
FALLBACK_NUMBER_REQUIRED | A template's fallback has no number. | Choose the number. |
FALLBACK_NUMBER_NOT_FOUND | The fallback number is not on the fallback campaign. | Choose a number on that campaign. |
FALLBACK_TEXT_REQUIRED | A template's fallback has no text. | Write the text. |
FALLBACK_MEDIA_REQUIRED | An MMS fallback has no media. | Add a media URL, or use SMS. |
FALLBACK_EMPTY | The fallback for this recipient has no text to send. That blocks the recipient with CONTENT_INVALID. | Set fallback.content.text, or send with fallback.mode rcs_only. |
