Join BoxWorks 2024 to discover what's possible with content and AI!

Register now!

Conflict error

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

string
error

error

Value is always error

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,item_name_invalid,insufficient_scope

A free-form object that contains additional context about the error. The possible fields are defined on a per-endpoint basis. message is only one example.

A list of the file conflicts that caused this error.

Something went wrong.

More details on the error.

string
https://developer.box.com/guides/api-calls/permissions-and-errors/common-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.

Response Example

{
  "type": "error",
  "code": "item_name_invalid",
  "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"
        }
      }
    ],
    "message": "Something went wrong."
  },
  "help_url": "https://developer.box.com/guides/api-calls/permissions-and-errors/common-errors/",
  "message": "Method Not Allowed",
  "request_id": "abcdef123456",
  "status": 400
}