Skip to main content

Error Code Reference

This document provides a detailed list of server error codes that may occur when using the TDengine client and the corresponding actions to take. These error codes are also returned to connectors when using native connection methods.

rpc

Error CodeError DescriptionPossible CausesSuggested Actions
0x8000000BUnable to send/receive requests properly1. Network issues 2. Multiple retries failed to execute the request1. Check the network 2. Analyze logs for complex causes
0x80000013Time difference between client and server exceeds 900s1. Client and server are in different time zones 2. Time is not in sync1. Set the same time zone 2. Sync client and server times
0x80000015Unable to resolve FQDNInvalid FQDN settingCheck the FQDN setting
0x80000017Port is in usePort P is occupied, but the service still tries to bind to it1. Change the service port 2. Kill the process using the port
0x80000018Network jitter or request timeout over 900s1. Network instability 2. Request took too long1. Increase the system’s timeout limit 2. Check request execution time
0x80000019Unused error code
0x80000020Unable to connect to dnodes after multiple retries1. All nodes are down 2. No available master nodes1. Check taosd status, analyze causes, or ensure a master node is active
0x80000021All dnode connections failed after retries1. Network issues 2. Server deadlock caused disconnection1. Check the network 2. Check request execution time
0x80000022Connection limit reached1. High concurrency, connection limit exceeded 2. Server bug not releasing1. Increase tsNumOfRpcSessions 2. Analyze logs for unreleased connections

common

Error CodeError DescriptionPossible CausesSuggested Actions
0x80000100Operation not supportedOperation not allowed in the current scenarioVerify if the operation is valid
0x80000102Out of memoryMemory allocation failedEnsure sufficient memory on the client and server
0x80000104Data file corrupted1. Storage data file damaged 2. Unable to create UDF1. Contact Taos support 2. Check if the server has write permissions in temp folders
0x80000106Too many Ref ObjsNo available ref resourcesCapture logs and report issue on GitHub
0x80000107Ref ID is removedReferenced resource has been releasedCapture logs and report issue on GitHub
0x80000108Invalid Ref IDInvalid ref IDCapture logs and report issue on GitHub
0x8000010ARef is not presentRef information not foundCapture logs and report issue on GitHub
0x80000111Action in progressOperation is ongoing1. Wait for completion 2. Cancel if needed 3. Report issue if it takes too long
0x80000112Out of rangeConfiguration parameter out of rangeAdjust the parameter
0x80000115Invalid messageMessage error1. Verify node version consistency 2. Capture logs and report issue on GitHub
0x80000116Invalid message lengthMessage length error1. Verify node version consistency 2. Capture logs and report issue on GitHub
0x80000117Invalid pointerInvalid pointerCapture logs and report issue on GitHub
0x80000118Invalid parametersInvalid parametersCapture logs and report issue on GitHub
0x80000119Invalid configuration optionInvalid configurationCapture logs and report issue on GitHub
0x8000011AInvalid optionInvalid optionCapture logs and report issue on GitHub
0x8000011BInvalid JSON formatIncorrect JSON formatCapture logs and report issue on GitHub
0x8000011CInvalid version numberIncorrect version formatCapture logs and report issue on GitHub
0x8000011DInvalid version stringIncorrect version stringCapture logs and report issue on GitHub
0x8000011EVersion not compatibleVersion mismatch between nodesEnsure consistent version across nodes
0x8000011FChecksum errorFile checksum failedCapture logs and report issue on GitHub
0x80000120Failed to compress messageCompression failedCapture logs and report issue on GitHub
0x80000121Message not processedMessage was not processedCapture logs and report issue on GitHub
0x80000122Configuration not foundConfiguration item missingCapture logs and report issue on GitHub
0x80000123Repeat initializationDuplicate initializationCapture logs and report issue on GitHub
0x80000124Cannot add duplicate keys to hashDuplicate keys in hashCapture logs and report issue on GitHub
0x80000125Retry neededRetry requiredFollow API guidelines for retries
0x80000126Out of memory in RPC queueRPC queue memory limit reached1. Check system load 2. Increase rpcQueueMemoryAllowed if needed
0x80000127Invalid timestamp formatIncorrect timestamp formatVerify the timestamp format
0x80000128Message decode errorMessage decoding failedCapture logs and report issue on GitHub
0x8000012ANot foundInternal cache information not foundCapture logs and report issue on GitHub
0x8000012BOut of disk spaceInsufficient disk space1. Ensure sufficient space in data and temp folders 2. Perform regular maintenance
0x80000130Database is starting upDatabase is starting, service unavailableWait for the database to complete startup
0x80000131Database is closing downDatabase is shutting downEnsure the database is in a proper state
0x80000132Invalid data formatIncorrect data format1. Capture logs and report issue on GitHub 2. Contact Taos support
0x80000133Invalid operationOperation not supportedVerify if the operation is valid
0x80000134Invalid valueInvalid valueCapture logs and report issue on GitHub
0x80000135Invalid FQDNIncorrect FQDN configurationVerify FQDN settings

tsc

