Skip to main content
Version: 3.10.0

Error code

NebulaGraph returns an error code when an error occurs. This topic describes the details of the error code returned.

note
  • If an error occurs but no error code is returned, or if the error code description is unclear, we welcome your feedback or suggestions on the forum or GitHub.

  • When the code returned is 0, it means that the operation is successful.

Error nameError CodeDescription
E_DISCONNECTED-1Lost connection
E_FAIL_TO_CONNECT-2Unable to establish connection
E_RPC_FAILURE-3RPC failure
E_LEADER_CHANGED-4Raft leader has been changed
E_SPACE_NOT_FOUND-5Graph space does not exist
E_TAG_NOT_FOUND-6Tag does not exist
E_EDGE_NOT_FOUND-7Edge type does not exist
E_INDEX_NOT_FOUND-8Index does not exist
E_EDGE_PROP_NOT_FOUND-9Edge type property does not exist
E_TAG_PROP_NOT_FOUND-10Tag property does not exist
E_ROLE_NOT_FOUND-11The current role does not exist
E_CONFIG_NOT_FOUND-12The current configuration does not exist
E_MACHINE_NOT_FOUND-13The current host does not exist
E_LISTENER_NOT_FOUND-15Listener does not exist
E_PART_NOT_FOUND-16The current partition does not exist
E_KEY_NOT_FOUND-17Key does not exist
E_USER_NOT_FOUND-18User does not exist
E_STATS_NOT_FOUND-19Statistics do not exist
E_SERVICE_NOT_FOUND-20No current service found
E_DRAINER_NOT_FOUND-21Drainer does not exist
E_DRAINER_CLIENT_NOT_FOUND-22Drainer client does not exist
E_PART_STOPPED-23The current partition has already been stopped
E_BACKUP_FAILED-24Backup failed
E_BACKUP_EMPTY_TABLE-25The backed-up table is empty
E_BACKUP_TABLE_FAILED-26Table backup failure
E_PARTIAL_RESULT-27MultiGet could not get all data
E_REBUILD_INDEX_FAILED-28Index rebuild failed
E_INVALID_PASSWORD-29Password is invalid
E_FAILED_GET_ABS_PATH-30Unable to get absolute path
E_BAD_USERNAME_PASSWORD-1001Authentication failed
E_SESSION_INVALID-1002Invalid session
E_SESSION_TIMEOUT-1003Session timeout
E_SYNTAX_ERROR-1004Syntax error
E_EXECUTION_ERROR-1005Execution error
E_STATEMENT_EMPTY-1006Statement is empty
E_BAD_PERMISSION-1008Permission denied
E_SEMANTIC_ERROR-1009Semantic error
E_TOO_MANY_CONNECTIONS-1010Maximum number of connections exceeded
E_PARTIAL_SUCCEEDED-1011Access to storage failed (only some requests succeeded)
E_NO_HOSTS-2001Host does not exist
E_EXISTED-2002Host already exists
E_INVALID_HOST-2003Invalid host
E_UNSUPPORTED-2004The current command, statement, or function is not supported
E_NOT_DROP-2005Not allowed to drop
E_CONFIG_IMMUTABLE-2007Configuration items cannot be changed
E_CONFLICT-2008Parameters conflict with meta data
E_INVALID_PARM-2009Invalid parameter
E_WRONGCLUSTER-2010Wrong cluster
E_ZONE_NOT_ENOUGH-2011Listener conflicts
E_ZONE_IS_EMPTY-2012Host not exist
E_SCHEMA_NAME_EXISTS-2013Schema name already exists
E_RELATED_INDEX_EXISTS-2014There are still indexes related to tag or edge, cannot drop it
E_RELATED_SPACE_EXISTS-2015There are still some space on the host, cannot drop it
E_STORE_FAILURE-2021Failed to store data
E_STORE_SEGMENT_ILLEGAL-2022Illegal storage segment
E_BAD_BALANCE_PLAN-2023Invalid data balancing plan
E_BALANCED-2024The cluster is already in the data balancing status
E_NO_RUNNING_BALANCE_PLAN-2025There is no running data balancing plan
E_NO_VALID_HOST-2026Lack of valid hosts
E_CORRUPTED_BALANCE_PLAN-2027A data balancing plan that has been corrupted
E_IMPROPER_ROLE-2030Failed to recover user role
E_INVALID_PARTITION_NUM-2031Number of invalid partitions
E_INVALID_REPLICA_FACTOR-2032Invalid replica factor
E_INVALID_CHARSET-2033Invalid character set
E_INVALID_COLLATE-2034Invalid character sorting rules
E_CHARSET_COLLATE_NOT_MATCH-2035Character set and character sorting rule mismatch
E_SNAPSHOT_FAILURE-2040Failed to generate a snapshot
E_BLOCK_WRITE_FAILURE-2041Failed to write block data
E_ADD_JOB_FAILURE-2044Failed to add new task
E_STOP_JOB_FAILURE-2045Failed to stop task
E_SAVE_JOB_FAILURE-2046Failed to save task information
E_BALANCER_FAILURE-2047Data balancing failed
E_JOB_NOT_FINISHED-2048The current task has not been completed
E_TASK_REPORT_OUT_DATE-2049Task report failed
E_JOB_NOT_IN_SPACE-2050The current task is not in the graph space
E_JOB_NEED_RECOVER-2051The current task needs to be resumed
E_JOB_ALREADY_FINISH-2052The job status has already been failed or finished
E_JOB_SUBMITTED-2053Job default status
E_JOB_NOT_STOPPABLE-2054The given job do not support stop
E_JOB_HAS_NO_TARGET_STORAGE-2055The leader distribution has not been reported, so can't send task to storage
E_INVALID_JOB-2065Invalid task
E_BACKUP_BUILDING_INDEX-2066Backup terminated (index being created)
E_BACKUP_SPACE_NOT_FOUND-2067Graph space does not exist at the time of backup
E_RESTORE_FAILURE-2068Backup recovery failed
E_SESSION_NOT_FOUND-2069Session does not exist
E_LIST_CLUSTER_FAILURE-2070Failed to get cluster information
E_LIST_CLUSTER_GET_ABS_PATH_FAILURE-2071Failed to get absolute path when getting cluster information
E_LIST_CLUSTER_NO_AGENT_FAILURE-2072Unable to get an agent when getting cluster information
E_QUERY_NOT_FOUND-2073Query not found
E_AGENT_HB_FAILUE-2074Failed to receive heartbeat from agent
E_HOST_CAN_NOT_BE_ADDED-2082The host can not be added for it's not a storage host
E_ACCESS_ES_FAILURE-2090Failed to access elasticsearch
E_GRAPH_MEMORY_EXCEEDED-2600Graph memory exceeded
E_CONSENSUS_ERROR-3001Consensus cannot be reached during an election
E_KEY_HAS_EXISTS-3002Key already exists
E_DATA_TYPE_MISMATCH-3003Data type mismatch
E_INVALID_FIELD_VALUE-3004Invalid field value
E_INVALID_OPERATION-3005Invalid operation
E_NOT_NULLABLE-3006Current value is not allowed to be empty
E_FIELD_UNSET-3007Field value must be set if the field value is NOT NULL or has no default value
E_OUT_OF_RANGE-3008The value is out of the range of the current type
E_DATA_CONFLICT_ERROR-3010Data conflict
E_WRITE_STALLED-3011Writes are delayed
E_IMPROPER_DATA_TYPE-3021Incorrect data type
E_INVALID_SPACEVIDLEN-3022Invalid VID length
E_INVALID_FILTER-3031Invalid filter
E_INVALID_UPDATER-3032Invalid field update
E_INVALID_STORE-3033Invalid KV storage
E_INVALID_PEER-3034Peer invalid
E_RETRY_EXHAUSTED-3035Out of retries
E_TRANSFER_LEADER_FAILED-3036Leader change failed
E_INVALID_STAT_TYPE-3037Invalid stat type
E_INVALID_VID-3038VID is invalid
E_LOAD_META_FAILED-3040Failed to load meta information
E_FAILED_TO_CHECKPOINT-3041Failed to generate checkpoint
E_CHECKPOINT_BLOCKED-3042Generating checkpoint is blocked
E_FILTER_OUT-3043Data is filtered
E_INVALID_DATA-3044Invalid data
E_MUTATE_EDGE_CONFLICT-3045Concurrent write conflicts on the same edge
E_MUTATE_TAG_CONFLICT-3046Concurrent write conflict on the same vertex
E_OUTDATED_LOCK-3047Lock is invalid
E_INVALID_TASK_PARA-3051Invalid task parameter
E_USER_CANCEL-3052The user canceled the task
E_TASK_EXECUTION_FAILED-3053Task execution failed
E_PLAN_IS_KILLED-3060Execution plan was cleared
E_NO_TERM-3070The heartbeat process was not completed when the request was received
E_OUTDATED_TERM-3071Out-of-date heartbeat received from the old leader (the new leader has been elected)
E_WRITE_WRITE_CONFLICT-3073Concurrent write conflicts with later requests
E_RAFT_UNKNOWN_PART-3500Unknown partition
E_RAFT_LOG_GAP-3501Raft logs lag behind
E_RAFT_LOG_STALE-3502Raft logs are out of date
E_RAFT_TERM_OUT_OF_DATE-3503Heartbeat messages are out of date
E_RAFT_UNKNOWN_APPEND_LOG-3504Unknown additional logs
E_RAFT_WAITING_SNAPSHOT-3511Waiting for the snapshot to complete
E_RAFT_SENDING_SNAPSHOT-3512There was an error sending the snapshot
E_RAFT_INVALID_PEER-3513Invalid receiver
E_RAFT_NOT_READY-3514Raft did not start
E_RAFT_STOPPED-3515Raft has stopped
E_RAFT_BAD_ROLE-3516Wrong role
E_RAFT_WAL_FAIL-3521Write to a WAL failed
E_RAFT_HOST_STOPPED-3522The host has stopped
E_RAFT_TOO_MANY_REQUESTS-3523Too many requests
E_RAFT_PERSIST_SNAPSHOT_FAILED-3524Persistent snapshot failed
E_RAFT_RPC_EXCEPTION-3525RPC exception
E_RAFT_NO_WAL_FOUND-3526No WAL logs found
E_RAFT_HOST_PAUSED-3527Host suspended
E_RAFT_WRITE_BLOCKED-3528Writes are blocked
E_RAFT_BUFFER_OVERFLOW-3529Cache overflow
E_RAFT_ATOMIC_OP_FAILED-3530Atomic operation failed
E_LEADER_LEASE_FAILED-3531Leader lease expired
E_RAFT_CAUGHT_UP-3532Data has been synchronized on Raft
E_STORAGE_MEMORY_EXCEEDED-3600Storage memory exceeded
E_LOG_GAP-4001Drainer logs lag behind
E_LOG_STALE-4002Drainer logs are out of date
E_INVALID_DRAINER_STORE-4003The drainer data storage is invalid
E_SPACE_MISMATCH-4004Graph space mismatch
E_PART_MISMATCH-4005Partition mismatch
E_DATA_CONFLICT-4006Data conflict
E_REQ_CONFLICT-4007Request conflict
E_DATA_ILLEGAL-4008Illegal data
E_CACHE_CONFIG_ERROR-5001Cache configuration error
E_NOT_ENOUGH_SPACE-5002Insufficient space
E_CACHE_MISS-5003No cache hit
E_CACHE_WRITE_FAILURE-5005Write cache failed
E_NODE_NUMBER_EXCEED_LIMIT-7001Number of machines exceeded the limit
E_PARSING_LICENSE_FAILURE-7002Failed to resolve certificate
E_UNKNOWN-8000Unknown error