ScalarDB GraphQL Error Codes
This page provides a list of error codes in ScalarDB GraphQL.
Error code classes and descriptions​
Class | Description |
---|---|
DB-GRAPHQL-1xxxx | Errors for the user error category |
DB-GRAPHQL-1xxxx
status codes​
The following are status codes and messages for the user error category.
DB-GRAPHQL-10000
​
Message
A long value was expected
DB-GRAPHQL-10001
​
Message
The value is out of range for BigIntValue
DB-GRAPHQL-10002
​
Message
A long, integer, or string value was expected
DB-GRAPHQL-10003
​
Message
The AST type `IntValue` was expected
DB-GRAPHQL-10004
​
Message
A float value was expected
DB-GRAPHQL-10005
​
Message
An integer or float value was expected
DB-GRAPHQL-10006
​
Message
The AST type `IntValue` or `FloatValue` was expected
DB-GRAPHQL-10007
​
Message
The type is not supported. Type: %s
DB-GRAPHQL-10008
​
Message
The field `%s` requires a `@transaction` or `@twoPhaseCommit` directive with proper arguments
DB-GRAPHQL-10009
​
Message
The field `%s` cannot be used together with other fields
DB-GRAPHQL-10010
​
Message
The `@twoPhaseCommit` directive with the `id` argument is required to `%s` the transaction
DB-GRAPHQL-10011
​
Message
`%s` and `prepare` cannot be run simultaneously
DB-GRAPHQL-10012
​
Message
`%s` and `join` cannot be run simultaneously
DB-GRAPHQL-10013
​
Message
The `@transaction` directive with the `id` argument is required to `%s` the transaction
DB-GRAPHQL-10014
​
Message
`%s` and `commit` cannot be run simultaneously
DB-GRAPHQL-10015
​
Message
An object cannot be annotated with both `@transaction` and `@twoPhaseCommit` directives
DB-GRAPHQL-10016
​
Message
The `join` argument of the `@twoPhaseCommit` directive requires a transaction `id` argument
DB-GRAPHQL-10017
​
Message
`%s` requires the mutation object to be annotated with a `@twoPhaseCommit` directive
DB-GRAPHQL-10018
​
Message
The `%s` clustering key must have only one of the following: %s
DB-GRAPHQL-10019
​
Message
A string variable is expected but got %s
DB-GRAPHQL-10020
​
Message
Unexpected value of id: %s
DB-GRAPHQL-10021
​
Message
A Boolean variable is expected but got %s
DB-GRAPHQL-10022
​
Message
Unexpected value of %s: %s
DB-GRAPHQL-10023
​
Message
Invalid column. Column: %s; Type: %s
DB-GRAPHQL-10024
​
Message
Unexpected value of type: %s
DB-GRAPHQL-10025
​
Message
Only one of the following can be specified: %s
DB-GRAPHQL-10026
​
Message
Unexpected mutation field: %s
DB-GRAPHQL-10027
​
Message
Invalid type: %s