Skip to navigation

Errors and Warnings

View as Markdown

The Ocient® System produces these error and warning codes as part of its operation. Refer to these codes for their description.

You can also execute this SQL statement using the sys.sql_messages system catalog table to view the codes and descriptions in the database: SELECT * FROM sys.sql_messages.

Error Codes

The error codes are negative values that split into ranges by number such as -100s, -200s, and so on.

-1xx CodesDescription
-100Unknown error occurred.
-101This is an internal error that indicates that a client (driver or connector) received an invalid response from the server.
-102Internal error that indicates a corruption of the serialized result set sent from the server to the client.
-103Internal error that indicates an unexpected condition has happened.
-2xx CodesDescription
-200A client attempted a connection with a malformed connection string.
-201The connection to the server failed.
-202The handshake with the server failed.
-203The connection to the server was unexpectedly closed.
-204A network communications error has occurred.
-205The client tried to connect to a database with a specified name, but no database with that name exists.
-206The target node is offline.
-3xx CodesDescription
-300An argument to a driver method execution was invalid.
-301A driver method executed, but the input argument object was already closed.
-302The cursor was not positioned in a valid row.
-303An attempt was made to create a new result set, but the previous result set for the connection was still open.
-304The user and password combination was incorrect.
-305A statement that was not a query was passed to executeQuery().
-306A statement that was a query was passed to executeUpdate().
-307A NULL output buffer was passed to a driver method, where a NULL buffer is not allowed.
-308A driver execution was made that is not implemented.
-313An invalid parameter marker number was specified.
-316No database connection exists.
-317Invalid data was detected for a parameter marker.
-318The cursor was not in the required state.
-319An invalid buffer length was specified.
-320There is currently no result set.
-321A NULL indicator pointer was required but not specified.
-322A connection attribute that is not supported was specified in SQLBrowseConnect. The four supported attributes are: “DRIVER”, “DSN”, “UID”, “PWD”.
-323An invalid descriptor record index was specified. Valid indices start at 1 and increase to the size specified by executing SQLSetDescField with the SQL_DESC_COUNT field.
-324An invalid or inconsistent descriptor field type was specified in SQLSetDescRec.
-325An invalid descriptor field was specified in SQLSetDescField.
-326The target handle passed to SQLCopyDesc was an IRD.
-327An implicit descriptor handle that was not the original was the specified value in the execution of SQLSetStmtAttr with the SQL_ATTR_APP_PARAM_DESC or SQL_ATTR_APP_ROW_DESC attribute.
-328Divide by zero.
-329Invalid floating point operation that resulted in NaN or Inf.
-330The action conflicts with the current state of the database.
-331The unconditional DELETE FROM statement is rewritten using the TRUNCATE statement. In this case, the database does not create a plan that would appear in the results from the execution of the EXPLAIN statement.
-332Already in use. Used mostly in DDL when a resource or option is already assigned to the object.
-333Optional value was substituted.
-334This driver is unknown or the version support has been removed.
-335The execution of a client method was invalid.
-336Cannot execute the new SQL statement as the system is processing a prior statement using the same connection in the background.
-4xx CodesDescription
-400One of the referenced columns does not exist.
-401The requested data type conversion was invalid.
-402Unknown data type.
-403A column name was ambiguous in the context where it was used.
-404Two incompatible data types were specified as return types in a case statement.
-405Join leads to a duplicate column name.
-406Invalid POINT conversion from NULL.
-407Column value is larger than internal limits.
-5xx CodesDescription
-500Generic syntax error.
-501The SQL statement is not valid or not supported in the context where it was used.
-502A duplicate common table expression name was detected.
-503The number of columns does not match the SELECT statement.
-504A negative limit was specified.
-505A negative offset was specified.
-506An incorrect number of arguments was specified in a function.
-507Aggregation of a constant value is invalid.
-508An argument to a function had an incorrect data type.
-509An invalid comparison was detected.
-510Aggregation was used in a context where it is not allowed (possibly something in a WHERE clause that belongs in a HAVING clause).
-511A HAVING clause did not have any aggregation in it.
-512An ORDER BY clause referenced a column by position and that position was out of range.
-513An expression of type list cannot be returned in a result set.
-514You cannot have an expression of type list within another list.
-515A list expression contains incompatible types.
-516The function does not exist.
-517If the result of an expression is a time interval type, the result must be cast to an integral type.
-518An invalid matrix literal was specified.
-519A matrix literal had incorrect dimensions.
-520An invalid query priority was specified.
-521A column reference in a SELECT statement is invalid due to aggregation.
-522Columns for the first and second SELECT statements for the UNION, EXCEPT, or INTERSECT statement are not compatible.
-523An expression in the CASE condition is not allowed.
-524An expression in the JOIN condition is not allowed.
-525Aggregation is not allowed in the PARTITION BY or ORDER BY clauses of a windowed aggregate.
-526A non-constant value was found where a constant was expected in an argument of a windowed aggregate.
-527Range-based framing does not allow the PRECEDING or FOLLOWING keywords.
-528ORDER BY with a column ordinal is not allowed in a windowed aggregate.
-529A frame specification is not allowed if no ORDER BY clause is specified in a windowed aggregate.
-530UNBOUNDED PRECEDING is only allowed on the starting frame bound.
-531UNBOUNDED FOLLOWING is only allowed on the ending frame bound.
-532The ending frame bound cannot be less than the starting frame bound.
-533No frame specification is allowed for this particular windowed aggregate.
-534A window function requires a positive integer argument.
-535The specified window function requires an ORDER BY statement in the OVER() clause.
-536Invalid aggregation.
-537Invalid expression.
-538A CASE expression within a CASE expression is not allowed.
-539Window function was used in a context where it is not allowed (perhaps in a predicate of a WHERE or HAVING clause).
-6xx CodesDescription
-600A referenced table does not exist.
-601The specified database already exists.
-602The specified table already exists.
-603The specified view already exists.
-604The specified view was not found.
-605The specified database was not found.
-606The specified storage space was not found.
-607The specified storage space already exists.
-608The specified user does not exist.
-609The specified user already exists.
-610The specified password for the new user is invalid.
-611The specified group name already exists.
-612The specified group does not exist.
-613The specified connection already exists.
-614The specified connection was not found.
-615The referenced translation does not exist.
-616A translation with that name exists.
-617The specified user was not found in this group.
-618The provided storage space has no storage cluster assigned.
-619The referenced table is a system table and not allowed for the export operation.
-620The referenced pipeline does not exist.
-621A pipeline with that name exists.
-622The pipeline is invalid.
-623The pipeline is unable to be correctly compiled.
-624The referenced task does not exist.
-625An index with that type and on that column already exists.
-626An index with that name already exists.
-627The referenced table ID no longer exists.
-628A connectivity pool with that name already exists.
-629Cannot find a connectivity pool with the specified name.
-630Cannot drop the last connectivity pool from a node.
-638Could not find a SCHEMA with that name (Schema does not exist).
-7xx CodesDescription
-700The user does not have read authorization on a referenced table.
-701The user does not have authorization to create a database.
-702The user does not have modify authorization on a referenced table.
-703The user does not have authorization to create a view.
-704The user does not have modify authorization on a referenced database.
-705The user does not have modify authorization on a referenced view.
-706The user does not have authorization to drop a referenced table.
-707The user does not have authorization to drop a referenced row.
-708The user does not have authorization to drop a referenced view.
-709The user does not have authorization to drop a referenced database.
-710The user does not have authorization to create a table.
-711The user does not have authorization to create a storage space.
-712The user does not have authorization to drop a referenced storage space.
-713The user does not have authorization to create a user.
-714The user does not have authorization to drop a user.
-715The user does not have the authority to create a group.
-716The user does not have the authority to drop the group.
-717The user does not have the authority to create a connection.
-718The user does not have the authority to drop the connection.
-719The user is not authorized to take this action.
-720The user does not have the authority to modify the group.
-721The user does not have the authority to execute a plan.
-722The user does not have the authority to execute an inline plan.
-723The user does not have the authority to create a connectivity pool.
-724The user does not have the authority to drop the connectivity pool.
-725The user does not have the authority to modify the connectivity pool.
-726Unable to drop some objects in the request.
-728The user does not have the authority to drop the SCHEMA (Objects exist in the schema).
-733Session has expired. Refresh is necessary.
-8xx CodesDescription
-800An MLMODEL with that name was not found.
-801An MLMODEL with that name already exists.
-802The user does not have the authority to create an MLMODEL.
-803The user does not have the authority to drop the MLMODEL.
-804Unable to create an MLMODEL due to a singular matrix.
-805Unable to create an MLMODEL because the training set is empty.
-806Unable to perform LUP decomposition on this singular matrix.
-807The user does not have the authority to modify the MLMODEL.
-9xx CodesDescription
-900Operation was canceled or aborted.
-901I/O error.
-902Scalar Subquery Cardinality Violation.
-903Numeric value out of range.
-904Plan compilation error.
-905TKT limit reached.
-906Out of memory.
-907Segment not available.
-908System is still initializing.
-909Out of temporary disk space.
-910Operation was automatically killed due to drop in the client connection.
-911Failed to acquire OSN (Ownership Sequence Number). Data for querying is no longer available to the storage cluster.
-10xx CodesDescription
-1000The privilege target already has the privilege.
-1001The user does not have the authority to grant this privilege.
-1002The privilege target does not have that privilege.
-1003The referenced role does not exist.
-1004The provided object ID was not found.
-1005Create task failure.
-1006Task already in progress.
-1007Could not find the supplied service class.
-1008Supplied service class definition is invalid.
-11xx CodesDescription
-1100No available service classes for the user have available query slots.
-1101The specified node is not found.
-1102Segment not found.
-1111Cluster not found.
-1112A cluster with that name exists.
-1120Query exceeded service class time limit.
-1121Query exceeded session time limit.
-1122Query exceeded query time limit.
-1123Query exceeded service class row limit.
-1124Query exceeded session row limit.
-1125Query exceeded query row limit.
-1126Query exceeded service class temporary disk limit.
-1127Query exceeded session temporary disk limit.
-1128Query exceeded query temporary disk limit.
-1129Too many columns in result set for the service class.
-1130Too many columns in result set for the session.
-1131Too many columns in result set for the query.
-12xx CodesDescription
-1200The security integration is disabled.
-1201The security integration does not exist.
-1202The request failed due to a network communications error.
-1203The Single Sign On request identifier could not be found.
-1204No session associated with the connection exists.
-1205The supplied security token is invalid.
-1206The supplied security token signature does not match the expected value.
-1207The supplied security token has a signature fingerprint from an unknown entity.
-1208The supplied security token has expired.
-1220A network communications error occurred.
-1221The OpenID provider rejected the request that indicates an internal server error.
-1222The OpenID provider returned an invalid response that indicates an error with the provider.
-1223The request_uri in the Authorization Request returns an error or contains invalid data.
-1224The OpenID provider does not support use of the request parameter.
-1225The OpenID provider does not support use of the request_uri parameter.
-1226The OpenID provider discovery document is invalid.
-1227The database OpenID configuration is invalid.
-1228The OpenID ID or access token has expired.
-1229The ID or access token was signed by a key not known to the OpenID provider.
-1230The signing key returned by the OpenID provider is invalid.
-1231The token contains an invalid claim.
-1232The token was issued by an unknown OpenID provider.
-1233The token was issued for an alternate audience.
-1234The token signature is invalid, which implies the token was manipulated enroute to the database.
-1235The specified ID token is invalid.
-1236The specified Access token is invalid.
-1237The refresh token returned from the provider is invalid.
-1238The authentication server has timed out while waiting for client authentication.
-1250The client is not authorized to request an authorization code using this method.
-1251The resource owner or authorization server denied the request.
-1252The authorization server does not support obtaining an authorization code using this method.
-1253The requested scope is invalid, unknown, or malformed.
-1254The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.
-1255The authorization server encountered an unexpected condition that prevented it from fulfilling the request.
-1256The authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server.
-1257Cannot lock table.
-1258Cannot unlock table.
-1259Cannot delete from a join or a view with multiple tables.
OtherDescription
-9999Undefined exception.

Warning Codes

The warning codes are positive values.

Warning CodeDescription
+300Data received by a JDBC driver was truncated.
+301The driver is below the recommended threshold for the warning version.
+900A query returned an empty result set.
+901The query is estimated to have a long execution time.
+1113The referenced object does not exist.
+1114An object with that name exists.
+1115Not authorized to take this action.
+1116Restart the node for changes to take effect.
+1117Complete system restart required for changes to take effect.
+1118Statement contains invalid syntax.
+1119Unable to drop some objects in the request.

SQL Reference

Data Definition Language (DDL) Statement Reference

Data Integrity and Storage

Query Analysis

System Catalog