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.
A generic error.
errorThe value will always be error.
Value is always error
item_name_invalidA 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.
https://developer.box.com/guides/api-calls/permissions-and-errors/common-errors/A URL that links to more information about why this error occurred.
Method Not AllowedA short message describing the error.
abcdef123456A unique identifier for this response, which can be used when contacting Box support.
400The HTTP status of the response.
{
"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
}