競合エラー

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

string
error

エラー

次の値に固定: error

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,insufficient_scope

このエラーに関する追加コンテキストを含む自由形式のオブジェクト。使用できるフィールドは、エンドポイントごとに定義されています。messageは唯一の例です。

このエラーの原因であるファイル競合のリスト。

Something went wrong.

エラーの詳細。

string
https://developer.box.com/guides/api-calls/permissions-and-errors/common-errors/

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

string
Method Not Allowed

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

string
abcdef123456

Boxサポートに連絡するときに使用できる、このレスポンスの一意の識別子。

integer / int32
400

レスポンスのHTTPステータス。

レスポンスの例

{
  "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"
        }
      }
    ],
    "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
}