Skip to main content

一般的なエラー。

type
enum<string>

値は常にerrorになります。

Available options:
error
Example:

"error"

status
integer<int32>

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

Example:

400

code
enum<string>

Box固有のエラーコード。

Available options:
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
Example:

"item_name_invalid"

message
string

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

Example:

"Method Not Allowed"

context_info
object

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

Example:
{ "message": "Something went wrong" }
help_url
string

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

Example:

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

request_id
string

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

Example:

"abcdef123456"