Status codes

更新时间:
复制 MD 格式

Status codes returned by DashVector API operations.

Reason

Code

Description

Success

0

Success

Timeout

408

Timeout

Closed

-998

The client is shut down.

Unknown

-999

Unknown exception.

EmptyCollectionName

-2000

The collection name is empty.

EmptyColumnName

-2001

The field name is empty.

EmptyPartitionName

-2002

The partition name is empty.

EmptyColumns

-2003

Document fields are empty.

EmptyPrimaryKey

-2004

Inserted document primary key is empty.

EmptyDocList

-2005

Inserted document list is empty.

EmptyDocFields

-2006

Document field list is empty.

EmptyIndexField

-2007

Document index field is empty.

InvalidRecord

-2008

Invalid document record.

InvalidQuery

-2009

Invalid query request.

InvalidWriteRequest

-2010

Invalid write request.

InvalidVectorFormat

-2011

Invalid vector format.

InvalidDataType

-2012

Invalid vector data type.

InvalidIndexType

-2013

Invalid index type.

InvalidFeature

-2014

Invalid vector.

InvalidFilter

-2015

Invalid filter condition.

InvalidPrimaryKey

-2016

Invalid primary key.

InvalidField

-2017

Invalid document field.

MismatchedIndexColumn

-2018

Index field mismatch.

MismatchedDimension

-2019

Vector dimension mismatch.

MismatchedDataType

-2020

Vector data type mismatch.

InexistentCollection

-2021

The collection does not exist.

InexistentPartition

-2022

The partition does not exist.

InexistentColumn

-2023

The field does not exist.

InexistentKey

-2024

The primary key does not exist.

DuplicateCollection

-2025

The collection already exists.

DuplicatePartition

-2026

The partition already exists.

DuplicateKey

-2027

Duplicate document primary key.

DuplicateField

-2028

Duplicate document field.

UnreadyPartition

-2029

The partition is not ready.

UnreadyCollection

-2030

The collection is not ready.

UnsupportedCondition

-2031

Unsupported query condition.

MismatchedBatchResult

-2031

Batch query statement mismatch.

OrderbyNotInSelectItems

-2032

Invalid sorting field.

PbToSqlInfoError

-2033

Failed to convert query parameters.

ExceedRateLimit

-2034

Request throttled.

InvalidSparseValues

-2035

Invalid sparse vector value.

InvalidBatchSize

-2036

Invalid batch size.

InvalidDimension

-2037

Invalid dimension.

InvalidExtraParam

-2038

Invalid extra parameter.

InvalidRadius

-2039

Invalid radius query parameter.

InvalidLinear

-2040

Invalid linear query parameter.

InvalidTopk

-2041

Invalid TopK value.

InvalidCollectionName

-2042

Invalid collection name.

InvalidPartitionName

-2043

Invalid partition name.

InvalidFieldName

-2044

Invalid document field name.

InvalidChannelCount

-2045

Invalid number of shards.

InvalidReplicaCount

-2046

Invalid number of replicas.

InvalidJson

-2047

Invalid JSON.

InvalidClusterConfig

-2048

Invalid Cluster parameter.

DuplicateCluster

-2049

Duplicate Cluster.

InexistentCluster

-2050

The Cluster does not exist.

InvalidClusterStatus

-2051

Invalid Cluster status.

RpcTimedout

-2052

RPC request timed out.

InvalidGroupBy

-2053

Invalid group query request.

AllOpFailed

-2938

All batch operations failed.

ClusterWhitelistError

-2939

Cluster whitelist validation failed.

InvalidQuantizeType

-2947

Invalid quantization type.

CollectionDumperNotExist

-2948

The collection dump task does not exist.

CollectionDumperExist

-2949

The last dump task for the collection has not finished.

CollectionDumperError

-2950

The collection dump task failed.

InvalidSparseIndices

-2951

Invalid sparse vector index.

InvalidEndpoint

-2952

Invalid Endpoint.

NoAuthCluster

-2958

Cluster access denied.

SignatureErr

-2959

Signature error.

ClusterNotServicing

-2961

The Cluster is not ready.

InvalidClusterName

-2962

Invalid Cluster name.

InvalidClusterStatus

-2963

Invalid Cluster status.

ForbidCreateCollection

-2964

Cannot create collections during a Cluster update.

CeasedCluster

-2965

Cluster payment overdue.

InvalidClusterSpecifiation

-2966

Invalid Cluster specification.

ExceedIdsLimit

-2967

Document primary key count exceeds the limit.

InvalidVectorType

-2968

Invalid vector type.

ExceedRequestSize

-2970

Request size exceeds the limit.

EmptyClusterName

-2971

The Cluster name is empty.

EmptyVectorAndId

-2972

The vector and primary key are both empty.

ExistVectorAndId

-2973

Both the vector and primary key are provided.

TokenEmpty

-2976

The API key is empty.

TokenDelete

-2978

The API key is deleted.

TokenExpired

-2979

The API key has expired.

TokenDontExist

-2980

The API key does not exist.

DropPartitonFilter

-2992

The default partition cannot be deleted.

InvalidDocId

-2994

Invalid document primary key.

ExceedFieldLimit

-2995

Document field count exceeds the limit.

ExceedCollectionLimit

-2996

Collection count exceeds the limit.

ExceedPartitionLimit

-2997

Partition count exceeds the limit.

ExceedDocLimit

-2998

The text exceeds the character limit.

InvalidArgument

-2999

Invalid parameter.

SystemError

-50000

System error.