Error CodeError DescriptionPossible CausesSuggested Actions
0x80000207Invalid user nameInvalid database usernameCheck if the database username is correct
0x80000208Invalid passwordInvalid database passwordVerify the database password
0x80000209Database name too longDatabase name is invalidVerify the correctness of the database name
0x8000020ATable name too longTable name is invalidVerify the correctness of the table name
0x8000020FQuery terminatedQuery was terminatedCheck if a user manually stopped the query
0x80000213Disconnected from serverConnection was interruptedVerify if the connection was closed manually or the client exited
0x80000216Syntax error in SQLSQL syntax errorCheck and correct the SQL statement
0x80000219SQL statement too longSQL exceeds length limitShorten the SQL statement if needed
0x8000021AFile is emptyInput file is emptyVerify the content of the input file
0x8000021FInvalid column lengthColumn length errorCapture logs and report the issue on GitHub
0x80000222Invalid JSON data typeIncorrect JSON data typeVerify the JSON input
0x80000224Value out of rangeValue exceeds the data type rangeVerify the input values
0x80000229Invalid tsc inputAPI input errorVerify the parameters passed to the API
0x8000022AStmt API usage errorIncorrect usage of STMT APICheck the API call sequence, scenarios, and error handling
0x8000022BStmt table name not setTable name not properly setVerify if the table name was set using the correct API
0x8000022DQuery killedQuery was terminatedVerify if a user interrupted the query
0x8000022ENo available execution nodeNo available query execution nodesVerify query policy settings and ensure Qnode nodes are available
0x8000022FTable is not a super tableTable in query is not a supertableVerify if the table is a supertable
0x80000230Stmt cache errorSTMT internal cache errorCapture logs and report the issue on GitHub
0x80000231TSC internal errorInternal error in TSCCapture logs and report the issue on GitHub

mnode

