Data API error codes

The Data API can return the following errors:

Error code Scope Title Description

CANNOT_ADD_EXISTING_COLUMNS

SCHEMA

Columns with the same name are defined in the table schema

Column names must be unique in the table schema.

CANNOT_ADD_EXISTING_FIELD

SCHEMA

Field with the same name are defined in the type definition

The command attempted to add a field with a name that already exists in the type definition.

CANNOT_ADD_EXISTING_INDEX

SCHEMA

Index with the same name exists in the keyspace schema

The command attempted to add an index that already exists in the keyspace schema.

CANNOT_ADD_EXISTING_TABLE

SCHEMA

Table with the same name exists in the keyspace schema

The command attempted to add a table that already exists in the keyspace schema.

CANNOT_ADD_EXISTING_TYPE

SCHEMA

Type with the same name exists in the keyspace schema

The command attempted to add a type that already exists in the keyspace schema.

CANNOT_ADD_PREVIOUSLY_DROPPED_COLUMN

SCHEMA

Column cannot be re-added with a different type

The command attempted to add a column that was previously dropped, and the database rejected it because the new type is incompatible with the type retained in dropped-column metadata.

CANNOT_ADD_UNSUPPORTED_DATA_TYPE_COLUMNS

SCHEMA

Alter table trying to add columns with unsupported data type

The command attempted to add columns with unsupported data types to the table schema.

CANNOT_ANALYZE_ENTRIES_ON_MAP_COLUMNS

SCHEMA

Can not create index on map column with index function entries and specify analyze options

Index function entries can not apply to map column when analyze options are specified.

CANNOT_DROP_INDEXED_COLUMNS

SCHEMA

Columns used in the indexes cannot be dropped

Columns that are indexed cannot be dropped from the table schema.

CANNOT_DROP_PRIMARY_KEY_COLUMNS

SCHEMA

Primary key columns cannot be dropped from the table schema

Primary key columns cannot be dropped from the table schema.

CANNOT_DROP_TYPE_USED_BY_TABLE

SCHEMA

Type cannot be dropped if used by tables

The command attempted to drop a type that is used by tables.

CANNOT_DROP_UNKNOWN_COLUMNS

SCHEMA

Columns cannot be dropped if they are not defined in the table schema

The command attempted to drop columns that are not in the table schema.

CANNOT_DROP_UNKNOWN_INDEX

SCHEMA

Dropped index is not defined in the keyspace schema

The command attempted to drop an index that is not in the keyspace schema.

CANNOT_DROP_UNKNOWN_TABLE

SCHEMA

Dropped table is not defined in the keyspace schema

The command attempted to drop a table that is not in the keyspace schema.

CANNOT_DROP_UNKNOWN_TYPE

SCHEMA

Dropped type is not defined in the keyspace schema

The command attempted to drop a type that is not in the keyspace schema.

CANNOT_DROP_VECTORIZE_FROM_NON_VECTOR_COLUMNS

SCHEMA

Vectorize configuration cannot be dropped from columns if they are not vector type

Columns can only have the vectorize configuration dropped if they use the vector column type.

CANNOT_DROP_VECTORIZE_FROM_UNKNOWN_COLUMNS

SCHEMA

Vectorize configuration cannot be dropped from columns if they are not defined in the table schema

The command attempted to drop vectorize configuration from columns that are not in the table schema.

CANNOT_LEXICAL_FILTER_NON_INDEXED_COLUMNS

FILTER

Lexical filter cannot be used for non-indexed columns

The command attempted to lexical filter on column that is not text-indexed.

CANNOT_LEXICAL_SORT_NON_INDEXED_COLUMNS

SORT

Lexical sort cannot be used for non-indexed columns

The command attempted to lexical sort on column that is not indexed.

CANNOT_LEXICAL_SORT_WITH_SKIP_OPTION

SORT

Skip option cannot be used with lexical sort

The command attempted to lexical sort column along with skip option set.

CANNOT_RENAME_UNKNOWN_TYPE_FIELD

SCHEMA

Field cannot be renamed if it is not defined in the type

The command attempted to rename a field that is not defined in the named type.

CANNOT_SORT_ON_MULTIPLE_VECTORIZE

SORT

More than one vectorize sort provided

The command used a sort clause with more than one vectorize sort, only one vectorize sort is allowed.

CANNOT_SORT_ON_MULTIPLE_VECTORS

SORT

More than one vector sort provided

The command used a sort clause with more than one vector sort, only one vector sort is allowed.

CANNOT_SORT_ON_SPECIAL_WITH_OTHERS

SORT

Special sort combined with other sort expressions

The command used a sort clause with a special (lexical/vector/vectorize) sort combined with one or more other sort expressions:

