The error that occurs when a file can not be created due to a conflict.
error
Value is always error
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 list of the file conflicts that caused this error.
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.
{
"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"
}
}
]
},
"help_url": "http://developers.box.com/docs/#errors",
"message": "Method Not Allowed",
"request_id": "abcdef123456",
"status": 400
}