Error CodeError DescriptionPossible CausesSuggested Actions
0x80000303Insufficient privilege for operationNo permissionGrant the necessary privileges
0x8000030BData expiredInternal errorReport the issue on GitHub
0x8000030CInvalid query IDInternal errorReport the issue on GitHub
0x8000030EInvalid connection IDInternal errorReport the issue on GitHub
0x80000315User is disabledUser unavailableGrant the necessary privileges
0x80000320Object already existsInternal errorReport the issue on GitHub
0x80000322Invalid table typeInternal errorReport the issue on GitHub
0x80000323Object does not existInternal errorReport the issue on GitHub
0x80000326Invalid action typeInternal errorReport the issue on GitHub
0x80000328Invalid raw data versionInternal errorReport the issue on GitHub
0x80000329Invalid raw data lengthInternal errorReport the issue on GitHub
0x8000032AInvalid raw data contentInternal errorReport the issue on GitHub
0x8000032CObject is being createdInternal errorReport the issue on GitHub
0x8000032DObject is being droppedInternal errorReport the issue on GitHub
0x80000330Dnode already existsInternal errorReport the issue on GitHub
0x80000331Dnode does not existInternal errorReport the issue on GitHub
0x80000332Vgroup does not existInternal errorReport the issue on GitHub
0x80000333Cannot drop mnode which is a leaderNode is a leaderConfirm if the operation is correct
0x80000334Out of dnodesInsufficient dnode nodesAdd more dnode nodes
0x80000335Cluster configuration inconsistentConfiguration mismatchCheck dnode and mnode configuration for consistency
0x8000033BCluster ID mismatchInconsistent cluster configurationCheck the clusterid in each node’s data/dnode/dnodes.json
0x80000340Account already exists(Enterprise only) Internal errorReport the issue on GitHub
0x80000342Invalid account options(Enterprise only) Unsupported operationConfirm if the operation is correct
0x80000344Invalid accountAccount does not existVerify the account
0x80000350User already existsDuplicate user creationConfirm if the operation is correct
0x80000351Invalid userUser does not existVerify the user
0x80000352Invalid user formatIncorrect formatVerify the format
0x80000353Invalid password formatIncorrect formatVerify the password format
0x80000354Cannot retrieve user from connectionInternal errorReport the issue on GitHub
0x80000355Too many users(Enterprise only) User limit exceededAdjust the configuration
0x80000357Authentication failureIncorrect passwordConfirm if the operation is correct
0x80000358User not availableUser does not existVerify the user
0x80000360STable already existsInternal errorReport the issue on GitHub
0x80000361STable does not existInternal errorReport the issue on GitHub
0x80000364Too many tagsToo many tagsCannot modify – code-level limitation
0x80000365Too many columnsToo many columnsCannot modify – code-level limitation
0x80000369Tag already existsTag already existsConfirm if the operation is correct
0x8000036ATag does not existTag does not existConfirm if the operation is correct
0x8000036BColumn already existsColumn already existsConfirm if the operation is correct
0x8000036CColumn does not existColumn does not existConfirm if the operation is correct
0x8000036EInvalid stable optionsInternal errorReport the issue on GitHub
0x8000036FInvalid row bytesInternal errorReport the issue on GitHub
0x80000370Invalid function nameIncorrect name lengthConfirm if the operation is correct
0x80000372Invalid function codeIncorrect code lengthConfirm if the operation is correct
0x80000373Function already existsFunction already existsConfirm if the operation is correct
0x80000374Function does not existFunction does not existConfirm if the operation is correct
0x80000375Invalid function buffer sizeBuffer size incorrect or exceeded limitConfirm if the operation is correct
0x80000378Invalid function commentIncorrect or exceeded lengthConfirm if the operation is correct
0x80000379Invalid function retrieve messageIncorrect or exceeded lengthConfirm if the operation is correct
0x80000380Database not specified or availableDatabase not specifiedUse the use database; command
0x80000381Database already existsDatabase already existsConfirm if the operation is correct
0x80000382Invalid database optionsInternal errorReport the issue on GitHub
0x80000383Invalid database nameIncorrect lengthConfirm if the operation is correct
0x80000385Too many databases for the accountExceeded limitAdjust the configuration
0x80000386Database in dropping statusDatabase is being droppedRetry, or report the issue if the state persists
0x80000388Database does not existDatabase not foundConfirm if the operation is correct
0x80000389Invalid database accountInternal errorReport the issue on GitHub
0x8000038ADatabase options not changedNo changes were madeConfirm if the operation is correct
0x8000038BIndex does not existIndex not foundConfirm if the operation is correct
0x80000396Database in creating statusDatabase is being createdRetry
0x8000039AInvalid system table nameInternal errorReport the issue on GitHub
0x800003A0Mnode already existsAlready existsConfirm if the operation is correct
0x800003A1Mnode not presentDoes not existConfirm if the operation is correct
0x800003A2Qnode already existsAlready existsConfirm if the operation is correct
0x800003A3Qnode not presentDoes not existConfirm if the operation is correct
0x800003A4Snode already existsAlready existsConfirm if the operation is correct
0x800003A5Snode not presentDoes not existConfirm if the operation is correct
0x800003A8The replica of mnode cannot be less than 1Less than 1 replicaOperation not allowed
0x800003A9The replica of mnode cannot exceed 3More than 3 replicasOperation not allowed
0x800003B1Not enough memory in dnodeInsufficient memoryAdjust the configuration
0x800003B3Invalid dnode endpointIncorrect endpoint configurationConfirm if the operation is correct
0x800003B6Offline dnode existsDnode is offlineCheck the node status
0x800003B7Invalid vgroup replicaInternal errorReport the issue on GitHub
0x800003B8Dnode in creating statusDnode is being createdRetry
0x800003B9Dnode in dropping statusDnode is being droppedRetry
0x800003C2Invalid stable alter optionsInternal errorReport the issue on GitHub
0x800003C3STable option unchangedNo changes were madeConfirm if the operation is correct
0x800003C4Field used by topicIn useConfirm if the operation is correct
0x800003C5Database is single stable modeInternal errorReport the issue on GitHub
0x800003C6Invalid schema version while altering stbInternal errorReport the issue on GitHub
0x800003C7Invalid stable UID while altering stbInternal errorReport the issue on GitHub
0x800003C8Field used by TSMAIn useConfirm if the operation is correct
0x800003D1Transaction does not existTransaction not foundConfirm if the operation is correct
0x800003D2Invalid stage to killCannot kill transaction at this stageWait for the transaction to finish, or report if it persists
0x800003D3Conflict transaction not completedConflicting transactionUse show transactions to identify the conflict, or report the issue
0x800003D4Transaction commit log is nullInternal errorReport the issue on GitHub
0x800003D5Unable to establish connectionNetwork errorVerify the network
0x800003D6Last transaction not finishedInternal errorReport the issue on GitHub
0x800003D7Sync timeout during transactionInternal errorReport the issue on GitHub
0x800003DFUnknown transaction errorInternal errorReport the issue on GitHub
0x800003E0Topic already existsAlready existsConfirm if the operation is correct
0x800003E1Topic does not existDoes not existConfirm if the operation is correct
0x800003E3Invalid topicInternal errorReport the issue on GitHub
0x800003E4Topic with invalid queryInternal errorReport the issue on GitHub
0x800003E5Topic with invalid optionInternal errorReport the issue on GitHub
0x800003E6Consumer does not existDoes not existConfirm if the operation is correct
0x800003E7Topic unchangedNo changes were madeConfirm if the operation is correct
0x800003E8Subscription does not existDoes not existConfirm if the operation is correct
0x800003E9Offset does not existDoes not existConfirm if the operation is correct
0x800003EAConsumer not readyInternal errorReport the issue on GitHub
0x800003EBTopic subscribed cannot be droppedIn useConfirm if the operation is correct
0x800003ECConsumer group used by some consumerIn useConfirm if the operation is correct
0x800003EDTopic must be dropped firstIn useConfirm if the operation is correct
0x800003EEInvalid subscription optionInternal errorConfirm if the operation is correct
0x800003EFTopic being rebalancedIn progressRetry
0x800003F0Stream already existsAlready existsConfirm if the operation is correct
0x800003F1Stream does not existDoes not existConfirm if the operation is correct
0x800003F2Invalid stream optionInternal errorReport the issue on GitHub
0x800003F3Stream must be dropped firstIn useConfirm if the operation is correct
0x800003F5Stream temporarily does not support replica >1Exceeds limitOperation not allowed
0x800003F6Too many streamsExceeds limitCannot modify – code-level limitation
0x800003F7Cannot write the same stable as other streamInternal errorReport the issue on GitHub
0x80000480Index already existsAlready existsConfirm if the operation is correct
0x80000481Index does not existDoes not existConfirm if the operation is correct
0x80000482Invalid SMA index optionInternal errorReport the issue on GitHub
0x80000483Index already existsAlready existsConfirm if the operation is correct
0x80000484Index does not existDoes not existConfirm if the operation is correct

