Duplicate resource

Problem type

duplicate-resource

Status code

409 Conflict

Reasons

Indicates that a resource with the given name or other identifier already exists. This might be the case if:

  1. you tried POSTing a resource with a name or identifier which is already in use

  2. you made a PUT request to rename a resource to a name which is already in use

Remedy

Choose a different name which is not yet taken.

Example problem document
HTTP/1.1 409 Conflict
Content-Type: application/problem+json
Content-Length: 276

{
  "type" : "duplicate-resource",
  "title" : "resource already exists",
  "detail" : "A resource with the requested name already exists",
  "_links" : {
    "documentation" : {
      "href" : "https://apidocs.inxmail.com/xpro/rest/v1/problems/duplicate-resource"
    }
  }
}