code: "server_error" | "rate_limit_exceeded" | "invalid_prompt" | 18 more

The error code for the response.

One of the following:
"server_error"
"rate_limit_exceeded"
"invalid_prompt"
"data_residency_mismatch"
"bio_policy"
"misalignment_policy_violation"
"vector_store_timeout"
"invalid_image"
"invalid_image_format"
"invalid_base64_image"
"invalid_image_url"
"image_too_large"
"image_too_small"
"image_parse_error"
"image_content_policy_violation"
"invalid_image_mode"
"image_file_too_large"
"unsupported_image_media_type"
"empty_image_file"
"failed_to_download_image"
"image_file_not_found"
message: string

A human-readable description of the error.

misalignment?: Misalignment { detailed_explanation, error_type, review_target, steer }
detailed_explanation?: string

The public explanation for this block.

error_type?: (string & {}) | "potentially_unintended_data_transfer" | "potentially_unintended_data_access" | "potentially_unintended_destructive_activity" | "other"

An optional classification; clients must accept additional values.

One of the following:
(string & {})
This type repeats the enclosing schema.
"potentially_unintended_data_transfer" | "potentially_unintended_data_access" | "potentially_unintended_destructive_activity" | "other"
"potentially_unintended_data_transfer"
"potentially_unintended_data_access"
"potentially_unintended_destructive_activity"
"other"
review_target?: string | null

An opaque target for explicitly continuing this review, or null when unavailable.

minLength1
maxLength96
steer?: Steer { message }

An optional public continuation instruction.

message: string

The public continuation instruction.

param?: string | null

The request parameter associated with the error, or null if none was recorded.

type?: string | null

The original error type, or null if it was not recorded.