dnode

Error CodeError DescriptionPossible CausesSuggested Actions
0x80000408Dnode is offlineNode is offlineCheck the node status
0x80000409Mnode already deployedAlready deployedConfirm if the operation is correct
0x8000040AMnode not foundInternal errorReport the issue on GitHub
0x8000040BMnode not deployedInternal errorReport the issue on GitHub
0x8000040CQnode already deployedAlready deployedConfirm if the operation is correct
0x8000040DQnode not foundInternal errorReport the issue on GitHub
0x8000040EQnode not deployedInternal errorReport the issue on GitHub
0x8000040FSnode already deployedAlready deployedConfirm if the operation is correct
0x80000410Snode not foundInternal errorReport the issue on GitHub
0x80000411Snode not deployedAlready deployedConfirm if the operation is correct

vnode

Error CodeError DescriptionPossible CausesSuggested Actions
0x80000503Invalid vgroup IDOutdated client cache, internal errorReport the issue on GitHub
0x80000512No writing privilegeNo write permissionRequest the necessary authorization
0x80000520Vnode does not existInternal errorReport the issue on GitHub
0x80000521Vnode already existsInternal errorReport the issue on GitHub
0x80000522Hash value of table is not in the vnode hash rangeTable does not belong to the vnodeReport the issue on GitHub
0x80000524Invalid table operationIllegal table operationReport the issue on GitHub
0x80000525Column already existsColumn already exists when modifying the tableReport the issue on GitHub
0x80000526Column does not existColumn does not exist when modifying the tableReport the issue on GitHub
0x80000527Column is subscribedColumn is subscribed, operation deniedReport the issue on GitHub
0x80000529Vnode is stoppedVnode has been stoppedReport the issue on GitHub
0x80000530Duplicate write requestDuplicate write request, internal errorReport the issue on GitHub
0x80000531Vnode query is busyQuery is busyReport the issue on GitHub

tsdb

Error CodeError DescriptionPossible CausesSuggested Actions
0x80000600Invalid table ID to writeTarget table does not existRestart the client
0x80000602Invalid table schema versionOutdated schema version, internal errorNo action needed, automatic update
0x80000603Table already existsTable already existsReport the issue on GitHub
0x80000604Invalid configurationInternal errorReport the issue on GitHub
0x80000605Initialization failedStartup failedReport the issue on GitHub
0x8000060BTimestamp is out of rangeTimestamp exceeds allowable rangeVerify and adjust the application’s timestamp logic
0x8000060CSubmit message is corruptedMessage error, possibly due to client-server incompatibilityReport the issue on GitHub
0x80000618Table does not existTable already existsReport the issue on GitHub
0x80000619Super table already existsSupertable already existsReport the issue on GitHub
0x8000061ASuper table does not existSupertable not foundReport the issue on GitHub
0x8000061BInvalid table schema versionSame as TSDB_CODE_TDB_IVD_TB_SCHEMA_VERSIONReport the issue on GitHub
0x8000061DTable already exists in another super tableTable belongs to a different supertableVerify the write logic

query

Error CodeError DescriptionPossible CausesSuggested Actions
0x80000700Invalid query handleQuery handle not foundPreserve logs and report the issue on GitHub
0x80000709Multiple retrieval of this querySubquery is already in progressPreserve logs and report the issue on GitHub
0x8000070AToo many groups/time windows in queryExceeds the limit for groups or windowsAdjust the query to reduce the number of groups or windows
0x8000070DSystem errorSystem API returned an errorPreserve logs and report the issue on GitHub
0x80000720Scheduler not foundCorresponding client information not foundPreserve logs and report the issue on GitHub
0x80000721Task not foundSubquery not foundPreserve logs and report the issue on GitHub
0x80000722Task already existsSubquery already existsPreserve logs and report the issue on GitHub
0x80000729Task message errorQuery message errorPreserve logs and report the issue on GitHub
0x8000072BTask status errorSubquery status errorPreserve logs and report the issue on GitHub
0x8000072FJob not foundQuery job not foundPreserve logs and report the issue on GitHub

grant

Error CodeError DescriptionPossible CausesSuggested Actions
0x80000800License expiredLicense has expiredVerify license information and contact support to update the license
0x80000801DNode creation limited by licenseExceeded the licensed limit for dnodesVerify license information and contact support to update the license
0x80000802Account creation limited by licenseExceeded the licensed limit for accountsVerify license information and contact support to update the license
0x80000803Time series limited by licenseExceeded the licensed limit for data pointsVerify license information and contact support to update the license
0x80000804Database creation limited by licenseExceeded the licensed limit for databasesVerify license information and contact support to update the license
0x80000805User creation limited by licenseExceeded the licensed limit for usersVerify license information and contact support to update the license
0x80000806Connection creation limited by licenseExceeded the licensed limit for connectionsNo limit currently enforced; contact support for further inspection
0x80000807Stream creation limited by licenseExceeded the licensed limit for streamsNo limit currently enforced; contact support for further inspection
0x80000808Write speed limited by licenseExceeded the licensed write speedNo limit currently enforced; contact support for further inspection
0x80000809Storage capacity limited by licenseExceeded the licensed storage capacityVerify license information and contact support to update the license
0x8000080AQuery time limited by licenseExceeded the licensed query limitNo limit currently enforced; contact support for further inspection
0x8000080BCPU cores limited by licenseExceeded the licensed limit for CPU coresNo limit currently enforced; contact support for further inspection
0x8000080CSTable creation limited by licenseExceeded the licensed limit for supertablesVerify license information and contact support to update the license
0x8000080DTable creation limited by licenseExceeded the licensed limit for tablesVerify license information and contact support to update the license

