Analytics Error Codes

      +

      The following table lists all of the Analytics error codes, their error message, and some tips to resolve them.

      20xxx Codes (authorization)

      ICode Message Description

      20000

      Unauthorized user.

      Unauthorized user.

      20001

      User must have permission ([string])

      User is missing a permission to perform an operation.

      20002

      Invalid credentials for link [string]

      Invalid credentials for link [string]

      21xxx Codes (API errors)

      ICode Message Description

      21000

      Invalid duration "[string]"

      Invalid duration "[string]"

      21001

      Unknown duration unit [string]

      Unknown duration unit [string]

      21002

      Request timed out and will be cancelled

      Request timed out and will be cancelled

      21003

      Unsupported multiple statements.

      Unsupported multiple statements.

      21004

      No statement provided

      No statement provided

      21005

      Error in the backup request or data. [string]

      Error in the backup request or data. [string]

      21007

      Request [string] has been cancelled

      Request [string] has been cancelled

      21008

      Invalid value for parameter '[string]': [string]

      Invalid value for parameter '[string]': [string]

      21009

      Unable to process JSON content in request

      Unable to process JSON content in request

      21010

      Parameter(s) [string] must be specified

      Parameter(s) [string] must be specified

      21011

      Invalid parameter '[string]'

      Invalid parameter '[string]'

      22xxx Codes (connection errors)

      ICode Message Description

      22001

      Connect link failed [string]

      Connect link failed [string]

      22002

      Disconnect link failed [string]

      Disconnect link failed [string]

      22003

      [string] buckets are not supported

      [string] buckets are not supported

      22004

      Invalid cluster compatibility version for external link, must be >= [string], <= [string] but was [string]

      Invalid cluster compatibility version for external link, must be >= [string], <= [string] but was [string]

      23xxx Codes (runtime errors)

      ICode Message Description

      23000

      Analytics Service is temporarily unavailable

      Analytics Service is temporarily unavailable

      23001

      Analytics Service requires a rebalance to be operational

      Analytics Service requires a rebalance to be operational

      23003

      Operation cannot be performed during rebalance

      Operation cannot be performed during rebalance

      23004

      Link [string] cannot be dropped because it has the following collections [string]

      Link [string] cannot be dropped because it has the following collections [string]

      23005

      Scope [string] cannot be dropped while link [string] is connected

      Scope [string] cannot be dropped while link [string] is connected

      23007

      Job queue is full with [string] jobs

      Job queue is full with [string] jobs

      23008

      Job requirement [string] exceeds capacity [string]

      Job requirement [string] exceeds capacity [string]

      23009

      No result set for job [string]

      No result set for job [string]

      23010

      Job [string] has been cancelled

      Job [string] has been cancelled

      23011

      Overflow in [string]

      Overflow in [string]

      23012

      Underflow in [string]

      Underflow in [string]

      23013

      Invalid value: function [string] expects its [string] input parameter to be a non-negative value, got [string]

      Invalid value: function [string] expects its [string] input parameter to be a non-negative value, got [string]

      23014

      Invalid implicit scalar to collection coercion in [string]

      Invalid implicit scalar to collection coercion in [string]

      23015

      Cannot convert the [string] type to the [string] type.

      Cannot convert the [string] type to the [string] type.

      23016

      Cannot convert integer types. The source type should be one of [string].

      Cannot convert integer types. The source type should be one of [string].

      23017

      Cannot convert integer types. The target type should be one of [string].

      Cannot convert integer types. The target type should be one of [string].

      23018

      Source value [string] is out of range that [string] can hold - [string].MAX_VALUE: [string], [string].MIN_VALUE: [string]

      Source value [string] is out of range that [string] can hold - [string].MAX_VALUE: [string], [string].MIN_VALUE: [string]

      23019

      Invalid type-casting math function: [string] for converting [string] to [string]

      Invalid type-casting math function: [string] for converting [string] to [string]

      23021

      Cannot compare non-primitive values

      Cannot compare non-primitive values

      23023

      Type mismatch: expected value of type [string], but got the value of type [string]

      Type mismatch: expected value of type [string], but got the value of type [string]

      23024

      Input contains different list types

      Input contains different list types

      23025

      Expected integer value, got [string]

      Expected integer value, got [string]

      23026

      Infer Schema Memory Limit exceeded [string] bytes

      Infer Schema Memory Limit exceeded [string] bytes

      23027

      Bucket [string] on link [string] is not connected

      Bucket [string] on link [string] is not connected

      23028

      Scan wait timeout

      Scan wait timeout

      23029

      [string] statement is not supported in read-only mode

      [string] statement is not supported in read-only mode

      23030

      Invalid value: function [string] expects its [string] input parameter to be an integer value, got [string]

      Invalid value: function [string] expects its [string] input parameter to be an integer value, got [string]

      23031

      Invalid pattern "[string]" for LIKE

      Invalid pattern "[string]" for LIKE

      23032

      Invalid format for [string] in [string]

      Invalid format for [string] in [string]

      23033

      Value out of range, function [string] expects its [string] input parameter value to be between [string] and [string], received [string]

      Value out of range, function [string] expects its [string] input parameter value to be between [string] and [string], received [string]

      23034

      Insufficient memory is provided for the join operators, please increase the join memory budget.

      Insufficient memory is provided for the join operators, please increase the join memory budget.

      23035

      Index entry size ([string]) larger than maximum acceptable entry size ([string])

      Index entry size ([string]) larger than maximum acceptable entry size ([string])

      23036

      Parsing error at [string] line [string] field [string]: [string]

      Parsing error at [string] line [string] field [string]: [string]

      23037

      Record is too large. Maximum record size is [string]

      Record is too large. Maximum record size is [string]

      23038

      Malformed input stream

      Malformed input stream

      23040

      Bucket UUID has changed

      Bucket UUID has changed

      23041

      External UDF returned exception. Returned exception was: [string]

      External UDF returned exception. Returned exception was: [string]

      23042

      The bucket [string] has no active collections

      The bucket [string] has no active collections

      23043

      Illegal state. [string]

      Illegal state. [string]

      23044

      Incomparable input types: [string] and [string]

      Incomparable input types: [string] and [string]

      23045

      The byte size of a single group ([string] bytes) exceeds the budget for a group by operator ([string] bytes)

      The byte size of a single group ([string] bytes) exceeds the budget for a group by operator ([string] bytes)

      23046

      Memory budget for the [string] operator ([string] bytes) is lower than the minimum ([string] bytes)

      Memory budget for the [string] operator ([string] bytes) is lower than the minimum ([string] bytes)

      23047

      Failed to parse record

      Failed to parse record

      23048

      Failed to parse record content

      Failed to parse record content

      23049

      Failed to parse record metadata

      Failed to parse record metadata

      23050

      Failed to decode input

      Failed to decode input

      23051

      Failed to parse record, malformed log record

      Failed to parse record, malformed log record

      23052

      Collection [string].[string] on bucket [string] is backed by a non-existent collection ([string])

      Collection [string].[string] on bucket [string] is backed by a non-existent collection ([string])

      23053

      Failed to process document

      Failed to process document

      23054

      Link [string] is in an inconsistent state. The link needs to be recreated

      Link [string] is in an inconsistent state. The link needs to be recreated

      24xxx Codes (compilation errors)

      ICode Message Description

      24000

      Syntax error: [string]

      Syntax error: [string]

      24001

      Compilation error: [string]

      Compilation error: [string]

      24002

      Cannot index field [string] on type [string]. Supported types: bigint, double, string

      Cannot index field [string] on type [string]. Supported types: bigint, double, string

      24003

      Bucket ([string]) does not exist

      Bucket ([string]) does not exist

      24004

      Unsupported statement ([string])

      Unsupported statement ([string])

      24006

      Link [string] does not exist

      Link [string] does not exist

      24007

      Operation cannot be performed on the Local link

      Operation cannot be performed on the Local link

      24008

      Field [string] is not a recognized [string] field

      Field [string] is not a recognized [string] field

      24009

      Type [string] could not be found.

      Type [string] could not be found.

      24010

      Collection type has to be a record type

      Collection type has to be a record type

      24011

      Type mismatch: function [string] expects its [string] input parameter to be of type [string], but the actual input type is [string]

      Type mismatch: function [string] expects its [string] input parameter to be of type [string], but the actual input type is [string]

      24012

      Type incompatibility: function [string] gets incompatible input values: [string] and [string]

      Type incompatibility: function [string] gets incompatible input values: [string] and [string]

      24013

      Unsupported type: [string] cannot process input type [string]

      Unsupported type: [string] cannot process input type [string]

      24014

      Invalid item type: function [string] cannot process item type [string] in an input array (or multiset)

      Invalid item type: function [string] cannot process item type [string] in an input array (or multiset)

      24015

      Duplicate field name "[string]"

      Duplicate field name "[string]"

      24017

      Invalid expression: function [string] expects its [string] input parameter to be a [string] expression, but the actual expression is [string]

      Invalid expression: function [string] expects its [string] input parameter to be a [string] expression, but the actual expression is [string]

      24018

      Invalid parameter number: function [string] cannot take [string] parameters

      Invalid parameter number: function [string] cannot take [string] parameters

      24019

      Unknown collection type [string]

      Unknown collection type [string]

      24020

      Unknown index type [string]

      Unknown index type [string]

      24021

      Field "[string]" is not found

      Field "[string]" is not found

      24022

      Query parameter [string] is not supported

      Query parameter [string] is not supported

      24023

      Cannot create enforced index on "[string]" field with non-optional type

      Cannot create enforced index on "[string]" field with non-optional type

      24024

      Cannot create non-enforced typed index of this kind: [string]

      Cannot create non-enforced typed index of this kind: [string]

      24025

      Cannot find collection with name [string] in scope [string]

      Cannot find collection with name [string] in scope [string]

      24026

      Cannot create enforced index on "[string]" field. The field is closed type.

      Cannot create enforced index on "[string]" field. The field is closed type.

      24027

      Cannot create index with the same field "[string]" specified more than once.

      Cannot create index with the same field "[string]" specified more than once.

      24028

      Expression of type [string] is not supported in constant record

      Expression of type [string] is not supported in constant record

      24029

      Literal of type [string] is not supported in constant record

      Literal of type [string] is not supported in constant record

      24030

      Field(s) [string] unsupported in the with clause

      Field(s) [string] unsupported in the with clause

      24031

      Field "[string]" in the with clause must be of type [string], but found [string]

      Field "[string]" in the with clause must be of type [string], but found [string]

      24032

      Field "[string]" in the with clause cannot be null or missing

      Field "[string]" in the with clause cannot be null or missing

      24033

      Configuration parameter cannot be of type [string]

      Configuration parameter cannot be of type [string]

      24034

      Cannot find scope with name [string]

      Cannot find scope with name [string]

      24035

      An error was occurred while converting type [string] to type [string].

      An error was occurred while converting type [string] to type [string].

      24036

      Cannot find a non-missing SELECT operator in GROUP operator for a left-outer-join plan optimization.

      Cannot find a non-missing SELECT operator in GROUP operator for a left-outer-join plan optimization.

      24037

      Cannot drop index "[string]". Drop collection "[string]" to remove this index

      Cannot drop index "[string]". Drop collection "[string]" to remove this index

      24039

      A scope with this name [string] already exists.

      A scope with this name [string] already exists.

      24040

      A collection with name [string] already exists in scope [string]

      A collection with name [string] already exists in scope [string]

      24041

      Cannot resolve alias reference for undefined identifier [string]

      Cannot resolve alias reference for undefined identifier [string]

      24042

      Cannot resolve ambiguous alias reference for identifier [string]

      Cannot resolve ambiguous alias reference for identifier [string]

      24043

      Inside limit clauses, it is disallowed to reference a variable having the same name as any variable bound in the same scope as the limit clause.

      Inside limit clauses, it is disallowed to reference a variable having the same name as any variable bound in the same scope as the limit clause.

      24044

      Cannot find collection [string] because there is no scope declared, nor an alias with name [string]

      Cannot find collection [string] because there is no scope declared, nor an alias with name [string]

      24045

      Cannot find collection [string] in scope [string] nor an alias with name [string]

      Cannot find collection [string] in scope [string] nor an alias with name [string]

      24046

      Unexpected operator [string] in an OperatorExpr starting with [string]

      Unexpected operator [string] in an OperatorExpr starting with [string]

      24047

      Cannot find index with name [string]

      Cannot find index with name [string]

      24048

      An index with this name [string] already exists

      An index with this name [string] already exists

      24049

      A datatype with this name [string] already exists

      A datatype with this name [string] already exists

      24050

      No value for parameter: [string]

      No value for parameter: [string]

      24051

      Invalid number of arguments for function [string]

      Invalid number of arguments for function [string]

      24052

      Required field [string] was not found

      Required field [string] was not found

      24053

      Field [string] must be of type [string] but found to be of type [string]

      Field [string] must be of type [string] but found to be of type [string]

      24054

      Field [string] must be of an array of type [string] but found to contain an item of type [string]

      Field [string] must be of an array of type [string] but found to contain an item of type [string]

      24055

      Link [string] already exists

      Link [string] already exists

      24056

      Unsupported index type

      Unsupported index type

      24057

      Type mismatch: expected value of type [string], but got the value of type [string]

      Type mismatch: expected value of type [string], but got the value of type [string]

      24058

      Parameter [string] cannot be set

      Parameter [string] cannot be set

      24059

      Cannot parse range map: [string]

      Cannot parse range map: [string]

      24060

      Expected function call

      Expected function call

      24061

      Invalid window frame definition

      Invalid window frame definition

      24062

      Unexpected window frame definition

      Unexpected window frame definition

      24063

      Unexpected window expression

      Unexpected window expression

      24064

      Unexpected ORDER BY clause in window expression

      Unexpected ORDER BY clause in window expression

      24065

      Expected window or aggregate function, got: [string]

      Expected window or aggregate function, got: [string]

      24066

      Illegal use of identifier: [string]

      Illegal use of identifier: [string]

      24067

      Unknown compression scheme [string]. Supported schemes are [string]

      Unknown compression scheme [string]. Supported schemes are [string]

      24068

      Unsupported window specification: PARTITION BY [string], ORDER BY [string]

      Unsupported window specification: PARTITION BY [string], ORDER BY [string]

      24069

      Invalid modifier [string] for function [string]

      Invalid modifier [string] for function [string]

      24070

      Operation not supported on primary index [string]

      Operation not supported on primary index [string]

      24071

      Expected constant value

      Expected constant value

      24072

      Unexpected hint: [string]. [string] expected at this location

      Unexpected hint: [string]. [string] expected at this location

      24073

      Could not apply [string] hint: [string]

      Could not apply [string] hint: [string]

      24074

      Encountered a cross product join

      Encountered a cross product join

      24075

      Inappropriate use of group by all with decor variables

      Inappropriate use of group by all with decor variables

      24076

      Unrecognized argument field [string] of function [string]; recognized argument names [string]

      Unrecognized argument field [string] of function [string]; recognized argument names [string]

      24077

      Type mismatch: function [string] expects its argument field [string] to be of type [string], but the actual input type is [string]

      Type mismatch: function [string] expects its argument field [string] to be of type [string], but the actual input type is [string]

      24078

      Cannot find function with name [string]

      Cannot find function with name [string]

      24079

      Link [string] returned malformed cluster details (/pools/default)

      Link [string] returned malformed cluster details (/pools/default)

      24080

      Invalid link specification. [string]

      Invalid link specification. [string]

      24081

      Link [string] cannot be used for data ingestion

      Link [string] cannot be used for data ingestion

      24082

      Operation cannot be performed while the link is connected

      Operation cannot be performed while the link is connected

      24083

      Link [string] cannot be used for external collections

      Link [string] cannot be used for external collections

      24084

      Creating index on external collections is not supported

      Creating index on external collections is not supported

      24085

      Invalid link name [string]. Links starting with 'Local' are reserved by the system

      Invalid link name [string]. Links starting with 'Local' are reserved by the system

      24086

      External source error. [string]

      External source error. [string]

      24087

      External source container [string] not found

      External source container [string] not found

      24088

      Required parameter '[string]' not supplied

      Required parameter '[string]' not supplied

      24089

      Invalid parameter '[string]'

      Invalid parameter '[string]'

      24090

      Unknown encryption value: '[string]'

      Unknown encryption value: '[string]'

      24091

      Only one of certificate-based and credential-based authentication can be specified

      Only one of certificate-based and credential-based authentication can be specified

      24092

      Neither certificate-based nor credential-based authentication options specified

      Neither certificate-based nor credential-based authentication options specified

      24093

      Required parameter '[string]' not supplied for encryption type '[string]'

      Required parameter '[string]' not supplied for encryption type '[string]'

      24094

      Required parameter '[string]' not supplied for encryption type '[string]' using [string]-based authentication

      Required parameter '[string]' not supplied for encryption type '[string]' using [string]-based authentication

      24095

      Link type for an existing link cannot be changed. Existing link type is: '[string]', provided link type is: '[string]'

      Link type for an existing link cannot be changed. Existing link type is: '[string]', provided link type is: '[string]'

      24096

      Invalid server certificate for link [string]

      Invalid server certificate for link [string]

      24097

      Invalid client certificate for link [string]

      Invalid client certificate for link [string]

      24098

      Invalid client key for link [string]

      Invalid client key for link [string]

      24099

      Remote links to local cluster are not permitted for link [string]

      Remote links to local cluster are not permitted for link [string]

      24100

      The parameters '[string]' and '[string]' cannot be provided at the same time

      The parameters '[string]' and '[string]' cannot be provided at the same time

      24101

      Property '[string]' expects value(s) of type [string]

      Property '[string]' expects value(s) of type [string]

      24102

      Invalid format for property "[string]"

      Invalid format for property "[string]"

      24103

      Invalid pattern [string]

      Invalid pattern [string]

      24104

      Cannot connect to host for link [string]: [string]

      Cannot connect to host for link [string]: [string]

      24105

      Cannot find datatype with name [string]

      Cannot find datatype with name [string]

      24106

      Inline type definition is not allowed for external collections with '[string]' format

      Inline type definition is not allowed for external collections with '[string]' format

      24107

      The provided external collection configuration returned no files from the external source

      The provided external collection configuration returned no files from the external source

      24108

      Inline type definition is required for external collections with '[string]' format

      Inline type definition is required for external collections with '[string]' format

      24109

      Link [string] configured for alternate addresses but no nodes have port '[string]' alternatively bound

      Link [string] configured for alternate addresses but no nodes have port '[string]' alternatively bound

      24110

      Link [string] configured for alternate addresses but kv node [string] has no alternate address defined

      Link [string] configured for alternate addresses but kv node [string] has no alternate address defined

      24111

      Link [string] configured for alternate addresses but kv node [string] with alternate address [string] does not bind '[string]' port

      Link [string] configured for alternate addresses but kv node [string] with alternate address [string] does not bind '[string]' port

      24112

      Invalid name for a database object: '[string]'

      Invalid name for a database object: '[string]'

      24113

      Invalid link type '[string]'

      Invalid link type '[string]'

      24114

      Invalid property '[string]' for encryption type '[string]'

      Invalid property '[string]' for encryption type '[string]'

      24115

      Operation failed because there already exists a synonym [string] in scope [string]

      Operation failed because there already exists a synonym [string] in scope [string]

      24116

      Invalid scope name [string]. Only 1 or 2 name components are allowed.

      Invalid scope name [string]. Only 1 or 2 name components are allowed.

      24117

      Operation failed because collection [string] in scope [string] either does not exist or was not created by ALTER COLLECTION ENABLE ANALYTICS

      Operation failed because collection [string] in scope [string] either does not exist or was not created by ALTER COLLECTION ENABLE ANALYTICS

      24118

      Cannot find synonym with name [string]

      Cannot find synonym with name [string]

      24119

      A synonym with this name [string] already exists

      A synonym with this name [string] already exists

      24120

      A function with this name [string] already exists

      A function with this name [string] already exists

      24121

      Scope ([string]) does not exist

      Scope ([string]) does not exist

      24122

      Feature supported only in Developer Preview mode

      Feature supported only in Developer Preview mode

      24123

      Invalid specification for hint [string]. [string]

      Invalid specification for hint [string]. [string]

      24124

      Libraries in language [string] are unsupported at this time

      Libraries in language [string] are unsupported at this time

      24125

      Illegal use of [string]

      Illegal use of [string]

      24126

      Field [string] has been deprecated in [string] and is ignored

      Field [string] has been deprecated in [string] and is ignored

      24127

      Cannot drop scope [string] because [string] [string] is used by [string] [string]

      Cannot drop scope [string] because [string] [string] is used by [string] [string]

      24128

      Invalid query parameter [string] — value has to be greater than or equal to [string] [string]

      Invalid query parameter [string] — value has to be greater than or equal to [string] [string]

      24129

      Illegal state. [string]

      Illegal state. [string]

      24130

      Too many grouping sets in group by clause: [string]. Maximum allowed: [string].

      Too many grouping sets in group by clause: [string]. Maximum allowed: [string].

      24131

      Invalid argument to grouping() function

      Invalid argument to grouping() function

      24132

      Unexpected alias: [string]

      Unexpected alias: [string]

      24133

      Illegal use of aggregate FILTER clause

      Illegal use of aggregate FILTER clause

      24134

      Error compiling function [string]. [string]

      Error compiling function [string]. [string]

      24135

      Cannot compile SELECT variable.* with GROUP BY GROUPING SETS/ROLLUP/CUBE followed by ORDER BY/LIMIT

      Cannot compile SELECT variable.* with GROUP BY GROUPING SETS/ROLLUP/CUBE followed by ORDER BY/LIMIT

      24136

      Illegal use of RIGHT OUTER JOIN

      Illegal use of RIGHT OUTER JOIN

      24137

      Endpoint [string] not found for link [string]

      Endpoint [string] not found for link [string]

      24138

      Collection ([string]) does not exist

      Collection ([string]) does not exist

      24139

      Only a single authentication method is allowed: connectionString, accountName & accountKey, or accountName & sharedAccessSignature

      Only a single authentication method is allowed: connectionString, accountName & accountKey, or accountName & sharedAccessSignature

      24140

      No authentication parameters provided

      No authentication parameters provided

      24141

      Cannot drop scope: [string] [string] being used by [string] [string]

      Cannot drop scope: [string] [string] being used by [string] [string]

      24142

      Cannot drop [string] [string] being used by [string] [string]

      Cannot drop [string] [string] being used by [string] [string]

      24143

      Cannot find library with name [string]

      Cannot find library with name [string]

      24144

      Cannot create primary index on external collection

      Cannot create primary index on external collection

      25xxx Codes (internal errors)

      ICode Message Description

      25000

      Internal error

      Internal error