MBT Company
← All pages in this section

MAIL_TEMPLATE_VARIABLE_UNKNOWN

Status: 400 Bad Request

What it means

The template uses a word in curly brackets that the app does not know.

What to do

Use only the variables shown in the list of the editor, and check for spelling mistakes.

Example of the answer

The API answers with this JSON (title and detail change with the situation and the language):

{
  "type": "https://docs.mbtcompany.eu/errors/mail-template-variable-unknown",
  "title": "Bad Request",
  "status": 400,
  "detail": "The template uses a word in curly brackets that the app does not know.",
  "code": "MAIL_TEMPLATE_VARIABLE_UNKNOWN"
}