Interface Conflict

The error when a client's request causes a conflict, usually when they're trying to create something that already exists.


Example

{
"type": "CONFLICT",
"status": 409,
"message": "The request couldn't be completed due to conflicting with other data on the server",
"item": "username",
}

Hierarchy

Properties

Properties

item: string

The conflicting item.

message: string

A brief explanation of the error.

status: number

The HTTP status of the error.

type: "CONFLICT"