CANNOT_SORT_UNKNOWN_COLUMNS

SORT

Sorted columns are not defined in the table schema

The command attempted to sort using columns that are not in the table schema.

CANNOT_SORT_VECTOR_AND_NON_VECTOR_COLUMNS

SORT

Vector sort cannot be used with non vector sorting

The command attempted to vector sort vector columns and other non vector columns.

CANNOT_VECTORIZE_NON_VECTOR_COLUMNS

SCHEMA

Columns cannot be vectorized if they are not vector type

Columns can only be vectorized if they use the vector column type.

CANNOT_VECTORIZE_SORT_NON_VECTOR_COLUMN

SORT

Vectorize sort columns are not vector type

The command attempted to vectorize sort on a column that is not of vector type.

CANNOT_VECTORIZE_SORT_WHEN_MISSING_VECTORIZE_DEFINITION

SORT

Vectorize sort not supported on column with missing vectorize configuration

Vectorize sort can only be used with columns that have a vectorize configuration.

CANNOT_VECTORIZE_UNKNOWN_COLUMNS

SCHEMA

Columns cannot be vectorized if they are not defined in the table schema

The command attempted to vectorize columns that are not in the table schema.

CANNOT_VECTOR_SORT_NON_INDEXED_VECTOR_COLUMNS

SORT

Vector sort cannot be used for non indexed vector columns

The command attempted to vector sort vector columns that are not indexed.

CANNOT_VECTOR_SORT_NON_VECTOR_COLUMNS

SORT

Vector sort columns are not vector type

The command attempted to vector sort on a column that is not of vector type.

CANNOT_VECTOR_SORT_ON_MISMATCHED_VECTOR_DIMENSIONS

SORT

Vector sort cannot be used with mismatched vector dimensions

The command attempted to vector sort vector columns with a mismatched vector dimension.

CANNOT_VECTOR_SORT_WITH_LIMIT_EXCEEDS_MAX

SORT

Limit exceeds the maximum allowed for vector sort

The command attempted to vector sort columns with a limit that exceeds the maximum allowed.

CANNOT_VECTOR_SORT_WITH_SKIP_OPTION

SORT

Skip option cannot be used with vector sort

The command attempted to vector sort columns along with skip option set.

COLUMN_NOT_FOUND

SCHEMA

Column doesn’t exist in the table.

Column [column] doesn’t exist in the table.

COLUMN_TYPE_INCORRECT

SCHEMA

Column data type not provided or format invalid in the definition

Column data type not provided or format invalid in the definition.

COMMAND_ACCEPTS_NO_OPTIONS

n/a

Command accepts no options

Command '[command]' does not accept options but some were included.

COMMAND_FIELD_UNKNOWN

n/a

Command field unknown

Command field '[field]' not recognized: [message].

COMMAND_FIELD_VALUE_INVALID

n/a

Command field value invalid

Command field '[field]' value [value] not valid: [message].

COMMAND_UNKNOWN

n/a

Command is not recognized by Data API

Command '[command]' is not a [commandType] recognized by Data API.

COMPARISON_FILTER_UNSUPPORTED_BY_INDEXING

WARNING

Use of $lt, $gt, $lte, $gte (comparison filter) on indexed columns

The filter uses $lt, $gt, $lte, $gte (comparison filters) on columns that, while indexed, are still inefficient to filter on.

DEPRECATED_AI_MODEL

SCHEMA

Cannot use deprecated model.

The command attempted to create or alter a collection or table to use a AI Model that has been marked as deprecated. Deprecated models are only supported by the API for existing use and will later be removed.

DEPRECATED_COMMAND

WARNING

Deprecated command

A deprecated command was used, it may still be used but will be removed in future releases.

DOCUMENT_ALREADY_EXISTS

DOCUMENT

Document the given _id already exists

Cannot insert the document: a document already exists with given '_id' ([id]).

DOCUMENT_REPLACE_DIFFERENT_DOCID

DOCUMENT

Document the given _id already exists

The replace document and document resolved using filter have different '_id’s: [replaceId] (replace document) vs. [matchedId] (document that filter matches).

See also Replace a document.

EMBEDDING_SERVICE_NOT_CONFIGURED

SCHEMA

Embedding service not configured for collection

Collection '[table]' does not have embedding service configured: cannot vectorize data.

END_OF_LIFE_AI_MODEL

SCHEMA

Cannot use end of life model.

The command attempted to use an AI Model that has been marked as end of life. End of life models cannot be used in any way. Collections or tables that use the model must be recreated as data such as embeddings is not transferrable.

EXISTING_COLLECTION_DIFFERENT_SETTINGS

SCHEMA

Collection already exists with different settings

Collection '[collectionName]' already exists but with settings different from ones passed with 'createCollection' command.

