Logo

400

input_length_error

Input too long: The number of tokens in the input exceeds the maximum allowed length of 4096 tokens. Please reduce the input size.

Logo

400

generic_error

An unknown error has occurred. Please try again or contact support if the problem persists.

Logo

400

json_decoding_error

Could not decode the generated JSON. Ensure your schema is correct, as common issues include typos and bad references.

Logo

400

system_message_error

Only one system message can be specified. Please ensure no more than one system message is included in your request.

Logo

400

validation_error

Invalid configuration: 'top_p' must be set to 1 when using greedy sampling. Please adjust your settings accordingly.

Logo

400

missing_data_error

The tool_calls information is missing in the second to last message. Please ensure all required fields are provided.

Logo

400

response_format_error

'messages' must include 'json' to use 'response_format' as 'json_object'.

Logo

400

validation_error

Validation failed: The current system does not support n>1. Refer to the documentation or support for more details.

Logo

400

model_incompatibility_error

The embeddings operation does not work with the specified model. Please choose a different model and try again. You can learn more about compatible models for each operation here: https://go.microsoft.com/fwlink/?linkid=2197993.

Logo

400

input_validation_error

Invalid input detected. Please check the API reference for correct usage: https://platform.openai.com/docs/api-reference.

Logo

400

schema_validation_error

Invalid schema for function 'guidance_web_qna': Required fields or structure do not match the expected object or boolean types.

Logo

400

invalid_argument_error

Unrecognized request argument supplied. Please check the request parameters and try again.

Logo

400

context_length_error

The request exceeds the model's maximum context length. Please reduce the length of the messages or completion.

Logo

400

content_policy_violation_error

The response was filtered due to the prompt triggering content management policy. Please modify your prompt and retry. See our documentation for more information on content filtering policies.

Logo

400

invalid_parameter_error

Invalid parameter: the specified response format is not supported with the current model.

Logo

400

unsupported_image_error

You uploaded an unsupported image. Ensure the image is below 20 MB and in one of these formats: png, jpeg, gif, webp.

Logo

400

prompt_error

An error was detected in the prompt. Please try again with a different prompt.

Logo

400

image_validation_error

The provided image is invalid or the data is not recognized.

Logo

400

input_type_error

The provided input does not match the expected type 'array' for the 'functions' field. Ensure that the input structure is an array as required.

Logo

400

schema_error

Invalid schema detected for a specified function. Please ensure all required items are included in the array schema.

Logo

400

input_validation_error

Invalid value for input: expected a non-null string.

Logo

400

token_limit_exceeded_error

The number of completion tokens provided exceeds the model's limit of 4096. Adjust the max_tokens parameter to comply with this limit.

Logo

400

validation_error

Invalid input: extra fields are not permitted in the request.

Logo

400

input_content_error

An issue was encountered with repetitive patterns in your prompt. Please try again with a different input.

Logo

400

data_structure_error

The 'messages' parameter is expected to be of type 'array'. Please ensure the input follows the required data structure.

Logo

400

model_incompatibility_error

The completion operation does not work with the specified model. Please choose a different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=2197993.

Logo

400

length_limit_error

'$.messages' exceeds the maximum length of 2048 items. Please reduce the number of items in the messages.

Logo

400

type_validation_error

A non-boolean value was encountered where a boolean type was expected.

Logo

400

unsupported_content_type_error

Invalid content type: image URLs are only supported by certain models.

Logo

400

query_error

User query processing error: The provided input is not of the expected type or format. Please ensure the query adheres to the required structure and retry. Refer to the documentation for valid query formats.

Logo

400

missing_property_error

'content' is a required property but is missing from the input.

Logo

400

input_validation_error

Invalid input: 'assitant' is not a recognized role. Accepted roles are 'system', 'assistant', 'user', or 'function'.

Logo

400

model_operation_error

The specified model is incompatible with the chosen operation. Please select a different model and try again. Learn more about compatible models with operations here: https://go.microsoft.com/fwlink/?linkid=2197993.

Logo

400

schema_validation_error

Invalid schema for function 'matching_auto_reply': The provided data type is not valid under the defined schemas.

Logo

400

invalid_parameter_error

Invalid parameter: messages with role 'tool' must follow a preceding message with 'tool_calls'.

Logo

400

type_mismatch_error

The input message does not match the required object type in 'messages.0'. Please ensure your query is formatted correctly and matches the expected data structure.

Logo

400

input_validation_error

Invalid content in message object. Please check the API reference: https://platform.openai.com/docs/api-reference.

Logo

400

type_validation_error

Invalid data type: expected a 'string' for the field 'user' but received a different type.

Logo

400

missing_property_error

A required property is missing: 'name' is required but not provided in the specified object.

Logo

400

invalid_role_error

Invalid role specified: input value is not one of the allowed roles ['system', 'assistant', 'user', 'function']. Please ensure the role is correctly defined.

Logo

400

parameter_error

Missing parameter: Messages with the role 'function' require a 'name' field to be specified.

Logo

400

type_mismatch_error

A value is not of the expected type. Ensure that data types in the structure match the required format.

Logo

400

input_format_error

Invalid image data: the provided image data is not correctly formatted in base64.

Logo

400

input_size_error

The image size must be greater than zero and cannot exceed 20971520 bytes.

Logo

400

context_length_exceeded_error

The total number of tokens exceeds the model's maximum context length. Please reduce the length of your messages or functions.

Logo

400

input_validation_error

Invalid image URL: The URL must be a valid HTTP, HTTPS, or a base64-encoded data URL.

Logo

400

schema_validation_error

Invalid schema detected for function due to missing array items in the specified properties context.

Logo

400

input_validation_error

Invalid format: Input does not match the required pattern. Please ensure it adheres to the allowed character set and length constraints.

Logo

400

type_mismatch_error

The input provided is not of the expected type 'array'. Ensure the structure of the data matches the required format.

Logo

400

validation_error

A required property 'type' is missing in the specified section.

Logo

400

validation_schema_error

Invalid schema for function 'guidance_web_qna': One or more parameters are not of the expected type 'object' or 'boolean'. Please check the types for 'query_item', 'answer', and 'query_variations'.

Logo

400

input_validation_error

Additional properties are not allowed. Unexpected properties encountered in the input payload.

Logo

400

invalid_property_error

Additional properties are not allowed. Unexpected property found in the input.

Logo

400

input_validation_error

Invalid input role: expected a role from ['system', 'assistant', 'user', 'function']. Please correct the role and try again.

Logo

400

url_access_error

The provided image URL is not accessible. Please check the URL and try again.

Logo

400

description_length_error

The description provided for a function or component is too long and exceeds the acceptable limit. Please shorten the description to comply with length constraints.

Logo

400

schema_validation_error

Invalid schema for function 'information_extraction': Input must be an 'object' or 'boolean' type.

Logo

400

validation_error

'parameters' is a required property in the specified configuration.

Logo

400

input_format_error

Input data is not in the correct format: expected a list of messages but received incorrect structure.

Logo

400

invalid_syntax_error

Invalid usage of syntax or function call detected. Please check the API reference for proper guidelines: https://platform.openai.com/docs/api-reference.

Logo

400

function_call_error

Invalid function call: specified function not found in the 'functions' parameter. Please ensure the function name is correctly defined.

Logo

400

schema_validation_error

Invalid schema type for function 'information_extraction': expected type 'object' or 'boolean'.

Logo

400

function_call_error

Invalid function call: The specified function name does not exist in the provided parameters.

Logo

400

tool_call_response_error

An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. Ensure there are response messages for all tool_call_ids.

Logo

400

thread_operation_error

Cannot add messages to a thread while an active run is in progress.

Logo

400

content_violation_error

Your input may contain content that is not allowed by our safety system. Please review and ensure it complies with our guidelines.

Logo

400

type_error

