AI_FUNCTION_INVALID_MODEL_PARAMETERS error class

SQLSTATE: 22023

The provided model parameters (<modelParameters>) are invalid in the AI_QUERY function for serving endpoint “<endpointName>”.

FOUND_RESERVED_PARAMETER_NAME

The “<parameterName>” parameter should be specified in the “request” argument of AI_QUERY.

INVALID_NUMERIC_PARAMETER

The “<parameterName>” parameter must be <valueConstraint> for the modelParameters argument of AI_QUERY.

INVALID_PARAMETER_DATA_TYPE

The “<parameterName>” parameter has invalid data type. Expected <expectedType> data type but found <inputValue>.

MODEL_SCHEMA_PARSE_ERROR

Failed to parse the schema for the serving endpoint “<endpointName>”: <errorMessage>, response JSON was: “<responseJson>”.

UNSUPPORTED_ENDPOINT_TYPE

AI_QUERY function does not support the modelParameters argument for custom model endpoint.

UNSUPPORTED_MODEL_PARAMETER

The “<parameterName>” parameter is not supported for the serving endpoint.