EXISTING_INDEX_FOR_COLLECTION

SCHEMA

Cannot create collection due to existing index with conflicting name

The command attempted to create an collection, however the the name of one of the indexes needed for the collection conflicts with an existing index in the database.

EXISTING_TABLE_NOT_DATA_API_COLLECTION

SCHEMA

Existing table not a valid Data API collection

Attempt to create new collection failed: table '[tableName]' already exists and it is not a valid Data API collection.

FILTER_FIELDS_LIMIT_VIOLATION

FILTER

Filter fields size limitation violated

Filter has [fieldCount] fields, exceeds maximum allowed ([maxFieldCount]).

FILTER_ID_NOT_INDEXED

FILTER

Collection field '_id' not indexed can only filter with '$eq' or '$in'

Collection field '_id' is never indexed so filtering can only be done using operators '$eq' or '$in', not '[operator]'.

FILTER_INVALID_EXPRESSION

FILTER

Unsupported filter clause

Unsupported filter clause: [message].

FILTER_MULTIPLE_ID_FILTER

FILTER

Can only have one '_id' equals filter clause

Command included more than one '_id' equals filter clauses, which is not supported: use '$in' operator instead.

FILTER_PATH_UNINDEXED

FILTER

Collection path used in filter clause not indexed

Collection path '[path]' is not indexed: cannot filter on that path.

See also Selective indexing.

FILTER_UNSUPPORTED_DATA_TYPE

FILTER

Unsupported filter data type

Unsupported filter data type: [message].

FILTER_UNSUPPORTED_OPERATOR

FILTER

Unsupported filter operator

Unsupported [message].

HYBRID_FIELD_CONFLICT

n/a

Conflict with $hybrid field

Field '$hybrid' cannot be used with '$lexical', '$vector', or '$vectorize'.

HYBRID_FIELD_UNKNOWN_SUBFIELDS

n/a

Unknown sub-field(s) for $hybrid field

Unknown sub-field(s) for '$hybrid' field: [errorMessage].

HYBRID_FIELD_UNSUPPORTED_SUBFIELD_VALUE_TYPE

n/a

Unsupported JSON value type for $hybrid sub-field

Unsupported JSON value type for '$hybrid' sub-field: [errorMessage].

HYBRID_FIELD_UNSUPPORTED_VALUE_TYPE

n/a

Unsupported JSON value type for $hybrid field

Unsupported JSON value type for '$hybrid' field: [errorMessage].

INCOMPLETE_PRIMARY_KEY_FILTER

WARNING

Incomplete filter on table primary key

The filter only specified columns from the primary key, but did not specify the full primary key for the table.

INVALID_COLUMN_VALUES

DOCUMENT

Column values in documents are not valid

Only values that are supported by the column data type can be included when inserting a document into a table.

INVALID_CREATE_COLLECTION_FIELD

n/a

Invalid field(s) for createCollection

'createCollection' command referenced unrecognized field(s): [message]

INVALID_CREATE_COLLECTION_OPTIONS

SCHEMA

Invalid options for createCollection

'createCollection' command option(s) invalid: [message]

INVALID_FILTER_COLUMN_VALUES

FILTER

Column value in filter is not valid

Only values that are supported by the column data type can be included when filtering.

INVALID_FORMAT_FOR_INDEX_CREATION_COLUMN

SCHEMA

Unable to create index, format for index creation column is invalid.

Command has an invalid format for index creation column.

INVALID_INDEXING_DEFINITION

SCHEMA

Invalid indexing definition

'createCollection' indexing definition invalid: [errorMessage].

INVALID_INDEX_DEFINITION

SCHEMA

Provided index configuration is not valid.

Provided index configuration is not valid: [reason].

INVALID_KEYSPACE

SCHEMA

Keyspace used is not valid.

Keyspace used is not valid: [keyspace]

INVALID_MAP_SET_LIST_FILTER

FILTER

Command has invalid filter against a map, set, or list column

Command has an invalid filter, [detailedReason].

INVALID_PRIMARY_KEY_FILTER

FILTER

Primary key filtering must specify columns in schema order

The command requires a filter on the primary key that specifies all of the partitioning keys, and the partition sort keys in order.

INVALID_PUSH_OPERATOR_USAGE

UPDATE

The command has invalid usage of $push operator

The command has invalid usage of $push operator, [reason].

INVALID_REGULAR_SORT_EXPRESSION

SORT

Sort expression is not valid for regular sort

The command attempted to use unsupported JSON expression [jsonExpr] (type [jsonType]) for sort clause.

INVALID_RERANK_OVERRIDE

n/a

Invalid reranking service override

The reranking service override in the findAndRerank command is invalid.