Input is not of type 'string'. Please ensure that the input is a valid string for processing.

Logo

400

input_validation_error

'role' is a required property in the input data. Please ensure all necessary fields are included.

Logo

400

length_error

The provided input is too short. Ensure that the 'messages' field meets the required length.

Logo

400

validation_error

Invalid data type detected in request metadata; expected a string type.

Logo

400

input_format_error

Invalid chat format. Content must be either text or image URL type.

Logo

400

validation_error

Input value is less than the required minimum limit. Please ensure 'max_tokens' is set to a value of at least 1.

Logo

400

input_format_error

Invalid chat format: Unexpected keys found in message content.

Logo

400

input_validation_error

Validation error for request: additional_instructions must not exceed 32768 characters.

Logo

400

safety_violation_error

Request rejected due to a violation of safety system guidelines. Your prompt may contain disallowed content.

Logo

400

file_type_error

Invalid file type: Only image types are supported.

Logo

400

invalid_parameter_error

The provided size '1600x900' is not valid. Accepted values are: '256x256', '512x512', '1024x1024', '1024x1792', '1792x1024'.

Logo

400

validation_error

Invalid model ID provided. Please check the model ID and try again.

Logo

400

file_validation_error

Files are invalid.

Logo

400

type_mismatch_error

Input value is not of the expected type 'number'. Please verify compatibility with the required type for the parameter.

Logo

400

input_validation_error

The 'input' property is required but missing. Please provide the necessary data.

Logo

400

value_below_minimum_error

The specified value is less than the minimum requirement of 1 for 'max_tokens'.

Logo

400

type_mismatch_error

'null' is not a valid 'array' type for the 'messages' field. Please ensure the data type matches the expected format.

Logo

400

input_validation_error

Invalid input: The provided input does not meet the expected format or values. Please consult the API reference for more information.

Logo

400

validation_error

Input is too short - specific field 'functions' is shorter than required length.

Logo

400

input_validation_error

Invalid role specified: the role must be one of ['system', 'assistant', 'user', 'function'].

Logo

400

type_error

The provided JSON is not of the expected 'object' type for the response format specification.

Logo

400

incompatibility_error

Requested model is not compatible with the current engine. Please contact support for further assistance.

Logo

400

validation_error

A required field is missing from the request body. Please ensure all necessary fields are provided.

Logo

400

input_format_error

The input provided is not in the expected format. Ensure that the input data is structured as an array of messages to proceed correctly.

Logo

400

type_mismatch_error

The provided 'args' argument is not of type 'string'. Ensure that the arguments passed are of the expected string type.

Logo

400

input_validation_error

Input is too short. Please ensure that the provided input meets the required minimum length.

Logo

400

invalid_role_error

The specified role is not valid. Ensure the role is one of ['system', 'assistant', 'user', 'function'].

Logo

400

value_error

The provided value exceeds the allowable limit. Ensure the value is less than or equal to 100.

Logo

400

input_value_error

Logit bias value is invalid or outside of the acceptable range.

Logo

400

input_format_error

Invalid chat format: missing required 'url' field in image_url dictionary.

Logo

400

input_validation_error

The provided input does not match the required type. Expected a 'string' but received a different type. Please adjust the input format to meet the specified constraints.

Logo

400

model_size_error

The specified size is not supported by the model.

Logo

400

invalid_argument_error

Unrecognized request argument supplied. Please check the parameters provided in the request.

Logo

400

invalid_role_error

Invalid role specified in the input. The 'role' field must be one of: 'system', 'assistant', 'user', or 'function'.

Logo

400

invalid_input_error

Additional properties are not allowed. Unexpected property found in the input.

Logo

400

type_error

Invalid input: expected 'top_p' to be of type 'number'.

Logo

400

schema_validation_error

The schema for the function is invalid: Required properties are missing.

Logo

400

input_validation_error

Invalid key in 'logit_bias': only non-negative integers are allowed.

Logo

400

json_parsing_error

We could not parse the JSON body of your request. Ensure the API expects a JSON payload and verify its validity. Visit help.openai.com for assistance.

Logo

400

permission_error

Action not allowed: downloading files for the specified purpose is restricted.

Logo

400

invalid_argument_error

Unrecognized request argument supplied. Please check the headers or input parameters.

Logo

400

content_block_error

The request has been blocked due to content filters.

Logo

400

request_parameter_error

Invalid request: 'functions' and 'tools' cannot both be provided. 'Functions' are deprecated; use the 'tools' parameter instead.

Logo

400

data_format_error

Input data is not of the expected format. Please ensure that the data is structured correctly and try again.

Logo

400

input_type_error

Input content is not of the expected type 'object'.

Logo

400

input_format_error

The input provided is not of the expected string type. Ensure the input adheres to the format requirements and try again.

Logo

400

input_validation_error

Invalid base64 format detected in image_url. Please ensure the input is correctly encoded in base64 format.

Logo

400

type_error

Invalid input: Expected an object type but received None instead.

Logo

400

input_type_error

The input provided is not of the expected string type. Please ensure that 'prompt' is a string.

Logo

400

input_validation_error

Invalid input value: provided value is not among the allowed options. Please ensure the input matches one of ['system', 'assistant', 'user', 'function'].

Logo

400

input_type_error

The provided input does not match the expected type. Ensure that parameters like 'prompt' are correctly formatted as strings.

Logo

400

invalid_argument_error

Unrecognized request argument supplied. Please ensure all arguments are valid.

Logo

400

property_validation_error

Unexpected property detected: Certain properties are not allowed. Please review the input for unexpected entries.

Logo

400

missing_parameter_error

A required model parameter is missing. Please provide the necessary parameters to proceed.

Logo

400

validation_error

Unexpected additional properties are not allowed. The specified properties were not expected within the configuration.

Logo

400

api_precondition_error

Invalid response received: User location is not supported for the API use. Please check the API preconditions and try again.

Logo

400

invalid_argument_error

Invalid response received: Please use a valid role such as user or model.

Logo

400

authentication_error

Authentication failed due to an expired API key. Please renew your API key to restore access.

Logo

400

invalid_argument_error

Invalid response received: Please ensure multiturn requests end with a user role or a function response.

Logo

400

input_validation_error

The 'contents' field is missing in the request. Please provide the necessary content before proceeding.

Logo

400

location_restriction_error

User location is not supported for API use.

Logo

400

request_format_error

Ensure that multi-turn requests are properly formatted to end with a user role or a function response.

Logo

400

authentication_error

Invalid response from Google: API key not found or invalid. Please provide a valid API key.

Logo

400

invalid_argument_error

Invalid response received due to missing required fields in the request. Please ensure all necessary content is specified properly.

Logo

400

context_length_exceeded_error

The number of tokens in the prompt exceeds the model's maximum context length of 32768. Please use a shorter prompt.

Logo

400

model_selection_error

Invalid model: The specified model is not recognized or unavailable. Please verify the model name.

Logo

400

invalid_model_error

The specified model is invalid. Please ensure you are using a supported model.

Logo

400

model_selection_error

The model name provided is invalid. Please ensure the model name is correct and try again.

Logo

400

role_assignment_error

Expected the last role to be user but received a different role. Ensure proper role assignment in your configuration.

Logo

400

sampling_parameter_error

Invalid sampling parameter: top_p must be set to 1 when using greedy sampling.

Logo

400

input_limit_exceeded_error

Too many tokens: the total number of tokens in the prompt exceeds the limit of 4081. Try using a shorter prompt or enable prompt truncating. See https://docs.cohere.com/reference/generate for more details.

Logo

400

unsupported_model_error

Invalid request: the specified model is not supported by the API. Please verify the model name and version.

Logo

400

input_error

Input required: Please ensure that all necessary inputs are provided before proceeding.

Logo

400

input_validation_error

The 'max_tokens' field is required and cannot be left empty.

Logo

