Error

struct

Error response returned by the Notion API for any non-2xx status.

Property Type Description
additional_data
MapAny
Extra context, such as retry guidance or endpoint-specific details.
code String Error code, e.g. invalid_json, invalid_request_url, invalid_request, validation_error, missing_version, unauthorized, restricted_resource, object_not_found, conflict_error, rate_limited, internal_server_error, service_unavailable, gateway_timeout.
message String Human-readable description of the error.
object String Always "error".
request_id String Unique ID of the request, useful when contacting Notion support.
status Integer HTTP status code of the error.
part of the Apioo-Project