
The following table lists error codes and their descriptions for the SAP HANA database. Please refer to SAP Note 2658020 – List of SAP HANA SQL Error Codes.
| Code | Type | Description |
|---|---|---|
| 4096 | ERR_PLANVIZ_GENERAL | [PlanViz] general error |
| 4097 | ERR_PLANVIZ_PIN_GENERAL | [PlanViz] invalid pin request |
| 4098 | ERR_PLANVIZ_INVALID_PLAN_ GENERAL | [PlanViz] invalid plan |
| 4099 | ERR_PLANVIZ_PLAN_CACHE_GENERAL | [PlanViz] plan cache error |
| 4100 | ERR_PLANVIZ_NO_PVPARAM | [PlanViz] PlanVizParam does not exist |
| 4101 | ERR_PLANVIZ_PROC_LANG_SUPPORT | [PlanViz] procedure language not supported |
| 4102 | ERR_PLANVIZ_MARK_MIN_COST_ PLAN | [PlanViz] cannot mark min-cost plan |
| 4103 | ERR_PLANVIZ_PARSE_TREE_NOT_ FOUND | [PlanViz] parse tree not found |
| 4104 | ERR_PLANVIZ_PLAN_NOT_FOUND | [PlanViz] plan not found |
| 4105 | ERR_PLANVIZ_UNSUPPORTED_STMT_ TYPE | [PlanViz] unsupported statement type |
| 4106 | ERR_PLANVIZ_REMOTE_EXEC_STATS | [PlanViz] error while gathering remote execution stats |
| 4107 | ERR_PLANVIZ_ENV_NO_STATS_COLLECTOR | [PlanViz] exec stats collector not found |
| 4108 | ERR_PLANVIZ_EXPLAIN_PLAN_GENERAL | [PlanViz] explain plan failed |
| 4109 | ERR_PLANVIZ_TRACE_ONLY_GENERAL | [PlanViz] error in trace-only mode |
| 4110 | ERR_PLANVIZ_PLAN_TRACE_GENERAL | [PlanViz] error in Plan Trace |
| 4161 | ERR_REORG_GENERAL | Failed to execute reorganization |
| 4162 | ERR_REORG_TRANS_BLOCKED_GENERAL | Transaction blocked since runtime reorganization is in progress |
| 4163 | ERR_REORG_TRANS_EXISTS_GENERAL | Cannot start reorganization due to the transactions in execution |
| 4192 | ERR_LDAP | general LDAP error |
| 4193 | ERR_LDAP_CANNOT_AUTHORIZE_ LOCALLY | Local authorization not allowed |
| 4194 | ERR_LDAP_CANNOT_CHANGE_ AUTHORIZATION_MODE | Authorization mode change not allowed |
| 4195 | ERR_LDAP_MAPPING_ALREADY_EXISTS | Role to LDAP group mapping already exists |
| 4196 | ERR_LDAP_MAPPING_DOESNT_EXIST | Role to LDAP group mapping does not exist |
| 4197 | ERR_LDAP_PROVIDER_CREATION_ FAILED | Creating LDAP provider failed because of internal error |
| 4198 | ERR_LDAP_PROVIDER_DELETION_ FAILED | Deleting LDAP provider failed because of internal error |
| 4199 | ERR_LDAP_PROVIDER_ALTER_ FAILED | Alter LDAP provider failed because of internal error |
| 4200 | ERR_LDAP_PROVIDER_VALIDATE_ FAILED | Validate LDAP provider failed because of internal error |
| 4201 | ERR_LDAP_PROVIDER_ALREADY_ EXISTS | LDAP provider already exists |
| 4202 | ERR_LDAP_INVALID_PROVIDER_ NAME | Invalid LDAP provider name |
| 4203 | ERR_LDAP_MALFORMED_CREDENTIALS | Credentials not provided in proper format |
| 4204 | ERR_LDAP_PASSWORD_MUTUAL_EXCLUSION_ FAILED | Local password authentication and LDAP authentication cannot be enabled together for the same user |
| 4225 | ERR_PROVIDER | General provider error |
| 4226 | ERR_PROVIDER_INV_SUBJECT_NAME | Invalid subject name layout |
| 4227 | ERR_PROVIDER_INV_ISSUER_NAME | Invalid issuer name layout |
| 4228 | ERR_PROVIDER_ALREADY_EXISTS | Provider already exists |
| 4229 | ERR_PROVIDER_INVALID_PROVIDER_NAME | Invalid provider name |
| 4230 | ERR_PROVIDER_INVALID_ASSERTION | Invalid assertion |
| 4231 | ERR_PROVIDER_INVALID_MAPPED_ USER_NAME | Invalid or empty mapped user name |
| 4232 | ERR_PROVIDER_ADDING_USER_MAPPING_ FAILED | Adding a new provider user mapping failed |
| 4233 | ERR_PROVIDER_CREATION_FAILED | Creating provider failed because of internal error: |
| 4234 | ERR_PROVIDER_DELETION_FAILED | Deleting provider failed because of internal error: |
| 4235 | ERR_PROVIDER_ALTER_FAILED | Alter provider failed because of internal error: |
| 4236 | ERR_PROVIDER_DUPLICATE_ENTITY | EntityID already exists |
| 4237 | ERR_PROVIDER_INVALID_ENTITY | Invalid entity id |
| 4238 | ERR_PROVIDER_DUPLICATE_ISSUER | Duplicate Provider for this issuer |
| 4239 | ERR_PROVIDER_INVALID_CLAIM | Invalid claim |
| 4248 | ERR_USER_PARAMETERS | general user parameter error |
| 4249 | ERR_USER_PARAM_DUPLICATE_EMAIL_ ADDRESS | Same email address cannot be used for different users |
| 4250 | ERR_USER_PARAM_PRIORITY_OUT_OF_ RANGE | Priority out of range |
| 4251 | ERR_USER_PARAM_INVALID_STATEMENT_ MEMORY_LIMIT | Invalid statement memory limit |
| 4252 | ERR_USER_PARAM_INVALID_STATEMENT_ THREAD_LIMIT | Invalid statement thread limit |
| 4253 | ERR_USER_PARAM_INVALID_PARAMETER | Invalid parameter name |
| 4273 | ERR_KERBEROS | general kerberos error |
| 4274 | ERR_KERBEROS_DUPLICATE_PROVIDER | Duplicate specification of identity for KERBEROS |
| 4275 | ERR_KERBEROS_MISSING_PROVIDER | Missing specification of identity for KERBEROS |
| 4280 | ERR_TICKET | general ticket error |
| 4281 | ERR_TICKET_DUPLICATE | Duplicate specification of identity for this kind of SAP ticket |
| 4282 | ERR_TICKET_MISSING_PROVIDER | Missing specification of identity for this kind of SAP ticket |
| 4289 | ERR_X509 | general X.509 error |
| 4290 | ERR_X509_DUPLICATE_SUBJECT_ ISSUER | Duplicate specification of subject and issuer for X509 |
| 4291 | ERR_X509_UNKNOWN_SUBJECT_ ISSUER | Unknown specification of subject and issuer for this user |
| 4292 | ERR_X509_INV_SUBJECT_NAME | Invalid subject name layout |
| 4293 | ERR_X509_INV_ISSUER_NAME | Invalid issuer name layout |
| 4320 | ERR_SSL | general SSL error |
| 4321 | ERR_SSL_ENFORCE | only secure connections are allowed |
| 4336 | ERR_USER_REMOTE | general remote user error |
| 4337 | ERR_USER_REMOTE_EXISTS | remote user mapping already exists |
| 4338 | ERR_USER_REMOTE_NOT_EXISTS | remote user mapping does not exist |
| 4640 | ERR_RS_TABLE_LOAD_GENERAL | failed to load row table |
| 4641 | ERR_RS_TABLE_LOAD_WAIT_TIMEOUT | waiting timeout for loading row table occurred |
| 4642 | ERR_RS_TABLE_POST_DROP | failed to delete row table data |
| 4672 | ERR_DATAPROV | General Unified Data Provisioning error |
| 4673 | ERR_DATAPROV_DATASOURCE_DOES_ NOT_EXIST | Data source does not exist |
| 4674 | ERR_DATAPROV_INVALID_LOGICAL_ DATASOURCE_NAME | Invalid logical data source name |
| 4675 | ERR_DATAPROV_INVALID_DATAFLOW_ PACKAGE_NAME | Invalid data flow package name |
| 4676 | ERR_DATAPROV_INVALID_DATAFLOW_ OBJECT_NAME | Invalid data flow object name |
| 4677 | ERR_DATAPROV_DATAFLOW_DOES_NOT_ EXIST | Data flow does not exist |
| 4678 | ERR_DATAPROV_INVALID_DATAFLOW | Invalid data flow |
| 4679 | ERR_DATAPROV_INVALID_DATASOURCE | Invalid data source |
| 4680 | ERR_DATAPROV_COULD_NOT_GENERATE_ JOB_ID | Could not generate job ID |
| 4704 | ERR_DPSERVER | General dpserver error occured |
| 4705 | ERR_DPSERVER_SCHEMA_CHANGE | Schema of table changed |
| 4706 | ERR_DPSERVER_SCHEMA_CHANGE_ON_ DATASOURCE | Schema of table changed in the remote source |
| 4707 | ERR_DPSERVER_TRUNCATE_TABLE_EVENT | Table truncated in the remote source |
| 4708 | ERR_DPSERVER_ADAPTER_FAILURE | Adapter failure occurred on remote source |
| 4709 | ERR_DPSERVER_RECEIVER_FAILURE | Receiver failure occurred on remote source |
| 4710 | ERR_DPSERVER_DISTRIBUTOR_FAILURE | Distributor failure occurred on remote source |
| 4711 | ERR_DPSERVER_ADAPTER_REMOTE_SOURCE_ DOWN | Adapter failure remote source is down |
| 4712 | ERR_DPSERVER_OPERATION_NOT_PERMITTED | Operation is not permitted |
| 4864 | ERR_GEM | General GEM error |
| 4865 | ERR_GEM_WORKSPACE_NOT_EXISTS | GEM workspace does not exist |
| 4866 | ERR_GEM_WORKSPACE_SCHEMA_NOT_ EXISTS | Schema specified for GEM workspace does not exist |
| 4867 | ERR_GEM_WORKSPACE_ALREADY_ EXISTS | GEM workspace already exists |
| 4868 | ERR_GEM_WORKSPACE_URI_TOO_ LONG | Workspace URI exceeds maximum allowed length |
| 4869 | ERR_GEM_ADD_COLUMN | Failed to add column |
| 4870 | ERR_GEM_PREP_INSERT | Failed in preparation to add column |
| 4871 | ERR_GEM_CALC | Calculation Scenario |
| 4872 | ERR_GEM_VISITOR | GEM Visitor |
| 4873 | ERR_GEM_GRAMMAR | GEM Grammar |
| 4874 | ERR_GEM_TREE_BUILDER | Tree Builder |
| 4875 | ERR_GEM_TECHTYPE_UNKNOWN | Techtype unknown in predicate/expression |
| 4876 | ERR_GEM_TECHTYPE_MISMATCH | Mismatch of technical types |
| 4877 | ERR_GEM_TERM_NOT_EXISTS | Term does not exist |
| 4878 | ERR_GEM_TERM_ALREADY_EXISTS | Term already exists |
| 4879 | ERR_GEM_VERTEX_NOT_EXISTS | Vertex does not exist |
| 4880 | ERR_GEM_VERTEX_ALREADY_ EXISTS | Vertex already exists |
| 4881 | ERR_GEM_LOCAL_NAME_NOT_ FOUND | Local name was not found |
| 4882 | ERR_GEM_LOCAL_NAME_ALREADY_ EXISTS | Local name already exists |
| 4883 | ERR_GEM_UNKNOWN_FUNC | Unknown function |
| 4884 | ERR_GEM_FEATURE_NOT_SUPPORTED | This GEM feature is not supported |
| 4885 | ERR_GEM_FUNCTION | Error in using GEM function |
| 4886 | ERR_GEM_TECHTYPE_MISSING | Techtype not specified |
| 4887 | ERR_GEM_URI_MISSING | URI is missing |
| 4888 | ERR_GEM_TECHTYPE_ERROR | GEM technical type error |
| 5120 | ERR_TEXT_UNKNOWN | Unknown error occurred. |
| 5121 | ERR_TEXT_COMMON_REGISTER_ OVERWRITE | Attempting to register an already registered object. |
| 5122 | ERR_TEXT_COMMON_XML_PARSER_ ERROR | Xerces parser error. |
| 5123 | ERR_TEXT_COMMON_INVALID_ ANALYZER | Invalid analyzer specified in aggregate configuration. |
| 5124 | ERR_TEXT_COMMON_ANALYZER_CREATE_ FAILED | Analyzer factory create failed. |
| 5125 | ERR_TEXT_COMMON_UNKNOWN_ ANALYZER_TYPE | Request to create analyzer of unknown type. |
| 5126 | ERR_TEXT_COMMON_PIMPL_INIT_ FAILED | Failed to create private implementation instance. |
| 5127 | ERR_TEXT_COMMON_NO_ CONFIGURATION_FOUND | No configuration found. |
| 5128 | ERR_TEXT_COMMON_CONFIG_ CREATE_FAILED | Failed to create configuration. |
| 5129 | ERR_TEXT_COMMON_LANG_DIR_ READ_ERROR | Error reading language directory. |
| 5130 | ERR_TEXT_COMMON_NO_ANALYZERS_ SPECIFIED | No analyzers were specified. |
| 5131 | ERR_TEXT_COMMON_PROPERTY_LIST_ CREATE_FAILED | Failed to create property list. |
| 5132 | ERR_TEXT_COMMON_CHILD_VIEW_ CREATE_FAILED | Failed to create child view. |
| 5133 | ERR_TEXT_COMMON_FAILED_BUFFER_ ALLOCATION | Failed to allocate internal buffer. |
| 5134 | ERR_TEXT_COMMON_USE_OF_FOREIGN_ ANNOTATION | Attempt to use foreign annotation. |
| 5135 | ERR_TEXT_COMMON_INSERT_BEFORE_ INVALID | Attempt to insert before invalid annotation. |
| 5136 | ERR_TEXT_COMMON_ALLOCATION_FAILED | Allocation failed. |
| 5137 | ERR_TEXT_COMMON_INVALID_VIEW | Invalid view specified. |
| 5138 | ERR_TEXT_COMMON_INDEX_OUT_OF_ RANGE | Index out of range. |
| 5139 | ERR_TEXT_COMMON_ANALYZER_ BEFORE_CONFIG | Attempt to analyze before configuring. |
| 5140 | ERR_TEXT_COMMON_INVALID_ANNOTATION | Invalid annotation found. |
| 5141 | ERR_TEXT_COMMON_MISSING_REQUIRED_ CONFIG | Configuration error: missing required configuration parameter. |