INVALID_UPDATE_COLUMN_VALUES

UPDATE

Column value in update clause is not valid

Only values that are supported by the column data type can be included when updating.

INVALID_USAGE_OF_VECTORIZE

SCHEMA

Invalid use of '$vector' and '$vectorize'

'$vector' and '$vectorize' cannot be used together in same document[extraDesc].

INVALID_USER_DEFINED_TYPE_NAME

SCHEMA

User defined type name is not valid.

User defined type name is not valid: [udtName].

INVALID_VECTORIZE_FIELD_CONFIGURATION

SCHEMA

Unable to parse vectorize configuration for table, field schema invalid.

Unable to parse vectorize configuration, schema invalid for field '[field]' (of table '[keyspace].[table]').

INVALID_VECTORIZE_TABLE_CONFIGURATION

SCHEMA

Unable to parse vectorize configuration for table.

Unable to parse vectorize configuration, schema invalid for table '[keyspace].[table]'.

INVALID_VECTORIZE_VALUE_TYPE

DOCUMENT

Invalid $vectorize value type

Invalid $vectorize value: [errorMessage].

INVALID_VECTOR_LENGTH

DOCUMENT

Vector values in documents are not valid

The command attempted to update or find using $vector, using a vector that has a length different to the declared '$vector' dimension for the Collection.

INVALID_VECTOR_SORT_EXPRESSION

SORT

Sort expression is not valid for vector/vectorize sort

The command attempted to use unsupported JSON type ([jsonType]) for vector or vectorize sort.

IN_MEMORY_SORTING_DUE_SKIP_OPTIONS

WARNING

Sorting uses skip option, performing as in memory sort

Sorting uses skip option, performing as in memory sort

IN_MEMORY_SORTING_DUE_TO_MISSING_PARTITION_SORTING

WARNING

Sorting with missing partition sorting columns

The command used columns in the sort clause that are all part of the partition sorting, however the sort clause was missing some of the partition sorting columns.

IN_MEMORY_SORTING_DUE_TO_NON_PARTITION_SORTING

WARNING

Sorting by non partition sorting columns

The command used columns in the sort clause that are not part of the partition sorting, and so the query was sorted in memory.

IN_MEMORY_SORTING_DUE_TO_OUT_OF_ORDER_PARTITION_SORTING

WARNING

Sorting on out of order partition sorting columns

The command used columns in the sort clause that are all part of the partition sorting, however the sort clause used a different column order to the partition sorting.

IN_MEMORY_SORTING_DUE_TO_PARTITION_KEY_NOT_RESTRICTED

WARNING

Sorting with partition key not restricted correctly in filter clause

The command wants to perform sort, however the filter clause does not have partition keys correctly restricted.

LEXICAL_CONTENT_TOO_LONG

DOCUMENT

Lexical content exceeds maximum length

The command attempted to insert or update the $lexical field with content that exceeds the maximum allowed length.

LEXICAL_FEATURE_NOT_ENABLED

SCHEMA

Lexical search is not available on this database

The command attempted to enable lexical search functionality but lexical search is not supported by this database.

LEXICAL_NOT_ENABLED_FOR_COLLECTION

SCHEMA

Lexical search is not enabled for the collection

Lexical content can only be added and filtering and sort only be used on collections for which Lexical feature is enabled.

MCP_FEATURE_NOT_ENABLED

SCHEMA

MCP feature not enabled

MCP feature is not enabled for this database.

MISSING_ALTER_TABLE_OPERATIONS

SCHEMA

Alter table command must include operations

The alterTable command must contain at least one operation to alter the table schema, such as adding or dropping columns.

MISSING_ALTER_TYPE_OPERATIONS

SCHEMA

Alter type command must include operations

The alterType command must contain at least one operation to alter the type schema, such as adding or renaming fields.

MISSING_AUTHENTICATION_TOKEN

SECURITY

Missing authorization token

The command did not include an authorization token in the request headers.

MISSING_DIMENSION_IN_VECTOR_COLUMN

SCHEMA

Dimension is required for vector column if embedding service is not specified

The dimension is required for vector columns if the embedding service is not specified.

MISSING_FIELDS_FOR_TYPE_CREATION

SCHEMA

At least one field is required for type creation

The type definition must have at least one field.

MISSING_FILTER_FOR_UPDATE_DELETE

FILTER

Update and delete commands require a filter

Update and delete commands for tables require a filter.

MISSING_FULL_PRIMARY_KEY_FOR_UPDATE_DELETE

FILTER

updateOne and deleteOne commands require filtering on the full primary key

The updateOne and `deleteOne`commands can only filter using the fully specify the primary key for the table.

MISSING_INDEX

WARNING

Filter includes columns that are not indexed

