MBT Company
← All pages in this section

MAIL_TEMPLATE_FOLDER_REQUIRED

Status: 400 Bad Request

What it means

The template uses the folder, but the request has no folder.

What to do

Choose a folder for the request, or use a template that does not mention a folder.

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-folder-required",
  "title": "Bad Request",
  "status": 400,
  "detail": "The template uses the folder, but the request has no folder.",
  "code": "MAIL_TEMPLATE_FOLDER_REQUIRED"
}