sync

Error CodeError DescriptionPossible CausesSuggested Actions
0x80000903Sync timeoutScenario 1: Leader switch occurred; the request on the old leader timed out during negotiation. Scenario 2: Timeout due to slow response from the follower.Check cluster status with show vgroups; review logs and network conditions between server nodes.
0x8000090CSync leader is unreachableScenario 1: During leader election. Scenario 2: Client request routed to a follower, and redirection failed. Scenario 3: Network configuration error on client or server.Check cluster status, network configuration, and application access status. Review server logs and network conditions between nodes.
0x8000090FSync new config errorConfiguration error during membership change.Internal error; user intervention not possible.
0x80000911Sync not ready to proposeScenario 1: Recovery not complete.Check cluster status with show vgroups; review logs and network conditions between nodes.
0x80000914Sync leader is restoringScenario 1: Leader switch occurred; log replay in progress on the new leader.Check cluster status with show vgroups; monitor recovery progress in server logs.
0x80000915Sync invalid snapshot msgSnapshot replication message error.Internal server error.
0x80000916Sync buffer is fullScenario: High concurrency or network/CPU bottlenecks caused buffer overflow.Check system resources (e.g., disk I/O, CPU, and network); monitor network connectivity between nodes.
0x80000917Sync write stallScenario: Execution stalled due to high load, insufficient disk I/O, or write failure.Check system resources (e.g., disk I/O, CPU) and investigate disk write failures.
0x80000918Sync negotiation win is fullScenario: High concurrency caused buffer overflow.Monitor system resources and network conditions between nodes.
0x800009FFSync internal errorOther internal errors.Check cluster status with show vgroups.

tq

Error CodeError DescriptionPossible CausesSuggested Actions
0x80000A0CTQ table schema not foundTable not found during data consumption.Internal error; not exposed to users.
0x80000A0DTQ no committed offsetOffset reset set to none, and no previous offset exists on the server side.Set offset reset to earliest or latest.

wal

Error CodeError DescriptionPossible CausesSuggested Actions
0x80001001WAL file is corruptedWAL file corrupted.Internal server error.
0x80001003WAL invalid versionLog version out of range.Internal server error.
0x80001005WAL log not existRequested log entry not found.Internal server error.
0x80001006WAL checksum mismatchWAL file corruption occurred.Internal server error.
0x80001007WAL log incompleteLog file missing or corrupted.Internal server error.

tfs

Error CodeError DescriptionPossible CausesSuggested Actions
0x80002201TFS invalid configurationMulti-tier storage configuration error.Verify the configuration.
0x80002202TFS too many disks on one levelToo many disks configured at one tier.Check if the number of disks exceeds the limit.
0x80002203TFS duplicate primary mount diskDuplicate primary disk configuration.Verify the configuration.
0x80002204TFS no primary mount diskPrimary disk not configured.Verify the configuration.
0x80002205TFS no disk mount on tierNo disk configured for the specified tier.Verify the configuration.
0x80002208No disk available on a tier.No available disk, usually due to full storage.Add more disks to increase capacity.

catalog

Error CodeError DescriptionPossible CausesSuggested Actions
0x80002400catalog internal errorInternal catalog error.Preserve logs and report the issue on GitHub.
0x80002401catalog invalid input parametersInvalid input parameters.Preserve logs and report the issue on GitHub.
0x80002402catalog is not readyCatalog not fully initialized.Preserve logs and report the issue on GitHub.
0x80002403catalog system errorSystem error in the catalog module.Preserve logs and report the issue on GitHub.
0x80002404Database is droppedDatabase cache deleted.Preserve logs and report the issue on GitHub.
0x80002405catalog is out of serviceCatalog module stopped.Preserve logs and report the issue on GitHub.
0x80002550Invalid msg orderMessage sequence error.Preserve logs and report the issue on GitHub.
0x80002501Job status errorJob status error.Preserve logs and report the issue on GitHub.
0x80002502scheduler internal errorInternal scheduler error.Preserve logs and report the issue on GitHub.
0x80002504Task timeoutSub-task timeout.Preserve logs and report the issue on GitHub.
0x80002505Job is droppingJob is being canceled.Check if the task was manually or programmatically interrupted.

parser