400

input_length_error

Prompt is too long: the number of tokens exceeds the maximum allowed limit.

Logo

400

input_validation_error

At least one message is required. Please ensure your input includes one or more messages.

Logo

400

account_billing_error

Usage is blocked due to insufficient credits. Please visit Plans and Billing to upgrade or purchase credits.

Logo

400

input_limit_exceeded_error

Max tokens exceed the allowable limit for the model. Reduce the number of tokens to comply with the model's constraints.

Logo

500

server_processing_error

The server encountered an error processing your request. Please try again later, or contact support if the issue persists. Include the request ID from your error message in your support request.

Logo

503

service_availability_error

The service is temporarily unable to process your request. Please try again later.

Logo

404

resource_not_found_error

The requested resource could not be found. Verify the resource identifier and try again.

Logo

400

string_length_exceeded_error

Invalid message content: string too long. Expected a string with maximum length 1048576, but received a longer string. Reduce the string length to comply with the limit.

Logo

400

schema_validation_error

Invalid schema for response_format: Expected at most a specified number of enum values in total within a single schema when using structured outputs, but received an excess. Consider reducing the number of enums, or opt out of structured outputs by setting 'strict: false'.

Logo

400

pattern_mismatch_error

The function name does not match the expected pattern. Ensure it only includes letters, numbers, underscores, or hyphens.

Logo

400

input_validation_error

Invalid input: length of the string exceeds the maximum allowed limit of 1024 characters.

Logo

400

input_validation_error

Invalid 'tools': expected an array with at least one element, but received an empty array.

Logo

400

invalid_value_error

Invalid value provided. Supported values include: 'system', 'assistant', 'user', 'function', 'tool', and others depending on context.

Logo

400

input_validation_error

Invalid input: expected a non-empty array but received an empty array. Ensure to provide an array with at least one element.

Logo

500

invalid_content_error

The model produced invalid content. Consider modifying your prompt if this error persists.

Logo

400

invalid_type_error

Invalid type for 'messages[*].content[*].image_url.url': expected a base64-encoded data URL, but got a different type instead.

Logo

400

value_not_supported_error

Invalid value provided. Supported values are: 'text', 'image_url', 'audio_url', and 'refusal'.

Logo

400

missing_parameter_error

Missing required parameter: Ensure all mandatory parameters are included in your request.

Logo

529

system_overload_error

The system encountered an overload and is unable to process the request at this time. Please try again later.

Logo

500

server_error

An internal server error occurred. Please try again later.

Logo

404

model_error

The model specified is not recognized or supported. Please ensure you are using a valid model identifier.

Logo

404

model_unavailable_error

The specified model 'meta-llama/Llama-3-70b-chat-hf' is unavailable or cannot be accessed at this time. Please verify the model identifier or check system availability.

Logo

400

input_validation_error

Input error: text content blocks must not be empty.

Logo

400

tool_definition_error

Requests must define tools when including 'tool_use' or 'tool_result' blocks.

Logo

400

insufficient_balance_error

Your credit balance is too low to access the requested service. Please visit Plans & Billing to upgrade or purchase credits.

Logo

403

permission_error

The request could not be processed due to insufficient permissions or restrictions.

Logo

404

model_configuration_error

There is an issue with the model configuration for 'portkey-claude-rag'. Please check the model settings and parameters.

Logo

400

message_content_error

All messages must have non-empty content except for the optional final assistant message.

Logo

404

model_selection_error

The selected model 'claude-3-5-sonnet' is not available or recognized. Please verify the model name and try again.

Logo

400

input_validation_error

Input should be a valid string.

Logo

400

invalid_image_error

The provided image data is invalid. Please ensure the image is correctly formatted.

Logo

400

input_validation_error

The text content block cannot be empty. Please ensure all input fields are filled.

Logo

400

input_validation_error

Input should be a valid list. Please ensure the input format is correct.

Logo

400

input_validation_error

The input for 'messages.0.content.2.image.source.media_type' is invalid. Acceptable media types are 'image/jpeg', 'image/png', 'image/gif', or 'image/webp'.

Logo

400

image_size_error

The image size exceeds the maximum allowed limit of 5 MB. Please upload a smaller image.

Logo

400

input_validation_error

Invalid input: The length of the provided string exceeds the maximum limit of 1024 characters.

Logo

400

invalid_image_url_error

Invalid image URL: Expected a base64-encoded data URL with an image MIME type, but got a value without the 'data:' prefix.

Logo

400

context_length_error

The maximum context length for this model has been exceeded. Please reduce the length of your input messages.

Logo

404

access_error

The specified model does not exist or you do not have access to it.

Logo

403

unsupported_location_error

The specified country, region, or territory is not supported.

Logo

401

authentication_error

Incorrect API key provided. You can find your API key at https://platform.openai.com/account/api-keys.

Logo

400

missing_parameter_error

A required parameter is missing in the request. Please ensure all necessary fields are included.

Logo

400

download_error

There was an issue while downloading files from the server. The operation timed out or encountered an error. Please check your connection and try again.

Logo

500

server_error

The server encountered an error processing your request. Please retry your request or contact support through the help center at help.openai.com if the issue persists. Remember to include your request ID in your communication.

Logo

400

download_error

Error while downloading files from the server. Please check your network connection or the server status.

Logo

400

download_error

Failed to download image due to an invalid URL. Please check the image URL or contact support for assistance.

Logo

400

file_type_error

Unsupported image file uploaded. Ensure the image format is valid and supported.

Logo

503

server_overload_error

The server is currently overloaded. Please try again later.

Logo

500

internal_error

An unexpected internal error occurred. Please try again later or contact support if the issue persists.

Logo

500

server_processing_error

The server encountered an error while processing your request. Please try again later.

Logo

400

download_error

An error occurred while attempting to download a file. Please check the URL or network connection and try again.

Logo

400

audio_decoding_error

The audio file could not be decoded or its format is not supported.

Logo

400

image_download_error

Failed to download image. The image may contain no data due to an upload error or exceed the size limit.

Logo

400

download_error

Error while downloading media from the server. Please check your internet connection and try again.

Logo

400

audio_length_error

The provided audio file is too short. Minimum required length is 0.1 seconds.

Logo

400

download_error

An error occurred while attempting to download the requested file from the specified URL.

Logo

400

unsupported_parameter_error

Unsupported value: 'temperature' parameter only supports the default value of 1 with this model.

Logo

404

model_access_error

The specified model does not exist or you do not have access to it.

Logo

400

unsupported_value_error

The provided value for 'messages[0].role' is not supported with the current model configuration.

Logo

400

parameter_error

Unsupported parameter: the specified parameter is not supported with this model. Use the correct alternative parameter as instructed.

Logo

400

unsupported_parameter_error

A specified parameter is not supported with the current model.

Logo

400

invalid_model_error

Invalid model specified. The model argument should be left blank.

Logo

400

model_argument_error

Invalid model configuration. The model argument should be left blank.

Logo

400

download_error

An error occurred while attempting to download a file from a specified URL. Please check the URL for correctness and ensure network connectivity.

Logo

400

network_timeout_error

Timeout while downloading resources from a remote server. Please check your network connection and try again.

Logo

401

permission_error

You have insufficient permissions for this operation. Ensure that you have the correct role and necessary scopes, particularly if using a restricted API key.

Logo

400

type_validation_error

Invalid type for input: expected an array of objects. Please ensure the correct data format is used.

Logo

404

model_support_error

The specified tool is not supported in the current model. Refer to the documentation for a list of supported models.

Logo

401

authentication_error

Invalid or incorrect API key. Please check your API key at https://platform.openai.com/account/api-keys and ensure it is correctly configured.

Logo

413

content_size_limit_error

Maximum content size limit exceeded. The content size surpasses the allowed limit of 26214400 bytes.

Logo

400

invalid_schema_error