The filter includes columns that are not indexed.

MISSING_PARTITION_COLUMNS

SCHEMA

Partitioning keys are required for tables

The table definition must have at least one partition key.

MISSING_PRIMARY_KEY_COLUMNS

DOCUMENT

Primary key columns missing

All primary key columns must be provided when inserting a document into a table.

MISSING_RERANK_QUERY_TEXT

n/a

Rerank query text is missing

The findAndRerank command is missing the text to use as the query with the reranking model.

MISSING_UPDATE_OPERATIONS

UPDATE

Update operation requires at least one operation

The command did not include any non empty update operations to change the columns in the table.

NOT_EQUALS_UNSUPPORTED_BY_INDEXING

WARNING

Use of $ne (not equals) on indexed columns

The filter uses $ne (not equals) on columns that, while indexed, are still inefficient to filter on using not equals.

NOT_IN_FILTER_UNSUPPORTED_BY_INDEXING

WARNING

Use of $nin on indexed columns

The filter uses $nin on columns that, while indexed, are still inefficient to filter on.

OVERLOADED_SORT_ROW_LIMIT

SORT

Sort aborted due to in-memory sort restriction

The command used in-memory sorting which has a limit of [maxLimit] [unit]s.

PRIMARY_KEY_DEFINITION_INCORRECT

SCHEMA

Primary key definition provided is incorrect.

Primary key definition provided is incorrect.

QUERY_RETRIED_DUE_TO_INDEXING

WARNING

Query was retried due lack of primary or index usage

The Data API failed to detect that the query generated by the command was inefficient due to a lack of primary key or index usage, and so it was retried after failing.

REQUEST_NOT_JSON

n/a

Request not valid JSON

Request not valid JSON, problem: [errorMessage].

REQUEST_STRUCTURE_MISMATCH

n/a

Request structure not valid

Request is valid JSON but has a structural mismatch: [errorMessage].

RERANKING_FEATURE_NOT_ENABLED

SCHEMA

Reranking feature not enabled

Reranking feature is not enabled for this database.

RERANKING_PROVIDER_AUTHENTICATION_KEY_NOT_PROVIDED

SCHEMA

Reranking provider has no authentication key

No authentication key provided for reranking provider: In order to rerank, please provide the reranking API key.

RERANKING_PROVIDER_CLIENT_ERROR

SCHEMA

Reranking provider client error

Reranking provider client error: [errorMessage].

RERANKING_PROVIDER_RATE_LIMITED

SCHEMA

Reranking provider rate-limited

Reranking provider rate-limited: [errorMessage].

RERANKING_PROVIDER_SERVER_ERROR

SCHEMA

Reranking provider server error

Reranking provider server error: [errorMessage].

RERANKING_PROVIDER_UNEXPECTED_RESPONSE

SCHEMA

Unexpected response from reranking provider

Reranking provider returned an unexpected response: [errorMessage].

RERANKING_SERVICE_TYPE_UNAVAILABLE

SCHEMA

Reranking service type unavailable

Reranking service type unavailable: [errorMessage].

SHRED_BAD_BINARY_VECTOR_VALUE

DOCUMENT

Bad binary vector value to shred

Bad binary vector value to shred: [errorMessage].

SHRED_BAD_DOCID_TYPE

DOCUMENT

Bad type for '_id' field

Bad type for '_id' field: [errorMessage].

SHRED_BAD_DOCID_VALUE

DOCUMENT

Bad value for '_id' field

Bad value for '_id' field: [errorMessage].

SHRED_BAD_DOCUMENT_LEXICAL_TYPE

DOCUMENT

Bad $lexical value to shred

Bad $lexical value to shred: [errorMessage].

SHRED_BAD_DOCUMENT_TYPE

DOCUMENT

Bad document type to shred

Bad document type to shred: document must be a JSON Object, instead got a JSON [documentType].

SHRED_BAD_DOCUMENT_VECTOR_TYPE

DOCUMENT

Bad $vector value to shred

Bad $vector value to shred: [errorMessage].

SHRED_BAD_EJSON_VALUE

DOCUMENT

Bad JSON Extension value to shred

Bad JSON Extension value to shred: [errorMessage].

SHRED_BAD_FIELD_NAME

DOCUMENT

Document field name not valid

Document field name not valid: [errorMessage].

SHRED_BAD_VECTOR_SIZE

DOCUMENT

Bad $vector value

Bad $vector value: cannot be empty Array.

SHRED_BAD_VECTOR_VALUE

DOCUMENT

Bad $vector value

Bad $vector value: needs to be an array containing only Numbers but has a [nodeType] value ([nodeValue]).

SHRED_DOC_LIMIT_VIOLATION

DOCUMENT