Error CodeError DescriptionPossible CausesSuggested Actions
0x80002600syntax error nearSQL syntax errorCheck and correct the SQL statement.
0x80002601Incomplete SQL statementIncomplete SQL statementCheck and complete the SQL statement.
0x80002602Invalid column nameIllegal or non-existent column nameCheck and correct the SQL statement.
0x80002603Table does not existTable not foundVerify the existence of the table.
0x80002604Column ambiguously definedDuplicate column (or alias) definitionsCheck and correct the SQL statement.
0x80002605Invalid value typeIllegal constant valueCheck and correct the SQL statement.
0x80002608There mustn't be aggregationAggregation function in an illegal clauseCheck and correct the SQL statement.
0x80002609ORDER BY item must be the number of a SELECT-list expressionInvalid ORDER BY positionCheck and correct the SQL statement.
0x8000260ANot a GROUP BY expressionIllegal GROUP BY clauseCheck and correct the SQL statement.
0x8000260BNot SELECTed expressionInvalid expressionCheck and correct the SQL statement.
0x8000260CNot a single-group group functionIllegal combination of columns and functionsCheck and correct the SQL statement.
0x8000260DTags number not matchedMismatch in tag columnsCheck and correct the SQL statement.
0x8000260EInvalid tag nameInvalid or non-existent tag nameCheck and correct the SQL statement.
0x80002610Value is too longValue exceeds the allowed limitCheck and correct SQL or API parameters.
0x80002611Password can not be emptyEmpty passwordUse a valid password.
0x80002612Port should be an integer that is less than 65535 and greater than 0Invalid port numberCheck and correct the port number.
0x80002613Endpoint should be in the format of 'fqdn:port'Invalid endpoint formatCheck and correct the address.
0x80002614This statement is no longer supportedDeprecated featureRefer to the feature documentation.
0x80002615Interval too smallInterval value below the minimum allowedIncrease the interval value.
0x80002616Database not specifiedNo database specifiedSpecify the target database.
0x80002617Invalid identifier nameIllegal or invalid-length identifier nameCheck the names of databases, tables, columns, or tags.
0x80002618Corresponding super table not in this dbsupertable not found in the databaseVerify the existence of the supertable.
0x80002619Invalid database optionIllegal database option valueCheck and correct the database option value.
0x8000261AInvalid table optionIllegal table option valueCheck and correct the table option value.
0x80002624GROUP BY and WINDOW-clause can't be used togetherGROUP BY and WINDOW cannot be used togetherCheck and correct the SQL statement.
0x80002627Aggregate functions do not support nestingNested aggregate functions are not supportedCheck and correct the SQL statement.
0x80002628Only support STATE_WINDOW on integer/bool/varchar columnUnsupported STATE_WINDOW data typeCheck and correct the SQL statement.
0x80002629Not support STATE_WINDOW on tag columnSTATE_WINDOW not supported on tag columnsCheck and correct the SQL statement.
0x8000262ASTATE_WINDOW not support for super table querySTATE_WINDOW not supported for supertablesCheck and correct the SQL statement.
0x8000262BSESSION gap should be fixed time window, and greater than 0Invalid session window valueCheck and correct the SQL statement.
0x8000262COnly support SESSION on primary timestamp columnInvalid session window columnCheck and correct the SQL statement.
0x8000262DInterval offset cannot be negativeIllegal interval offset valueCheck and correct the SQL statement.
0x8000262ECannot use 'year' as offset when interval is 'month'Illegal interval offset unitCheck and correct the SQL statement.
0x8000262FInterval offset should be shorter than intervalInvalid interval offset valueCheck and correct the SQL statement.
0x80002630Does not support sliding when interval is natural month/yearInvalid sliding unitCheck and correct the SQL statement.
0x80002631sliding value no larger than the interval valueInvalid sliding valueCheck and correct the SQL statement.
0x80002632sliding value can not less than 1%% of interval valueInvalid sliding valueCheck and correct the SQL statement.
0x80002633Only one tag if there is a json tagOnly one JSON tag allowedCheck and correct the SQL statement.
0x80002634Query block has incorrect number of result columnsMismatched number of columns in resultCheck and correct the SQL statement.
0x80002635Incorrect TIMESTAMP valueInvalid timestamp valueCheck and correct the SQL statement.
0x80002637soffset/offset can not be less than 0Invalid soffset/offset valueCheck and correct the SQL statement.
0x80002638slimit/soffset only available for PARTITION/GROUP BY queryslimit/soffset only allowed in PARTITION BY/GROUP BYCheck and correct the SQL statement.
0x80002639Invalid topic queryUnsupported topic queryCheck and correct the SQL statement.
0x8000263ACannot drop super table in batchBatch deletion of supertables not supportedCheck and correct the SQL statement.
0x8000263BStart(end) time of query range required or time range too largeQuery time range exceeds limitCheck and correct the SQL statement.
0x8000263CDuplicated column namesDuplicate column namesCheck and correct the SQL statement.
0x8000263DTags length exceeds max lengthTag length exceeds the maximum allowedCheck and correct the SQL statement.
0x8000263ERow length exceeds max lengthRow length exceeds the limitCheck and correct the SQL statement.
0x8000263FIllegal number of columnsIncorrect number of columnsCheck and correct the SQL statement.
0x80002640Too many columnsNumber of columns exceeds the limitCheck and correct the SQL statement.
0x80002641First column must be timestampThe first column must be a timestampCheck and correct the SQL statement.
0x80002642Invalid binary/nchar column/tag lengthInvalid binary/nchar lengthCheck and correct the SQL statement.
0x80002643Invalid number of tag columnsIncorrect number of tag columnsCheck and correct the SQL statement.
0x80002644Permission deniedPermission errorVerify user permissions.
0x80002645Invalid stream queryInvalid stream queryCheck and correct the SQL statement.
0x80002646Invalid _c0 or _rowts expressionInvalid use of _c0 or _rowtsCheck and correct the SQL statement.
0x80002647Invalid timeline functionMissing primary timestamp columnCheck and correct the SQL statement.
0x80002648Invalid passwordPassword does not meet the criteriaCheck and modify the password.
0x80002649Invalid alter table statementInvalid ALTER TABLE statementCheck and correct the SQL statement.
0x8000264APrimary timestamp column cannot be droppedTimestamp column cannot be deletedCheck and correct the SQL statement.
0x8000264BOnly binary/nchar column length could be modified, and the length can only be increased, not decreasedIllegal column modificationCheck and correct the SQL statement.
0x8000264CInvalid tbname pseudo columnInvalid use of tbname columnCheck and correct the SQL statement.
0x8000264DInvalid function nameInvalid function nameCheck and correct the function name.
0x8000264EComment too longComment length exceeds the limitCheck and correct the SQL statement.
0x8000264FFunction(s) only allowed in SELECT list, cannot mixed with non scalar functions or columnsInvalid mixing of functionsCheck and correct the SQL statement.
0x80002650Window query not supported, since no valid timestamp column included in the result of subqueryMissing primary timestamp column in resultCheck and correct the SQL statement.
0x80002651No columns can be droppedEssential columns cannot be deletedCheck and correct the SQL statement.
0x80002652Only tag can be json typeOnly tags can be of JSON typeCheck and correct the SQL statement.
0x80002655The DELETE statement must have a definite time window rangeInvalid WHERE condition in DELETECheck and correct the SQL statement.
0x80002656The REDISTRIBUTE VGROUP statement only support 1 to 3 dnodesInvalid number of DNODE in REDISTRIBUTE VGROUPCheck and correct the SQL statement.
0x80002657Fill now allowedFILL function not allowedCheck and correct the SQL statement.
0x80002658Invalid windows pcInvalid use of window pseudo-columnsCheck and correct the SQL statement.
0x80002659Window not allowedFunction cannot be used within a windowCheck and correct the SQL statement.
0x8000265AStream not allowedFunction cannot be used within a streamCheck and correct the SQL statement.
0x8000265BGroup by not allowedFunction cannot be used with GROUP BYCheck and correct the SQL statement.
0x8000265DInvalid interp clauseInvalid INTERP clauseCheck and correct the SQL statement.
0x8000265ENot valid function in windowInvalid window function usageCheck and correct the SQL statement.
0x8000265FOnly support single tableFunction supports only single-table queriesCheck and correct the SQL statement.
0x80002660Invalid sma indexInvalid SMA indexCheck and correct the SQL statement.
0x80002661Invalid SELECTed expressionInvalid query expressionCheck and correct the SQL statement.
0x80002662Fail to get table infoFailed to retrieve table metadataPreserve logs and report the issue on GitHub.
0x80002663Not unique table/aliasConflicting table names or aliasesCheck and correct the SQL statement.
0x80002664Join requires valid time series inputJOIN queries require primary timestamp columnsCheck and correct the SQL statement.
0x80002665The _TAGS pseudo column can only be used for subtable and supertable queriesInvalid use of _TAGS pseudo columnCheck and correct the SQL statement.
0x80002666Subquery output does not contain a primary timestamp columnEnsure that subqueries contain timestamp columns.
0x80002667Invalid usage of expr: %sInvalid expression usageCheck and correct the SQL statement.
0x800026FFParser internal errorInternal parser errorPreserve logs and report the issue on GitHub.
0x80002700Planner internal errorInternal planner errorPreserve logs and report the issue on GitHub.
0x80002701Expect ts equalJOIN condition validation failedPreserve logs and report the issue on GitHub.
0x80002702Cross join not supportedCROSS JOIN is not supportedCheck and correct the SQL statement.