Invalid schema for response_format: required fields are missing or extra keys are supplied. Ensure the schema has all necessary keys and no redundant ones.

Logo

400

invalid_input_error

Invalid type for 'max_tokens': expected a supported value, but received null.

Logo

404

model_access_error

The specified model does not exist or access to it is denied.

Logo

400

schema_validation_error

Invalid schema for response_format: certain properties in the schema are not permitted, such as 'minimum' or 'default' in specified contexts.

Logo

400

download_timeout_error

Timeout occurred while downloading a resource from the server. Please check your network connection or try again later.

Logo

400

type_mismatch_error

Invalid type for input: expected a string, but received a different data type. Ensure the data type matches the expected input requirements.

Logo

404

model_access_error

The specified model is unavailable or you lack the necessary access permissions.

Logo

404

model_access_error

The specified model does not exist or access is denied.

Logo

400

unsupported_value_error

Unsupported value: The specified role is not supported with this model.

Logo

404

model_deprecation_error

The model you are attempting to use has been deprecated. Visit the provided link for more information.

Logo

404

endpoint_misuse_error

The requested operation is not supported on the current API endpoint. Please verify the endpoint URL and ensure it is appropriate for the intended request type.

Logo

404

model_deprecation_error

The selected model has been deprecated. Learn more here: https://platform.openai.com/docs/deprecations.

Logo

404

model_access_error

The specified model does not exist or you do not have the necessary access permissions.

Logo

400

download_timeout_error

Timeout occurred while downloading from the specified URL. Please check your internet connection and try again.

Logo

404

model_access_error

The specified model does not exist or you do not have access to it.

Logo

400

input_validation_error

Invalid or missing parameter: Expected an object for 'messages[2].tool_calls[0].function', but encountered an incorrect type or missing value.

Logo

400

value_mismatch_error

Invalid value: expected 'function' but received an incompatible input. Please check the input value.

Logo

400

input_validation_error

Invalid input: expected an array with minimum length 1, but received an empty array.

Logo

400

missing_parameter_error

A required parameter is missing in the input. Please ensure that all necessary fields are included.

Logo

400

missing_parameter_error

A required parameter is missing: 'messages[4].content[0].type'. Please ensure all necessary parameters are included in your request.

Logo

400

invalid_file_format_error

Invalid file format. Please use one of the supported formats: flac, m4a, mp3, mp4, mpeg, mpga, oga, ogg, wav, webm.

Logo

400

invalid_model_error

Invalid model specified. The 'model' argument should be left blank.

Logo

404

model_access_error

The specified model does not exist or access is restricted.

Logo

400

model_input_error

The selected model does not support image inputs.

Logo

400

invalid_input_error

The provided image file is not valid.

Logo

500

internal_server_error

An internal error occurred. Please try again later or contact support if the issue persists.

Logo

400

payload_size_error

Request payload size exceeds the allowable limit. Please reduce the size of the payload and try again.

Logo

404

model_not_found_error

The specified model is not found or is unsupported for the requested operation. Call ListModels to view available models and their supported methods.

Logo

400

missing_input_error

Unable to submit request due to missing or empty text parameter. Add a value to the text parameter and try again. Learn more: https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/gemini

Logo

404

model_not_supported_error

The specified model is not found or is unsupported for the requested operation. Verify the model's availability and supported methods by using the ListModels feature.

Logo

400

invalid_json_error

Invalid JSON payload received due to unrecognized field 'additionalProperties' in the configuration schema. Ensure the field is correctly specified.

Logo

400

validation_error

The property 'logic' must be non-empty for OBJECT type as per the response schema requirements.

Logo

400

configuration_error

Json mode is not enabled for the specified model configuration.

Logo

500

service_unavailability_error

Unable to submit request due to temporary service unavailability. Please try again later.

Logo

400

json_parsing_error

Invalid JSON payload received. Unknown field name identified within 'tools[0].google_search_retrieval.dynamic_retrieval_config'. Please verify the field names in your JSON structure.

Logo

400

unsupported_file_error

Invalid or unsupported file URI encountered. Please ensure the file link is correct and supported.

Logo

400

input_validation_error

Contents must not be empty. Ensure that the required input parts are provided before submitting the request.

Logo

403

subscription_error

Account inactive or usage limit reached.

Logo

400

response_role_error

Unexpected role received for serving. Expected 'User' or 'Tool' but got 'Assistant'.

Logo

400

input_length_error

Input too long: The number of tokens in the input exceeds the maximum allowed length of 4096 tokens. Please reduce the input size.

Logo

400

generic_error

An unknown error has occurred. Please try again or contact support if the problem persists.

Logo

400

json_decoding_error

Could not decode the generated JSON. Ensure your schema is correct, as common issues include typos and bad references.

Logo

400

system_message_error

Only one system message can be specified. Please ensure no more than one system message is included in your request.

Logo

400

validation_error

Invalid configuration: 'top_p' must be set to 1 when using greedy sampling. Please adjust your settings accordingly.

Logo

400

missing_data_error

The tool_calls information is missing in the second to last message. Please ensure all required fields are provided.

Logo

400

response_format_error

'messages' must include 'json' to use 'response_format' as 'json_object'.

Logo

400

validation_error

Validation failed: The current system does not support n>1. Refer to the documentation or support for more details.

Logo

400

model_incompatibility_error

The embeddings operation does not work with the specified model. Please choose a different model and try again. You can learn more about compatible models for each operation here: https://go.microsoft.com/fwlink/?linkid=2197993.

Logo

400

input_validation_error

Invalid input detected. Please check the API reference for correct usage: https://platform.openai.com/docs/api-reference.

Logo

400

schema_validation_error

Invalid schema for function 'guidance_web_qna': Required fields or structure do not match the expected object or boolean types.

Logo

400

invalid_argument_error

Unrecognized request argument supplied. Please check the request parameters and try again.

Logo

400

context_length_error

The request exceeds the model's maximum context length. Please reduce the length of the messages or completion.

Logo

400

content_policy_violation_error

The response was filtered due to the prompt triggering content management policy. Please modify your prompt and retry. See our documentation for more information on content filtering policies.

Logo

400

invalid_parameter_error

Invalid parameter: the specified response format is not supported with the current model.

Logo

400

unsupported_image_error

You uploaded an unsupported image. Ensure the image is below 20 MB and in one of these formats: png, jpeg, gif, webp.

Logo

400

prompt_error

An error was detected in the prompt. Please try again with a different prompt.

Logo

400

image_validation_error

The provided image is invalid or the data is not recognized.

Logo

400

input_type_error

The provided input does not match the expected type 'array' for the 'functions' field. Ensure that the input structure is an array as required.

Logo

400

schema_error

Invalid schema detected for a specified function. Please ensure all required items are included in the array schema.

Logo

400

input_validation_error

Invalid value for input: expected a non-null string.

Logo

400

token_limit_exceeded_error

The number of completion tokens provided exceeds the model's limit of 4096. Adjust the max_tokens parameter to comply with this limit.

Logo

400

validation_error

Invalid input: extra fields are not permitted in the request.

Logo

400

input_content_error

An issue was encountered with repetitive patterns in your prompt. Please try again with a different input.

Logo

400

data_structure_error

The 'messages' parameter is expected to be of type 'array'. Please ensure the input follows the required data structure.

Logo

400

model_incompatibility_error

The completion operation does not work with the specified model. Please choose a different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=2197993.

Logo

400

length_limit_error

'$.messages' exceeds the maximum length of 2048 items. Please reduce the number of items in the messages.

Logo

400

type_validation_error

A non-boolean value was encountered where a boolean type was expected.

Logo

400

unsupported_content_type_error

Invalid content type: image URLs are only supported by certain models.

Logo

400

query_error

User query processing error: The provided input is not of the expected type or format. Please ensure the query adheres to the required structure and retry. Refer to the documentation for valid query formats.