Document size limitation violated

Document size limitation violated: [errorMessage].

SORT_CLAUSE_INVALID

SORT

Sort clause used by command not valid

Sort clause used by command not valid.

SORT_CLAUSE_PATH_INVALID

SORT

Path used in sort clause not valid

Path '[path]' used in sort clause not valid: [problem].

SORT_CLAUSE_PATH_UNINDEXED

SORT

Collection field used in sort clause not indexed

Collection field '[path]' is not indexed: cannot sort using it.

SORT_CLAUSE_VALUE_INVALID

SORT

Value used for sort expression not valid

Value used for sort expression on path '[path]' not valid: [problem].

TOO_MANY_COLLECTIONS

SCHEMA

Too many collections

Cannot create collection '[table]': the maximum number of collections per database is [collectionMaxCount], database already has [collectionCount].

TOO_MANY_INDEXES_FOR_COLLECTION

SCHEMA

Cannot create collection due to number of existing indexes

The command attempted to create an collection, however the number of indexes in the database has reached the maximum allowed.

UNAUTHENTICATED_REQUEST

SECURITY

Authentication failed

Authentication failed for request due to invalid token.

UNAUTHORIZED_ACCESS

SECURITY

Unauthorized access to the database

The command is not authorized to perform the action on the database.

UNKNOWN_COLLECTION_OR_TABLE

SCHEMA

Collection or Table does not exist in the Keyspace

The command tried to get a Collection or Table [table] that does not exist in the Keyspace [keyspace].

UNKNOWN_DATA_TYPE

SCHEMA

Data type is unknown

The column definition used a data type that is not known.

UNKNOWN_INDEX_COLUMN

SCHEMA

Index column is not defined in the table schema

The command attempted to create an index on a column that is not in the table schema.

UNKNOWN_INDEX_TYPE

SCHEMA

Index type is unknown

The command attempted to create an index using an unknown type.

UNKNOWN_KEYSPACE

SCHEMA

Keyspace does not exist in the Database

The command tried to use a Keyspace that does not exist in the Database.

UNKNOWN_PARTITION_COLUMNS

SCHEMA

Partition columns are not defined in the table schema

The column used to partition by are not present in the table schema.

UNKNOWN_PARTITION_SORT_COLUMNS

SCHEMA

Partition sort columns are not defined in the table schema

The columns used for partition sorting are not present in the table schema.

UNKNOWN_PRIMITIVE_DATA_TYPE

SCHEMA

Primitive data type is unknown

The column definition used the short hand for the data type, which only supports primitive data types.

UNKNOWN_TABLE_COLUMNS

DOCUMENT

Columns in documents are not defined in the table schema

Only columns defined in the table schema can be included when inserted a document into a table.

UNKNOWN_TABLE_COLUMNS

FILTER

Columns in the filter are not defined in the table schema

Only columns defined in the table schema can be filtered on.

UNKNOWN_TABLE_COLUMNS

UPDATE

Columns in the update are not defined in the table schema

Only columns defined in the table schema can be updated.

UNKNOWN_TABLE_COLUMNS

PROJECTION

Columns in the projection are not defined in the table schema

Only columns defined in the table schema can be included in the projection.

UNKNOWN_USER_DEFINED_TYPE

SCHEMA

User defined type is unknown

The column uses a user defined type that is not known.

UNKNOWN_VECTOR_METRIC

SCHEMA

Vector metric is unknown

The command attempted to create an vector index using a metric that is not known by the API.

UNKNOWN_VECTOR_SOURCE_MODEL

SCHEMA

Vector source model is unknown

The command attempted to create an vector index using a vector source model that is not known by the API.

UNSUPPORTED_COLLECTION_COMMAND

n/a

Command is not supported by collections

The command is not supported by collections in the API.

UNSUPPORTED_COLUMN_TYPES

DOCUMENT

Column types in documents are not supported

Only supported column types can be included when inserting a document into a table.

UNSUPPORTED_COLUMN_TYPES

FILTER

Column types in the filter are not supported

Only column types supported by the API can be filtered on.

UNSUPPORTED_COLUMN_TYPES

UPDATE

Column types in update clause are not supported

Only supported column types can be included when updating columns in a table.

UNSUPPORTED_COLUMN_TYPES

PROJECTION

Column types in projection are not supported

Only supported column types can be included when reading from a table.

UNSUPPORTED_COMPARISON_FILTER_AGAINST_DURATION

FILTER

Duration data type does not support comparison filters

Filtering using the comparison operations ($lt, $gt, $lte, $gte) is not supported against duration column types.

UNSUPPORTED_CONTENT_TYPE

n/a

Unsupported Content-Type

Request sent with unsupported 'Content-Type' header value.

