競合エラー

競合が原因でファイルを作成できなかったときに発生するエラー。

string
item_name_invalid

Box固有のエラーコード

次の値のいずれか1つ: 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

他のリソースの下にネストされたときに使用される、ファイルの簡易版レプリゼンテーション。

string
http://developers.box.com/docs/#errors

このエラーの原因に関する詳細情報にリンクされたURL。

string
Method Not Allowed

エラーについての短い説明メッセージ。

string
abcdef123456

Boxサポートに連絡するときに使用できる この応答の一意の識別子。

integer / int32
400

応答のHTTPステータス。

string
error

次の値に固定: 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"
}