Logo

400

missing_property_error

'content' is a required property but is missing from the input.

Logo

400

input_validation_error

Invalid input: 'assitant' is not a recognized role. Accepted roles are 'system', 'assistant', 'user', or 'function'.

Logo

400

model_operation_error

The specified model is incompatible with the chosen operation. Please select a different model and try again. Learn more about compatible models with operations here: https://go.microsoft.com/fwlink/?linkid=2197993.

Logo

400

schema_validation_error

Invalid schema for function 'matching_auto_reply': The provided data type is not valid under the defined schemas.

Logo

400

invalid_parameter_error

Invalid parameter: messages with role 'tool' must follow a preceding message with 'tool_calls'.

Logo

400

type_mismatch_error

The input message does not match the required object type in 'messages.0'. Please ensure your query is formatted correctly and matches the expected data structure.

Logo

400

input_validation_error

Invalid content in message object. Please check the API reference: https://platform.openai.com/docs/api-reference.

Logo

400

type_validation_error

Invalid data type: expected a 'string' for the field 'user' but received a different type.

Logo

400

missing_property_error

A required property is missing: 'name' is required but not provided in the specified object.

Logo

400

invalid_role_error

Invalid role specified: input value is not one of the allowed roles ['system', 'assistant', 'user', 'function']. Please ensure the role is correctly defined.

Logo

400

parameter_error

Missing parameter: Messages with the role 'function' require a 'name' field to be specified.

Logo

400

type_mismatch_error

The input for 'tools' or 'functions' is expected to be an array, but a different data type was provided. Please ensure the input adheres to the required schema.

Logo

400

type_mismatch_error

A value is not of the expected type. Ensure that data types in the structure match the required format.

Logo

400

input_format_error

Invalid image data: the provided image data is not correctly formatted in base64.

Logo

400

input_size_error

The image size must be greater than zero and cannot exceed 20971520 bytes.

Logo

400

context_length_exceeded_error

The total number of tokens exceeds the model's maximum context length. Please reduce the length of your messages or functions.

Logo

400

input_validation_error

Function name does not conform to the required pattern: Only letters, numbers, underscores, or hyphens are allowed, with a maximum length of 64 characters.

Logo

400

input_validation_error

Invalid image URL: The URL must be a valid HTTP, HTTPS, or a base64-encoded data URL.

Logo

400

schema_validation_error

Invalid schema detected for function due to missing array items in the specified properties context.

Logo

400

input_validation_error

Invalid format: Input does not match the required pattern. Please ensure it adheres to the allowed character set and length constraints.

Logo

400

type_mismatch_error

The input provided is not of the expected type 'array'. Ensure the structure of the data matches the required format.

Logo

400

validation_error

A required property 'type' is missing in the specified section.

Logo

400

validation_schema_error

Invalid schema for function 'guidance_web_qna': One or more parameters are not of the expected type 'object' or 'boolean'. Please check the types for 'query_item', 'answer', and 'query_variations'.

Logo

400

input_validation_error

The provided value is invalid. Please check the input and try again.

Logo

400

input_validation_error

Additional properties are not allowed. Unexpected properties encountered in the input payload.

Logo

400

invalid_property_error

Additional properties are not allowed. Unexpected property found in the input.

Logo

400

input_validation_error

Invalid input role: expected a role from ['system', 'assistant', 'user', 'function']. Please correct the role and try again.

Logo

400

url_access_error

The provided image URL is not accessible. Please check the URL and try again.

Logo

400

description_length_error

The description provided for a function or component is too long and exceeds the acceptable limit. Please shorten the description to comply with length constraints.

Logo

400

schema_validation_error

Invalid schema for function 'information_extraction': Input must be an 'object' or 'boolean' type.

Logo

400

validation_error

'parameters' is a required property in the specified configuration.

Logo

400

input_format_error

Input data is not in the correct format: expected a list of messages but received incorrect structure.

Logo

400

invalid_syntax_error

Invalid usage of syntax or function call detected. Please check the API reference for proper guidelines: https://platform.openai.com/docs/api-reference.

Logo

400

function_call_error

Invalid function call: specified function not found in the 'functions' parameter. Please ensure the function name is correctly defined.

Logo

400

schema_validation_error

Invalid schema type for function 'information_extraction': expected type 'object' or 'boolean'.

Logo

400

function_call_error

Invalid function call: The specified function name does not exist in the provided parameters.

Logo

400

tool_call_response_error

An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. Ensure there are response messages for all tool_call_ids.

Logo

400

thread_operation_error

Cannot add messages to a thread while an active run is in progress.

Logo

400

content_violation_error

Your input may contain content that is not allowed by our safety system. Please review and ensure it complies with our guidelines.

Logo

400

type_error

Input is not of type 'string'. Please ensure that the input is a valid string for processing.

Logo

400

input_validation_error

'role' is a required property in the input data. Please ensure all necessary fields are included.

Logo

400

length_error

The provided input is too short. Ensure that the 'messages' field meets the required length.

Logo

400

validation_error

Invalid data type detected in request metadata; expected a string type.

Logo

400

input_format_error

Invalid chat format. Content must be either text or image URL type.

Logo

400

validation_error

Input value is less than the required minimum limit. Please ensure 'max_tokens' is set to a value of at least 1.

Logo

400

input_format_error

Invalid chat format: Unexpected keys found in message content.

Logo

400

input_validation_error

Invalid value for a required field: ensure dependent fields are specified correctly.

Logo

400

input_validation_error

Validation error for request: additional_instructions must not exceed 32768 characters.

Logo

400

safety_violation_error

Request rejected due to a violation of safety system guidelines. Your prompt may contain disallowed content.

Logo

400

file_type_error

Invalid file type: Only image types are supported.

Logo

400

invalid_parameter_error

The provided size '1600x900' is not valid. Accepted values are: '256x256', '512x512', '1024x1024', '1024x1792', '1792x1024'.

Logo

400

validation_error

A required field is missing. Ensure that all mandatory properties are included in the input.

Logo

400

validation_error

Invalid model ID provided. Please check the model ID and try again.

Logo

400

file_validation_error

Files are invalid.

Logo

400

type_mismatch_error

Input value is not of the expected type 'number'. Please verify compatibility with the required type for the parameter.

Logo

400

input_validation_error

The 'input' property is required but missing. Please provide the necessary data.

Logo

400

value_below_minimum_error

The specified value is less than the minimum requirement of 1 for 'max_tokens'.

Logo

400

type_mismatch_error

'null' is not a valid 'array' type for the 'messages' field. Please ensure the data type matches the expected format.

Logo

400

input_validation_error

Invalid input: The provided input does not meet the expected format or values. Please consult the API reference for more information.

Logo

400

validation_error

Input is too short - specific field 'functions' is shorter than required length.

Logo

400

input_validation_error

Invalid role specified: the role must be one of ['system', 'assistant', 'user', 'function'].

Logo

400

type_error

The provided JSON is not of the expected 'object' type for the response format specification.

Logo

400

incompatibility_error

Requested model is not compatible with the current engine. Please contact support for further assistance.

Logo

400

validation_error

A required field is missing from the request body. Please ensure all necessary fields are provided.

Logo

400

input_format_error

The input provided is not in the expected format. Ensure that the input data is structured as an array of messages to proceed correctly.

Logo

400

type_mismatch_error

The provided 'args' argument is not of type 'string'. Ensure that the arguments passed are of the expected string type.

Logo

400

input_validation_error

Input is too short. Please ensure that the provided input meets the required minimum length.

Logo

400

invalid_role_error

The specified role is not valid. Ensure the role is one of ['system', 'assistant', 'user', 'function'].

Logo

400

value_error

The provided value exceeds the allowable limit. Ensure the value is less than or equal to 100.

Logo

400

input_value_error