UNSUPPORTED_DATA_TYPE_TABLE_CREATION

SCHEMA

Table creation with unsupported data types

The column definition used unsupported data types for the table creation.

UNSUPPORTED_FILTERING_FOR_COLUMN_TYPES

FILTER

Column types in the filter do not support the filter operations

Filtering is only supported on primitive data types such as text not on container types such as list, set, map, or vector.

UNSUPPORTED_FILTER_FOR_UPDATE_ONE_DELETE_ONE

FILTER

updateOne and deleteOne commands only support filtering using $eq

The Filtering using the non $eq filter operations can select more than one row, and so cannot be used with the updateOne and deleteOne commands as they can only modify one row.

UNSUPPORTED_INDEXING_FOR_DATA_TYPES

SCHEMA

Indexing not supported by data types

The command attempted to create an index on a column that uses a data type not supported for indexing.

UNSUPPORTED_INDEXING_FOR_FROZEN_COLUMN

SCHEMA

Index creation on a frozen column is not supported

The command attempted to create an index on a column that is frozen.

UNSUPPORTED_INDEX_TYPE

SCHEMA

Index type is not supported

The command attempted to create an index using an unsupported type.

UNSUPPORTED_JSON_TYPE_FOR_TEXT_INDEX

SCHEMA

JSON value type is not supported for creating text index

The command attempted to create a text index using an unsupported JSON value type.

UNSUPPORTED_LIST_DEFINITION

SCHEMA

List definition contains unsupported data types

The command attempted to create a list column that used an unsupported type for the value.

UNSUPPORTED_MAP_DEFINITION

SCHEMA

Map definition contains unsupported data types

The command attempted to create a map column that used unsupported types for either the key or value.

UNSUPPORTED_NON_PRIMARY_KEY_FILTER_FOR_UPDATE_DELETE

FILTER

Update and delete commands only support filtering on the primary key

The Update or delete commands can only filter using columns that are part of the primary key.

UNSUPPORTED_OVERLAPPING_UPDATE_OPERATIONS

UPDATE

Columns cannot be changed by multiple update operations

The command included multiple update operations that attempted to change the same column. For example, attempting to both $set and $unset a column.

UNSUPPORTED_PAGINATION_WITH_IN_MEMORY_SORTING

SORT

Pagination not supported when using in-memory sorting

Pagination is not supported when the data is sorted in-memory.

UNSUPPORTED_PROJECTION_DEFINITION

PROJECTION

Unsupported projection definition

Unsupported projection definition JSON value: must be Object, was [projectionValueType].

UNSUPPORTED_PROJECTION_PARAM

PROJECTION

Unsupported projection parameter

Unsupported projection parameter: [errorMessage].

UNSUPPORTED_RERANKING_COMMAND

n/a

Reranking not enabled and no override provided

The findAndRerank is not enabled for the collection, and a reranking service override was not provided with the command.

UNSUPPORTED_SCHEMA_NAME

SCHEMA

The used schema name is not supported

The command attempted to create a [schemaType] with a name that is not supported.

UNSUPPORTED_SET_DEFINITION

SCHEMA

Set definition contains unsupported data types

The command attempted to create a set column that used an unsupported type for the value.

UNSUPPORTED_SORT_FOR_TABLE_DELETE_COMMAND

SORT

Sorting not supported by delete command on tables

The command attempted to sort a delete command running against a table.

UNSUPPORTED_SORT_FOR_TABLE_UPDATE_COMMAND

SORT

Sorting not supported by update command on tables

The command attempted to sort a update command running against a table.

UNSUPPORTED_TABLE_COMMAND

n/a

Command is not supported by tables

The command is not supported by tables in the API.

UNSUPPORTED_TEXT_ANALYSIS_FOR_DATA_TYPES

SCHEMA

Analysed text index not supported by data types

The command attempted to create an index that specified text analysis on a column that uses a data type not supported for text analysis.

UNSUPPORTED_TEXT_INDEX_FOR_DATA_TYPES

SCHEMA

Text index not supported by data types

The command attempted to create a text index on a column that is not a text or ascii type.

UNSUPPORTED_TYPE_FIELDS

SCHEMA

Type definition contains unsupported fields.

The command attempted to create a user defined type with field definitions that use unsupported types.

UNSUPPORTED_UPDATE_DATA_TYPE

UPDATE

Unsupported update data type

Unsupported update data type: [errorMessage].

UNSUPPORTED_UPDATE_FOR_PRIMARY_KEY_COLUMNS

UPDATE

Primary key columns cannot be updated

Columns in the primary key for the table cannot be updated.

UNSUPPORTED_UPDATE_OPERATION

UPDATE

Unsupported update operation

Unsupported update operation: [errorMessage].

