MBT Company
← All pages in this section

POLICY_EXPIRY_BEFORE_START

Status: 400 Bad Request

What it means

The expiry date of the policy is earlier than its start date.

What to do

Correct the dates so that the policy ends after it starts.

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/policy-expiry-before-start",
  "title": "Bad Request",
  "status": 400,
  "detail": "The expiry date of the policy is earlier than its start date.",
  "code": "POLICY_EXPIRY_BEFORE_START"
}