Box Developer Documentation

A beta version of the new Box developer documentation site is launching soon! Updated Developer Guides, modern API Reference, and AI-powered search are on the way to help you build with Box faster. Stay tuned for more updates.

Conflict error

This resource is used by endpoints in the version 2024.0. For more details, see Box API versioning.

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

string
error

The value will always be 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

associative array

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.

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": {
    "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
}