Logit bias value is invalid or outside of the acceptable range.

Logo

400

input_format_error

Invalid chat format: missing required 'url' field in image_url dictionary.

Logo

400

input_validation_error

The provided input does not match the required type. Expected a 'string' but received a different type. Please adjust the input format to meet the specified constraints.

Logo

400

model_size_error

The specified size is not supported by the model.

Logo

400

invalid_argument_error

Unrecognized request argument supplied. Please check the parameters provided in the request.

Logo

400

invalid_role_error

Invalid role specified in the input. The 'role' field must be one of: 'system', 'assistant', 'user', or 'function'.

Logo

400

invalid_input_error

Additional properties are not allowed. Unexpected property found in the input.

Logo

400

type_error

Invalid input: expected 'top_p' to be of type 'number'.

Logo

400

schema_validation_error

The schema for the function is invalid: Required properties are missing.

Logo

400

input_validation_error

Invalid key in 'logit_bias': only non-negative integers are allowed.

Logo

400

json_parsing_error

We could not parse the JSON body of your request. Ensure the API expects a JSON payload and verify its validity. Visit help.openai.com for assistance.

Logo

400

permission_error

Action not allowed: downloading files for the specified purpose is restricted.

Logo

400

invalid_argument_error

Unrecognized request argument supplied. Please check the headers or input parameters.

Logo

400

content_block_error

The request has been blocked due to content filters.

Logo

400

request_parameter_error

Invalid request: 'functions' and 'tools' cannot both be provided. 'Functions' are deprecated; use the 'tools' parameter instead.

Logo

400

data_format_error

Input data is not of the expected format. Please ensure that the data is structured correctly and try again.

Logo

400

input_type_error

Input content is not of the expected type 'object'.

Logo

400

input_format_error

The input provided is not of the expected string type. Ensure the input adheres to the format requirements and try again.

Logo

400

input_validation_error

Invalid base64 format detected in image_url. Please ensure the input is correctly encoded in base64 format.

Logo

400

type_error

Invalid input: Expected an object type but received None instead.

Logo

400

input_type_error

The provided value is not of the expected type 'number'. Please check and provide an appropriate value.

Logo

400

input_type_error

The input provided is not of the expected string type. Please ensure that 'prompt' is a string.

Logo

400

input_validation_error

Invalid input value: provided value is not among the allowed options. Please ensure the input matches one of ['system', 'assistant', 'user', 'function'].

Logo

400

input_type_error

The provided input does not match the expected type. Ensure that parameters like 'prompt' are correctly formatted as strings.

Logo

400

invalid_argument_error

Unrecognized request argument supplied. Please ensure all arguments are valid.

Logo

400

property_validation_error

Unexpected property detected: Certain properties are not allowed. Please review the input for unexpected entries.

Logo

400

missing_parameter_error

A required model parameter is missing. Please provide the necessary parameters to proceed.

Logo

400

validation_error

Unexpected additional properties are not allowed. The specified properties were not expected within the configuration.

Logo

400

api_precondition_error

Invalid response received: User location is not supported for the API use. Please check the API preconditions and try again.

Logo

400

invalid_argument_error

Invalid response received: Please use a valid role such as user or model.

Logo

400

authentication_error

Authentication failed due to an expired API key. Please renew your API key to restore access.

Logo

400

invalid_argument_error

Invalid response received: Please ensure multiturn requests end with a user role or a function response.

Logo

400

input_validation_error

The 'contents' field is missing in the request. Please provide the necessary content before proceeding.

Logo

400

location_restriction_error

User location is not supported for API use.

Logo

400

request_format_error

Ensure that multi-turn requests are properly formatted to end with a user role or a function response.

Logo

400

authentication_error

Invalid response from Google: API key not found or invalid. Please provide a valid API key.

Logo

400

invalid_argument_error

Invalid response received: Ensure that multiturn requests alternate between user and model for proper processing.

Logo

400

invalid_argument_error

Invalid response received due to missing required fields in the request. Please ensure all necessary content is specified properly.

Logo

400

context_length_exceeded_error

The number of tokens in the prompt exceeds the model's maximum context length of 32768. Please use a shorter prompt.

Logo

400

model_selection_error

Invalid model specified: Please ensure the model name is correct.

Logo

400

model_selection_error

Invalid model: The specified model is not recognized or unavailable. Please verify the model name.

Logo

400

invalid_model_error

The specified model is invalid or unsupported. Please check the model name and try again.

Logo

400

invalid_model_error

The specified model is invalid. Please ensure you are using a supported model.

Logo

400

model_selection_error

Invalid model: The specified model version is not recognized. Please verify the model name and version, and try again.

Logo

400

model_selection_error

The model name provided is invalid. Please ensure the model name is correct and try again.

Logo

400

role_assignment_error

Expected the last role to be user but received a different role. Ensure proper role assignment in your configuration.

Logo

400

sampling_parameter_error

Invalid sampling parameter: top_p must be set to 1 when using greedy sampling.

Logo

400

input_limit_exceeded_error

Too many tokens: the total number of tokens in the prompt exceeds the limit of 4081. Try using a shorter prompt or enable prompt truncating. See https://docs.cohere.com/reference/generate for more details.

Logo

400

unsupported_model_error

Invalid request: the specified model is not supported by the API. Please verify the model name and version.

Logo

400

input_error

Input required: Please ensure that all necessary inputs are provided before proceeding.

Logo

400

input_validation_error

Input validation error: input fields cannot be empty.

Logo

400

input_validation_error

Input validation error: The sum of 'inputs' tokens and 'max_new_tokens' must not exceed 4097. Please adjust your inputs accordingly.

Logo

400

input_validation_error

The 'max_tokens' field is required and cannot be left empty.

Logo

400

input_length_error

Prompt is too long: the number of tokens exceeds the maximum allowed limit.

Logo

400

input_validation_error

At least one message is required. Please ensure your input includes one or more messages.

Logo

400

account_billing_error

Usage is blocked due to insufficient credits. Please visit Plans and Billing to upgrade or purchase credits.

Logo

400

input_limit_exceeded_error

Max tokens exceed the allowable limit for the model. Reduce the number of tokens to comply with the model's constraints.

Logo

400

input_length_error

Input too long: The number of tokens in the input exceeds the maximum allowed length of 4096 tokens. Please reduce the input size.

Logo

400

generic_error

An unknown error has occurred. Please try again or contact support if the problem persists.

Logo

400

json_decoding_error

Could not decode the generated JSON. Ensure your schema is correct, as common issues include typos and bad references.

Logo

400

system_message_error

Only one system message can be specified. Please ensure no more than one system message is included in your request.

Logo

400

validation_error

Invalid configuration: "top_p" must be set to 1 when using greedy sampling. Please adjust your settings accordingly.

Logo

400

missing_data_error

The tool_calls information is missing in the second to last message. Please ensure all required fields are provided.

Logo

400

response_format_error

"messages" must include "json" to use "response_format" as "json_object".

Logo

400

validation_error

Validation failed: The current system does not support n>1. Refer to the documentation or support for more details.

Logo

400

model_incompatibility_error

The embeddings operation does not work with the specified model. Please choose a different model and try again. You can learn more about compatible models for each operation here: https://go.microsoft.com/fwlink/?linkid=2197993.

Logo

400

input_validation_error

Invalid input detected. Please check the API reference for correct usage: https://platform.openai.com/docs/api-reference.

Logo

400

schema_validation_error

Invalid schema for function "guidance_web_qna": Required fields or structure do not match the expected object or boolean types.

Logo

400

invalid_argument_error

Unrecognized request argument supplied. Please check the request parameters and try again.

Logo

400

context_length_error

The request exceeds the model"s maximum context length. Please reduce the length of the messages or completion.

Logo

400

content_policy_violation_error

