POLICY_NUMBER_ALREADY_EXISTS
Status: 409 Conflict
What it means
There is already an active policy with this number at the same insurance company.
What to do
Check the policy number. If the policy is already in the list, you do not need to add it again.
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-number-already-exists",
"title": "Conflict",
"status": 409,
"detail": "There is already an active policy with this number at the same insurance company.",
"code": "POLICY_NUMBER_ALREADY_EXISTS"
}