Share via


ResponseErrorCode Enum

Definition

The error code for the response.

public enum ResponseErrorCode
type ResponseErrorCode = 
Public Enum ResponseErrorCode
Inheritance
ResponseErrorCode

Fields

Name Value Description
ServerError 0

server_error.

RateLimitExceeded 1

rate_limit_exceeded.

InvalidPrompt 2

invalid_prompt.

VectorStoreTimeout 3

vector_store_timeout.

InvalidImage 4

invalid_image.

InvalidImageFormat 5

invalid_image_format.

InvalidBase64Image 6

invalid_base64_image.

InvalidImageUrl 7

invalid_image_url.

ImageTooLarge 8

image_too_large.

ImageTooSmall 9

image_too_small.

ImageParseError 10

image_parse_error.

ImageContentPolicyViolation 11

image_content_policy_violation.

InvalidImageMode 12

invalid_image_mode.

ImageFileTooLarge 13

image_file_too_large.

UnsupportedImageMediaType 14

unsupported_image_media_type.

EmptyImageFile 15

empty_image_file.

FailedToDownloadImage 16

failed_to_download_image.

ImageFileNotFound 17

image_file_not_found.

Applies to