function

Error CodeError DescriptionPossible Error Scenarios or CausesSuggested Actions
0x80002800Function internal errorAn error caused by invalid function parameters. For example, the APERCENTILE function only accepts "default" or "t-digest" as the third parameter. If other inputs are used, this error occurs. Similarly, the TO_ISO8601 function might fail if the timezone string is invalid.Adjust function input based on the specific error message.
0x80002801Invalid function parameter numberThe number of input parameters is incorrect. For example, the function requires n parameters, but the user provides a different number, like COUNT(col1, col2).Provide the correct number of parameters.
0x80002802Invalid function parameter typeThe function received a parameter of the wrong type. For example, the SUM function expects a numerical value, but a string like SUM("abc") was provided.Provide the correct parameter types.
0x80002803Invalid function parameter valueThe parameter value is out of range. For example, the SAMPLE function only accepts a range of [1, 1000] for its second parameter.Adjust the parameter values to be within the valid range.
0x80002804Not a built-in functionThe function is not recognized as a built-in function. This might happen if the internal function hash table initialization fails or is corrupted.This is likely a bug. Contact the development team.
0x80002805Duplicate timestamps not allowed in functionThe function received duplicate timestamps in the primary key column. In certain time-dependent functions like CSUM, DERIVATIVE, or MAVG, merged data from multiple sub-tables with identical timestamps may lead to meaningless calculations and errors.Ensure that no duplicate timestamps exist in sub-table data.

