Conflict Error

The error that occurs when a file can not be created due to a conflict.

string
item_name_invalid

A Box-specific error code

Value is one of "created", "accepted", "no_content", "redirect", "not_modified", "bad_request", "unauthorized", "forbidden", "not_found", "method_not_allowed", "conflict", "precondition_failed", "too_many_requests", "internal_server_error", "unavailable"

A mini representation of a file, used when nested under another resource.

string
http://developers.box.com/docs/#errors

A URL that links to more information about why this error occurred.

string
Method Not Allowed

A short message describing the error.

string
abcdef123456

A unique identifier for this response, which can be used when contacting Box support.

integer / int32
400

The HTTP status of the response.

string
error

Value is always "error"

Response Example

{
  "type": "error",
  "status": 400,
  "code": "item_name_invalid",
  "help_url": "http://developers.box.com/docs/#errors",
  "message": "Method Not Allowed",
  "request_id": "abcdef123456",
  "context_info": {
    "conflicts": {
      "id": 12345,
      "etag": 1,
      "type": "file",
      "sequence_id": 3,
      "name": "Contract.pdf",
      "sha1": "85136C79CBF9FE36BB9D05D0639C70C265C18D37",
      "file_version": {
        "id": 12345,
        "type": "file_version",
        "sha1": "134b65991ed521fcfe4724b7d814ab8ded5185dc"
      }
    }
  }
}