The response was filtered due to the prompt triggering content management policy. Please modify your prompt and retry. See our documentation for more information on content filtering policies.

Logo

400

invalid_parameter_error

Invalid parameter: the specified response format is not supported with the current model.

Logo

400

unsupported_image_error

You uploaded an unsupported image. Ensure the image is below 20 MB and in one of these formats: png, jpeg, gif, webp.

Logo

400

prompt_error

An error was detected in the prompt. Please try again with a different prompt.

Logo

400

image_validation_error

The provided image is invalid or the data is not recognized.

Logo

400

input_type_error

The provided input does not match the expected type "array" for the "functions" field. Ensure that the input structure is an array as required.

Logo

400

schema_error

Invalid schema detected for a specified function. Please ensure all required items are included in the array schema.

Logo

400

input_validation_error

Invalid value for input: expected a non-null string.

Logo

400

token_limit_exceeded_error

The number of completion tokens provided exceeds the model"s limit of 4096. Adjust the max_tokens parameter to comply with this limit.

Logo

400

validation_error

Invalid input: extra fields are not permitted in the request.

Logo

400

input_content_error

An issue was encountered with repetitive patterns in your prompt. Please try again with a different input.

Logo

400

data_structure_error

The "messages" parameter is expected to be of type "array". Please ensure the input follows the required data structure.

Logo

400

model_incompatibility_error

The completion operation does not work with the specified model. Please choose a different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=2197993.

Logo

400

length_limit_error

"$.messages" exceeds the maximum length of 2048 items. Please reduce the number of items in the messages.

Logo

400

type_validation_error

A non-boolean value was encountered where a boolean type was expected.

Logo

400

unsupported_content_type_error

Invalid content type: image URLs are only supported by certain models.

Logo

400

query_error

User query processing error: The provided input is not of the expected type or format. Please ensure the query adheres to the required structure and retry. Refer to the documentation for valid query formats.

Logo

400

missing_property_error

"content" is a required property but is missing from the input.

Logo

400

input_validation_error

Invalid input: "assitant" is not a recognized role. Accepted roles are "system", "assistant", "user", or "function".

Logo

400

model_operation_error

The specified model is incompatible with the chosen operation. Please select a different model and try again. Learn more about compatible models with operations here: https://go.microsoft.com/fwlink/?linkid=2197993.

Logo

400

schema_validation_error

Invalid schema for function "matching_auto_reply": The provided data type is not valid under the defined schemas.

Logo

400

invalid_parameter_error

Invalid parameter: messages with role "tool" must follow a preceding message with "tool_calls".

Logo

400

type_mismatch_error

The input message does not match the required object type in "messages.0". Please ensure your query is formatted correctly and matches the expected data structure.

Logo

400

input_validation_error

Invalid content in message object. Please check the API reference: https://platform.openai.com/docs/api-reference.

Logo

400

type_validation_error

Invalid data type: expected a "string" for the field "user" but received a different type.

Logo

400

missing_property_error

A required property is missing: "name" is required but not provided in the specified object.

Logo

400

invalid_role_error

Invalid role specified: input value is not one of the allowed roles ["system", "assistant", "user", "function"]. Please ensure the role is correctly defined.

Logo

400

parameter_error

Missing parameter: Messages with the role "function" require a "name" field to be specified.

Logo

400

type_mismatch_error

The input for "tools" or "functions" is expected to be an array, but a different data type was provided. Please ensure the input adheres to the required schema.

Logo

400

type_mismatch_error

The input for 'tools' or 'functions' is expected to be an array, but a different data type was provided. Please ensure the input adheres to the required schema.

Logo

400

input_format_error

Invalid image data: the provided image data is not correctly formatted in base64.

Logo

400

input_size_error

The image size must be greater than zero and cannot exceed 20971520 bytes.

Logo

400

context_length_exceeded_error

The total number of tokens exceeds the model"s maximum context length. Please reduce the length of your messages or functions.

Logo

400

input_validation_error

Function name does not conform to the required pattern: Only letters, numbers, underscores, or hyphens are allowed, with a maximum length of 64 characters.

Logo

400

input_validation_error

Function name does not conform to the required pattern: Only letters, numbers, underscores, or hyphens are allowed, with a maximum length of 64 characters.

Logo

400

schema_validation_error

Invalid schema detected for function due to missing array items in the specified properties context.

Logo

400

input_validation_error

Invalid format: Input does not match the required pattern. Please ensure it adheres to the allowed character set and length constraints.

Logo

400

type_mismatch_error

The input provided is not of the expected type "array". Ensure the structure of the data matches the required format.

Logo

400

validation_error

A required property "type" is missing in the specified section.

Logo

400

validation_schema_error

Invalid schema for function "guidance_web_qna": One or more parameters are not of the expected type "object" or "boolean". Please check the types for "query_item", "answer", and "query_variations".

Logo

400

input_validation_error

The provided value is invalid. Please check the input and try again.

Logo

400

input_validation_error

The provided value is invalid. Please check the input and try again.

Logo

400

invalid_property_error

Additional properties are not allowed. Unexpected property found in the input.

Logo

400

input_validation_error

Invalid input role: expected a role from ["system", "assistant", "user", "function"]. Please correct the role and try again.

Logo

400

url_access_error

The provided image URL is not accessible. Please check the URL and try again.

Logo

400

description_length_error

The description provided for a function or component is too long and exceeds the acceptable limit. Please shorten the description to comply with length constraints.

Logo

400

schema_validation_error

Invalid schema for function "information_extraction": Input must be an "object" or "boolean" type.

Logo

400

validation_error

"parameters" is a required property in the specified configuration.

Logo

400

input_format_error

Input data is not in the correct format: expected a list of messages but received incorrect structure.

Logo

400

invalid_syntax_error

Invalid usage of syntax or function call detected. Please check the API reference for proper guidelines: https://platform.openai.com/docs/api-reference.

Logo

400

function_call_error

Invalid function call: specified function not found in the "functions" parameter. Please ensure the function name is correctly defined.

Logo

400

schema_validation_error

Invalid schema type for function "information_extraction": expected type "object" or "boolean".

Logo

400

function_call_error

Invalid function call: The specified function name does not exist in the provided parameters.

Logo

400

tool_call_response_error

An assistant message with "tool_calls" must be followed by tool messages responding to each "tool_call_id". Ensure there are response messages for all tool_call_ids.

Logo

400

thread_operation_error

Cannot add messages to a thread while an active run is in progress.

Logo

400

content_violation_error

Your input may contain content that is not allowed by our safety system. Please review and ensure it complies with our guidelines.

Logo

400

type_error

Input is not of type "string". Please ensure that the input is a valid string for processing.

Logo

400

input_validation_error

"role" is a required property in the input data. Please ensure all necessary fields are included.

Logo

400

length_error

The provided input is too short. Ensure that the "messages" field meets the required length.

Logo

400

validation_error

Invalid data type detected in request metadata; expected a string type.

Logo

400

input_format_error

Invalid chat format. Content must be either text or image URL type.

Logo

400

validation_error

Input value is less than the required minimum limit. Please ensure "max_tokens" is set to a value of at least 1.

Logo

400

input_format_error

Invalid chat format: Unexpected keys found in message content.

Logo

400

input_validation_error

Invalid value for a required field: ensure dependent fields are specified correctly.

Logo

400

input_validation_error

Invalid value for a required field: ensure dependent fields are specified correctly.

Logo

400

safety_violation_error

Request rejected due to a violation of safety system guidelines. Your prompt may contain disallowed content.

Logo

400

file_type_error

Invalid file type: Only image types are supported.

Logo

400

invalid_parameter_error

The provided size "1600x900" is not valid. Accepted values are: "256x256", "512x512", "1024x1024", "1024x1792", "1792x1024".

Logo

400

validation_error

A required field is missing. Ensure that all mandatory properties are included in the input.

Logo

400

validation_error