udf

Error CodeError DescriptionPossible Error Scenarios or CausesSuggested Actions
0x80002901udf is stoppingA udf call was received while a dnode is exiting.Stop executing the udf query.
0x80002902udf pipe read errorAn error occurred while taosd was reading the udfd pipe.This may indicate a crash in C udf or udfd.
0x80002903udf pipe connect errorAn error occurred while establishing a pipe connection between taosd and udfd.Restart taosd if the corresponding udfd is not running.
0x80002904udf pipe not existA connection issue occurred between the creation, call, or teardown stages of the udf.Investigate crashes in C udf or udfd.
0x80002905udf load failureAn error occurred while loading a udf in udfd.Check if the udf exists in mnode and review the logs.
0x80002906udf invalid function inputThe input to the udf was invalid.Ensure the input data types match the udf requirements.
0x80002907udf invalid bufsizeThe intermediate result in a udf aggregation function exceeded the buffer size specified during creation.Increase the buffer size or reduce intermediate result size.
0x80002908udf invalid output typeThe output type of the udf does not match the type specified during creation.Modify the udf or ensure matching output types.
0x80002909udf program language not supportedThe programming language used for the udf is not supported.Use a supported language, such as C or Python.
0x8000290Audf function execution failureThe udf function execution failed, for example, by returning an incorrect number of rows.Review the error logs for more details.

sml

Error CodeError DescriptionPossible Error Scenarios or CausesSuggested Actions
0x80003000Invalid line protocol typeThe protocol provided to the schemaless interface is invalid.Check if the protocol matches one of the TSDB_SML_PROTOCOL_TYPE values in taos.h.
0x80003001Invalid timestamp precision typeThe timestamp precision provided to the schemaless interface is invalid.Ensure the timestamp precision matches one of the TSDB_SML_TIMESTAMP_TYPE values in taos.h.
0x80003002Invalid data formatThe data format provided to the schemaless interface is invalid.Check the client error logs for details.
0x80003004Not the same type as beforeThe column types in multiple rows are inconsistent.Ensure the column types are consistent across all rows.
0x80003005Internal errorAn internal logic error occurred within the schemaless interface.Review the client error logs for more details.

sma

Error CodeError DescriptionPossible Error Scenarios or CausesSuggested Actions
0x80003100Tsma init failedTSMA environment initialization failed.Check the error logs and contact the development team.
0x80003101Tsma already existsTSMA was created multiple times.Avoid creating the same TSMA more than once.
0x80003102Invalid tsma environmentThe TSMA runtime environment is abnormal.Check the error logs and contact the development team.
0x80003103Invalid tsma stateThe vgroup of the stream computation result does not match the TSMA index vgroup.Check the error logs and contact the development team.
0x80003104Invalid tsma pointerA null pointer was encountered when processing stream computation results.Check the error logs and contact the development team.
0x80003105Invalid tsma parametersThe number of results from the stream computation is zero.Check the error logs and contact the development team.
0x80003150Invalid rsma environmentThe Rsma execution environment is abnormal.Check the error logs and contact the development team.
0x80003151Invalid rsma stateThe Rsma execution state is abnormal.Check the error logs and contact the development team.
0x80003152Rsma qtaskinfo creation errorAn error occurred while creating the stream computation environment.Check the error logs and contact the development team.
0x80003153Rsma invalid schemaMetadata information was incorrect during startup recovery.Check the error logs and contact the development team.
0x80003154Rsma stream state open failedFailed to open the stream operator state storage.Check the error logs and contact the development team.
0x80003155Rsma stream state commit failedFailed to commit the stream operator state storage.Check the error logs and contact the development team.
0x80003156Rsma fs ref errorFile reference count error for the operator.Check the error logs and contact the development team.
0x80003157Rsma fs sync errorFailed to synchronize the operator files.Check the error logs and contact the development team.
0x80003158Rsma fs update errorFailed to update the operator files.Check the error logs and contact the development team.

index

Error CodeError DescriptionPossible Error Scenarios or CausesSuggested Actions
0x80003200Index rebuilding in progress1. Write speed is too fast, causing the merge thread to fall behind. 2. The index file is corrupted and is being rebuilt.Check the error logs and contact the development team.
0x80003201Index file corruptedThe index file is damaged.Check the error logs and contact the development team.

tmq

Error CodeError DescriptionPossible Error Scenarios or CausesSuggested Actions
0x80004000Invalid messageThe subscribed data is invalid, which usually should not occur.Review the client error logs for more details.
0x80004001Consumer mismatchThe subscribed vnode does not match the reassigned vnode, often occurring when a new consumer joins the same consumer group.This is an internal error not exposed to the user.
0x80004002Consumer closedThe consumer no longer exists.Check if the consumer was closed intentionally.
0x80004100Stream task not existThe stream computation task does not exist.Review the server error logs for more details.