The error that occurs when a file can not be created due to a conflict.
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
A mini representation of a file, used when nested under another resource.
http://developers.box.com/docs/#errors
A URL that links to more information about why this error occurred.
Method Not Allowed
A short message describing the error.
abcdef123456
A unique identifier for this response, which can be used when contacting Box support.
400
The HTTP status of the response.
error
Value is always error
{
"code": "item_name_invalid",
"context_info": {
"conflicts": {
"etag": 1,
"file_version": {
"id": 12345,
"sha1": "134b65991ed521fcfe4724b7d814ab8ded5185dc",
"type": "file_version"
},
"id": 12345,
"name": "Contract.pdf",
"sequence_id": 3,
"sha1": "85136C79CBF9FE36BB9D05D0639C70C265C18D37",
"type": "file"
}
},
"help_url": "http://developers.box.com/docs/#errors",
"message": "Method Not Allowed",
"request_id": "abcdef123456",
"status": 400,
"type": "error"
}