UNSUPPORTED_UPDATE_OPERATIONS_FOR_TABLE

UPDATE

Update operation not supported by tables

The command included update operations that are not supported by tables.

UNSUPPORTED_UPDATE_OPERATION_MODIFIER

UPDATE

Unsupported update operation modifier

Unsupported update operation modifier: [errorMessage].

UNSUPPORTED_UPDATE_OPERATION_PARAM

UPDATE

Unsupported update operation parameter

Unsupported update operation parameter: [errorMessage].

UNSUPPORTED_UPDATE_OPERATION_PATH

UPDATE

Unsupported update operation path

Unsupported update operation path: [errorMessage].

UNSUPPORTED_UPDATE_OPERATION_TARGET

UPDATE

Unsupported update operation target

Unsupported target JSON value for update operation: [errorMessage].

UNSUPPORTED_UPDATE_OPERATOR

UPDATE

Update operator is not supported by target columns

Only update operators that are supported by the column type can be used in the update clause.

UNSUPPORTED_UPDATE_OPERATOR_FOR_DOC_ID

UPDATE

Update operators cannot be used on _id field

The command used the update operator: [operator].

UNSUPPORTED_UPDATE_OPERATOR_FOR_LEXICAL

UPDATE

Update operator cannot be used on $lexical field

The command used the update operator: [operator].

UNSUPPORTED_UPDATE_OPERATOR_FOR_VECTOR

UPDATE

Update operator cannot be used on $vector field

The command used the update operator: [operator].

UNSUPPORTED_UPDATE_OPERATOR_FOR_VECTORIZE

UPDATE

Update operator cannot be used on $vectorize field

The command used the update operator: [operator].

UNSUPPORTED_VECTORIZE_CONFIGURATIONS

DOCUMENT

Unsupported combination of vectorize configurations

A request can include only one unique combination of provider, model, and dimension for vectorization.

UNSUPPORTED_VECTORIZE_SORT_FOR_COLLECTION

SORT

Vectorize sorting not supported by the collection

The command attempted to use vectorize sort (keyword '$vectorize' or '$hybrid') against a collection that does not have vectorize enabled.

UNSUPPORTED_VECTORIZE_WHEN_MISSING_VECTORIZE_DEFINITION

DOCUMENT

Vectorize not supported on column with missing vectorize configuration

Vectorize can only be used with columns that have a vectorize configuration.

UNSUPPORTED_VECTORIZE_WHEN_MISSING_VECTORIZE_DEFINITION

DOCUMENT

Vectorize not supported on column with missing vectorize configuration

Vectorize can only be used with columns that have a vectorize configuration.

UNSUPPORTED_VECTORIZE_WHEN_MISSING_VECTORIZE_DEFINITION

UPDATE

Vectorize requires a column with vectorize definition

Vectorize can onl be performed on columns that have a vectorize configuration.

UNSUPPORTED_VECTOR_DIMENSION

SCHEMA

Vector definition contains unsupported dimension

The command attempted to create a vector column that used an unsupported configuration.

UNSUPPORTED_VECTOR_INDEX_FOR_DATA_TYPES

SCHEMA

Vector index not supported by data types

The command attempted to create a vector index on a column that is not a vector type.

UNSUPPORTED_VECTOR_SORT_FOR_COLLECTION

SORT

Vector sorting not supported by the collection

The command attempted to vector sort against a collection that does not have vectors enabled.

VECTORIZE_CREDENTIAL_INVALID

SCHEMA

Invalid credential name for vectorize

Invalid credential name for vectorize, with error: [errorMessage].

VECTORIZE_FEATURE_NOT_AVAILABLE

SCHEMA

Vectorize feature not available

Vectorize feature is not available in the environment.

VECTOR_SEARCH_NOT_SUPPORTED

SCHEMA

Vector search not enabled for collection

Vector search is not enabled for collection: [keyspace].[table].

VECTOR_SEARCH_TOO_BIG_VALUE

SCHEMA

Vector embedding property too big

Vector embedding property '$vector' length too big: [length] (max [maxLength]).

VECTOR_SEARCH_UNKNOWN_FUNCTION_NAME

SCHEMA

Unknown vector search function name

Unknown vector search function name: '[function]'.

VECTOR_SEARCH_UNRECOGNIZED_SOURCE_MODEL_NAME

SCHEMA

Unrecognized vector search source model name

Unrecognized vector search source model name: [errorMessage].

ZERO_FILTER_OPERATIONS

WARNING

Zero operations provided in query filter

Zero filters were provided in the filter for this query.

Was this helpful?

Give Feedback

How can we improve the documentation?

© Copyright IBM Corporation 2026 | Privacy policy | Terms of use Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: Contact IBM