A required field is missing. Ensure that all mandatory properties are included in the input.

Logo

400

file_validation_error

Files are invalid.

Logo

400

type_mismatch_error

Input value is not of the expected type "number". Please verify compatibility with the required type for the parameter.

Logo

400

input_validation_error

The "input" property is required but missing. Please provide the necessary data.

Logo

400

value_below_minimum_error

The specified value is less than the minimum requirement of 1 for "max_tokens".

Logo

400

type_mismatch_error

"null" is not a valid "array" type for the "messages" field. Please ensure the data type matches the expected format.

Logo

400

input_validation_error

Invalid input: The provided input does not meet the expected format or values. Please consult the API reference for more information.

Logo

400

validation_error

Input is too short - specific field "functions" is shorter than required length.

Logo

400

input_validation_error

Invalid role specified: the role must be one of ["system", "assistant", "user", "function"].

Logo

400

type_error

The provided JSON is not of the expected "object" type for the response format specification.

Logo

400

incompatibility_error

Requested model is not compatible with the current engine. Please contact support for further assistance.

Logo

400

validation_error

A required field is missing from the request body. Please ensure all necessary fields are provided.

Logo

400

input_format_error

The input provided is not in the expected format. Ensure that the input data is structured as an array of messages to proceed correctly.

Logo

400

type_mismatch_error

The provided "args" argument is not of type "string". Ensure that the arguments passed are of the expected string type.

Logo

400

input_validation_error

Input is too short. Please ensure that the provided input meets the required minimum length.

Logo

400

invalid_role_error

The specified role is not valid. Ensure the role is one of ["system", "assistant", "user", "function"].

Logo

400

value_error

The provided value exceeds the allowable limit. Ensure the value is less than or equal to 100.

Logo

400

input_value_error

Logit bias value is invalid or outside of the acceptable range.

Logo

400

input_format_error

Invalid chat format: missing required "url" field in image_url dictionary.

Logo

400

input_validation_error

The provided input does not match the required type. Expected a "string" but received a different type. Please adjust the input format to meet the specified constraints.

Logo

400

model_size_error

The specified size is not supported by the model.

Logo

400

invalid_argument_error

Unrecognized request argument supplied. Please check the parameters provided in the request.

Logo

400

invalid_role_error

Invalid role specified in the input. The "role" field must be one of: "system", "assistant", "user", or "function".

Logo

400

invalid_input_error

Additional properties are not allowed. Unexpected property found in the input.

Logo

400

type_error

Invalid input: expected "top_p" to be of type "number".

Logo

400

schema_validation_error

The schema for the function is invalid: Required properties are missing.

Logo

400

input_validation_error

Invalid key in "logit_bias": only non-negative integers are allowed.

Logo

400

json_parsing_error

We could not parse the JSON body of your request. Ensure the API expects a JSON payload and verify its validity. Visit help.openai.com for assistance.

Logo

400

permission_error

Action not allowed: downloading files for the specified purpose is restricted.

Logo

400

invalid_argument_error

Unrecognized request argument supplied. Please check the headers or input parameters.

Logo

400

content_block_error

The request has been blocked due to content filters.

Logo

400

request_parameter_error

Invalid request: "functions" and "tools" cannot both be provided. "Functions" are deprecated; use the "tools" parameter instead.

Logo

400

data_format_error

Input data is not of the expected format. Please ensure that the data is structured correctly and try again.

Logo

400

input_type_error

Input content is not of the expected type "object".

Logo

400

input_format_error

The input provided is not of the expected string type. Ensure the input adheres to the format requirements and try again.

Logo

400

input_validation_error

Invalid base64 format detected in image_url. Please ensure the input is correctly encoded in base64 format.

Logo

400

type_error

Invalid input: Expected an object type but received None instead.

Logo

400

input_type_error

The provided value is not of the expected type "number". Please check and provide an appropriate value.

Logo

400

input_type_error

The provided value is not of the expected type 'number'. Please check and provide an appropriate value.

Logo

400

input_validation_error

Invalid input value: provided value is not among the allowed options. Please ensure the input matches one of ["system", "assistant", "user", "function"].

Logo

400

input_type_error

The provided input does not match the expected type. Ensure that parameters like "prompt" are correctly formatted as strings.

Logo

400

invalid_argument_error

Unrecognized request argument supplied. Please ensure all arguments are valid.

Logo

400

property_validation_error

Unexpected property detected: Certain properties are not allowed. Please review the input for unexpected entries.

Logo

400

missing_parameter_error

A required model parameter is missing. Please provide the necessary parameters to proceed.

Logo

400

validation_error

Unexpected additional properties are not allowed. The specified properties were not expected within the configuration.

Logo

400

api_precondition_error

Invalid response received: User location is not supported for the API use. Please check the API preconditions and try again.

Logo

400

invalid_argument_error

Invalid response received: Please use a valid role such as user or model.

Logo

400

authentication_error

Authentication failed due to an expired API key. Please renew your API key to restore access.

Logo

400

invalid_argument_error

Invalid response received: Please ensure multiturn requests end with a user role or a function response.

Logo

400

input_validation_error

The "contents" field is missing in the request. Please provide the necessary content before proceeding.

Logo

400

location_restriction_error

User location is not supported for API use.

Logo

400

request_format_error

Ensure that multi-turn requests are properly formatted to end with a user role or a function response.

Logo

400

authentication_error

Invalid response from Google: API key not found or invalid. Please provide a valid API key.

Logo

400

invalid_argument_error

Invalid response received: Ensure that multiturn requests alternate between user and model for proper processing.

Logo

400

invalid_argument_error

Invalid response received: Ensure that multiturn requests alternate between user and model for proper processing.

Logo

400

context_length_exceeded_error

The number of tokens in the prompt exceeds the model"s maximum context length of 32768. Please use a shorter prompt.

Logo

400

model_selection_error

Invalid model specified: Please ensure the model name is correct.

Logo

400

model_selection_error

Invalid model specified: Please ensure the model name is correct.

Logo

400

invalid_model_error

The specified model is invalid or unsupported. Please check the model name and try again.

Logo

400

invalid_model_error

The specified model is invalid or unsupported. Please check the model name and try again.

Logo

400

model_selection_error

Invalid model: The specified model version is not recognized. Please verify the model name and version, and try again.

Logo

400

model_selection_error

Invalid model: The specified model version is not recognized. Please verify the model name and version, and try again.

Logo

400

role_assignment_error

Expected the last role to be user but received a different role. Ensure proper role assignment in your configuration.

Logo

400

sampling_parameter_error

Invalid sampling parameter: top_p must be set to 1 when using greedy sampling.

Logo

400

input_limit_exceeded_error

Too many tokens: the total number of tokens in the prompt exceeds the limit of 4081. Try using a shorter prompt or enable prompt truncating. See https://docs.cohere.com/reference/generate for more details.

Logo

400

unsupported_model_error

Invalid request: the specified model is not supported by the API. Please verify the model name and version.

Logo

400

input_error

Input required: Please ensure that all necessary inputs are provided before proceeding.

Logo

400

input_validation_error

Input validation error: input fields cannot be empty.

Logo

400

input_validation_error

Input validation error: input fields cannot be empty.

Logo

400

input_validation_error

Input validation error: The sum of 'inputs' tokens and 'max_new_tokens' must not exceed 4097. Please adjust your inputs accordingly.

Logo

400

input_length_error

Prompt is too long: the number of tokens exceeds the maximum allowed limit.

Logo

400

input_validation_error

At least one message is required. Please ensure your input includes one or more messages.

Logo

400

account_billing_error

Usage is blocked due to insufficient credits. Please visit Plans and Billing to upgrade or purchase credits.

Logo

400

input_limit_exceeded_error

Max tokens exceed the allowable limit for the model. Reduce the number of tokens to comply with the model"s constraints.