Skip to main content

Error Code Reference

This document details the server error codes that may be encountered when using the TDengine client and the corresponding actions to be taken. All language connectors will also return these error codes to the caller when using the native connection method.

rpc

Error CodeError DescriptionPossible Error Scenarios or ReasonsRecommended User Actions
0x8000000BUnable to establish connection1. Network is unreachable 2. Multiple retries, still unable to perform request1. Check network 2. Analyze logs, specific reasons are more complex
0x80000013Client and server's time is not synchronized1. Client and server are not in the same time zone 2. Client and server are in the same time zone, but their times are not synchronized, differing by more than 900 seconds1. Adjust to the same time zone 2. Calibrate client and server time
0x80000015Unable to resolve FQDNInvalid fqdn setCheck fqdn settings
0x80000017Port already in useThe port is already occupied by some service, and the newly started service still tries to bind to that port1. Change the server port of the new service 2. Kill the service that previously occupied the port
0x80000018Conn is brokenDue to network jitter or request time being too long (over 900 seconds), the system actively disconnects1. Set the system's maximum timeout duration 2. Check request duration
0x80000019Conn read timeoutNot enabled
0x80000020some vnode/qnode/mnode(s) out of serviceAfter multiple retries, still unable to connect to the cluster, possibly all nodes have crashed, or the surviving nodes are not Leader nodes1. Check the status of taosd, analyze the reasons for taosd crash 2. Analyze why the surviving taosd cannot elect a Leader
0x80000021some vnode/qnode/mnode(s) conn is brokenAfter multiple retries, still unable to connect to the cluster, possibly due to network issues, request time too long, server deadlock, etc.1. Check network 2. Request execution time
0x80000022rpc open too many session1. High concurrency causing the number of occupied connections to reach the limit 2. Server BUG, causing connections not to be released1. Adjust configuration parameter numOfRpcSessions 2. Adjust configuration parameter timeToGetAvailableConn 3. Analyze reasons for server not releasing connections

common

Error CodeError DescriptionPossible Error Scenarios or ReasonsRecommended User Actions
0x80000100Operation not supportedOperation not supported, disallowed scenariosCheck if the operation is incorrect, confirm if the feature is supported
0x80000102Out of MemoryClient or server memory allocation failure scenariosCheck if client, server memory is sufficient
0x80000104Data file corrupted1. Storage data file damaged 2. udf file cannot be created1. Contact Taos customer support 2. Confirm server has read/write/create file permissions for the temporary directory
0x80000106too many Ref ObjsNo available ref resourcesPreserve the scene and logs, report issue on github
0x80000107Ref ID is removedThe referenced ref resource has been releasedPreserve the scene and logs, report issue on github
0x80000108Invalid Ref IDInvalid ref IDPreserve the scene and logs, report issue on github
0x8000010ARef is not thereref information does not existPreserve the scene and logs, report issue on github
0x80000110Unexpected generic errorSystem internal errorPreserve the scene and logs, report issue on github
0x80000111Action in progressOperation in progress1. Wait for the operation to complete 2. Cancel the operation if necessary 3. If it exceeds a reasonable time and still not completed, preserve the scene and logs, or contact customer support
0x80000112Out of rangeConfiguration parameter exceeds allowed value rangeChange the parameter
0x80000115Invalid messageIncorrect message1. Check for version inconsistency between nodes 2. Preserve the scene and logs, report issue on github
0x80000116Invalid message lenIncorrect message length1. Check for version inconsistency between nodes 2. Preserve the scene and logs, report issue on github
0x80000117Invalid pointerInvalid pointerPreserve the scene and logs, report issue on github
0x80000118Invalid parametersInvalid parametersPreserve the scene and logs, report issue on github
0x80000119Invalid config optionInvalid configurationPreserve the scene and logs, report issue on github
0x8000011AInvalid optionInvalid optionPreserve the scene and logs, report issue on github
0x8000011BInvalid json formatJSON format errorPreserve the scene and logs, report issue on github
0x8000011CInvalid version numberInvalid version formatPreserve the scene and logs, report issue on github
0x8000011DInvalid version stringInvalid version formatPreserve the scene and logs, report issue on github
0x8000011EVersion not compatibleVersion incompatibility between nodesCheck versions of all nodes (including server and client), ensure node versions are consistent or compatible
0x8000011FChecksum errorFile checksum verification failedPreserve the scene and logs, report issue on github
0x80000120Failed to compress msgCompression failedPreserve the scene and logs, report issue on github
0x80000121Message not processedMessage not correctly processedPreserve the scene and logs, report issue on github
0x80000122Config not foundConfiguration item not foundPreserve the scene and logs, report issue on github
0x80000123Repeat initializationRepeated initializationPreserve the scene and logs, report issue on github
0x80000124Cannot add duplicate keys to hashAdding duplicate key data to hash tablePreserve the scene and logs, report issue on github
0x80000125Retry neededApplication needs to retryApplication should retry according to API usage specifications
0x80000126Out of memory in rpc queuerpc message queue memory usage reached limit1. Check and confirm if system load is too high 2. (If necessary) Increase rpc message queue memory limit through configuration rpcQueueMemoryAllowed 3. If the problem persists, preserve the scene and logs, report issue on github
0x80000127Invalid timestamp formatIncorrect timestamp formatCheck and confirm the input timestamp format is correct
0x80000128Msg decode errorMessage decode errorPreserve the scene and logs, report issue on github
0x8000012ANot foundInternal cache information not foundPreserve the scene and logs, report issue on github
0x8000012BOut of disk spaceInsufficient disk space1. Check and ensure data directory, temporary file folder directory have sufficient disk space 2. Regularly check and maintain the above directories to ensure enough space
0x80000130Database is starting upDatabase is starting up, unable to provide serviceCheck database status, wait for the system to finish starting up or retry
0x80000131Database is closing downDatabase is closing down or has closed, unable to provide serviceCheck database status, ensure the system is working in normal state
0x80000132Invalid data formatIncorrect data format1. Preserve the scene and logs, report issue on github 2. Contact Taos customer support
0x80000133Invalid operationInvalid or unsupported operation1. Modify to confirm the current operation is legal and supported, check parameter validity 2. If the problem persists, preserve the scene and logs, report issue on github
0x80000134Invalid valueInvalid valuePreserve the scene and logs, report issue on github
0x80000135Invalid fqdnInvalid FQDNCheck if the configured or input FQDN value is correct

tsc

Error CodeError DescriptionPossible Error Scenarios or ReasonsRecommended Actions for Users
0x80000207Invalid user nameInvalid database usernameCheck if the database username is correct
0x80000208Invalid passwordInvalid database passwordCheck if the database password is correct
0x80000209Database name too longInvalid database nameCheck if the database name is correct
0x8000020ATable name too longInvalid table nameCheck if the table name is correct
0x8000020FQuery terminatedQuery was terminatedCheck if the query was terminated by a user
0x80000213Disconnected from serverConnection was interruptedCheck if the connection was interrupted by someone or if the client is exiting
0x80000216Syntax error in SQLSQL syntax errorCheck and correct the SQL statement
0x80000219SQL statement too longSQL length exceeds limitCheck and correct the SQL statement
0x8000021AFile is emptyFile content is emptyCheck the content of the input file
0x8000021FInvalid column lengthIncorrect column lengthPreserve the scene and logs, report issue on GitHub
0x80000222Invalid JSON data typeIncorrect JSON data typeCheck the JSON content input
0x80000224Value out of rangeData size exceeds type rangeCheck the data value input
0x80000229Invalid tsc inputAPI input errorCheck the parameters passed when calling the API from the application
0x8000022AStmt API usage errorIncorrect usage of STMT APICheck the order of STMT API calls, applicable scenarios, and error handling
0x8000022BStmt table name not setSTMT table name not set correctlyCheck if the table name setting interface was called
0x8000022DQuery killedQuery was terminatedCheck if the query was terminated by a user
0x8000022ENo available execution nodeNo available query execution nodeCheck the current query policy configuration, ensure available Qnode if needed
0x8000022FTable is not a supertableTable name in the statement is not a supertableCheck if the table name used in the statement is a supertable
0x80000230Stmt cache errorSTMT internal cache errorPreserve the scene and logs, report issue on GitHub
0x80000231Tsc internal errorTSC internal errorPreserve the scene and logs, report issue on GitHub

mnode

Error CodeDescriptionPossible Error Scenarios or ReasonsSuggested Actions for Users
0x80000303Insufficient privilege for operationNo permissionGrant permissions
0x8000030BData expiredInternal errorReport issue
0x8000030CInvalid query idInternal errorReport issue
0x8000030EInvalid connection idInternal errorReport issue
0x80000315User is disabledUser is unavailableGrant permissions
0x80000320Object already thereInternal errorReport issue
0x80000322Invalid table typeInternal errorReport issue
0x80000323Object not thereInternal errorReport issue
0x80000326Invalid action typeInternal errorReport issue
0x80000328Invalid raw data versionInternal errorReport issue
0x80000329Invalid raw data lenInternal errorReport issue
0x8000032AInvalid raw data contentInternal errorReport issue
0x8000032CObject is creatingInternal errorReport issue
0x8000032DObject is droppingInternal errorReport issue
0x80000330Dnode already existsInternal errorReport issue
0x80000331Dnode does not existInternal errorReport issue
0x80000332Vgroup does not existInternal errorReport issue
0x80000333Cannot drop mnode which is leaderOperating node is leaderConfirm if the operation is correct
0x80000334Out of dnodesInsufficient dnode nodesIncrease dnode nodes
0x80000335Cluster cfg inconsistentConfiguration inconsistencyCheck if the configuration of dnode and mnode nodes is consistent. Check method: 1. Output in logs when nodes start 2. Use show variables
0x8000033BCluster id not matchNode configuration data inconsistencyCheck the clusterid in each node's data/dnode/dnodes.json file
0x80000340Account already exists(Enterprise only) Internal errorReport issue
0x80000342Invalid account options(Enterprise only) Operation not supportedConfirm if the operation is correct
0x80000344Invalid accountAccount does not existConfirm if the account is correct
0x80000350User already existsCreate user, duplicate creationConfirm if the operation is correct
0x80000351Invalid userUser does not existConfirm if the operation is correct
0x80000352Invalid user formatIncorrect formatConfirm if the operation is correct
0x80000353Invalid password formatIncorrect formatConfirm if the operation is correct
0x80000354Can not get user from connInternal errorReport issue
0x80000355Too many users(Enterprise only) Exceeding user limitAdjust configuration
0x80000357Authentication failureIncorrect passwordConfirm if the operation is correct
0x80000358User not availableUser does not existConfirm if the operation is correct
0x80000360STable already existsInternal errorReport issue
0x80000361STable not existInternal errorReport issue
0x80000364Too many tagsToo many tagsCannot be modified, code-level restriction
0x80000365Too many columnsToo many columnsCannot be modified, code-level restriction
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 issue
0x8000036FInvalid row bytesInternal errorReport issue
0x80000370Invalid func nameIncorrect name lengthConfirm if the operation is correct
0x80000372Invalid func codeIncorrect code lengthConfirm if the operation is correct
0x80000373Func already existsFunc already existsConfirm if the operation is correct
0x80000374Func not existsFunc does not existConfirm if the operation is correct
0x80000375Invalid func bufSizeIncorrect bufSize length, or exceeds limitConfirm if the operation is correct
0x80000378Invalid func commentIncorrect length, or exceeds limitConfirm if the operation is correct
0x80000379Invalid func retrieve msgIncorrect length, or exceeds limitConfirm if the operation is correct
0x80000380Database not specified or availableDatabase not specifiedUse use database;
0x80000381Database already existsDatabase already existsConfirm if the operation is correct
0x80000382Invalid database optionsInternal errorReport issue
0x80000383Invalid database nameIncorrect lengthConfirm if the operation is correct
0x80000385Too many databases for accountExceeding limitAdjust configuration
0x80000386Database in dropping statusDatabase is being deletedRetry, if it remains in this state for a long time, report issue
0x80000388Database not existDoes not existConfirm if the operation is correct
0x80000389Invalid database accountInternal errorReport issue
0x8000038ADatabase options not changedNo change in operationConfirm if the operation is correct
0x8000038BIndex not existDoes not existConfirm if the operation is correct
0x80000396Database in creating statusDatabase is being createdRetry
0x8000039AInvalid system table nameInternal errorReport issue
0x800003A0Mnode already existsAlready existsConfirm if the operation is correct
0x800003A1Mnode not thereAlready existsConfirm if the operation is correct
0x800003A2Qnode already existsAlready existsConfirm if the operation is correct
0x800003A3Qnode not thereDoes not existConfirm if the operation is correct
0x800003A4Snode already existsAlready existsConfirm if the operation is correct
0x800003A5Snode not thereDoes not existConfirm if the operation is correct
0x800003A8The replica of mnode cannot less than 1Less than 1 mnodeOperation not allowed
0x800003A9The replica of mnode cannot exceed 3More than 1 mnodeOperation not allowed
0x800003B1No enough memory in dnodeInsufficient memoryAdjust configuration
0x800003B3Invalid dnode end pointIncorrect ep configurationConfirm if the operation is correct
0x800003B6Offline dnode existsDnode offlineCheck node status
0x800003B7Invalid vgroup replicaInternal errorReport issue
0x800003B8Dnode in creating statusBeing createdRetry
0x800003B9Dnode in dropping statusBeing deletedRetry
0x800003C2Invalid stable alter optionsInternal errorReport issue
0x800003C3STable option unchangedNo change in operationConfirm if the operation is correct
0x800003C4Field used by topicBeing usedConfirm if the operation is correct
0x800003C5Database is single stable modeInternal errorReport issue
0x800003C6Invalid schema version while alter stbInternal errorReport issue
0x800003C7Invalid stable uid while alter stbInternal errorReport issue
0x800003C8Field used by tsmaBeing usedConfirm if the operation is correct
0x800003D1Transaction not existsDoes not existConfirm if the operation is correct
0x800003D2Invalid stage to killTransaction is at a stage that cannot be killed (e.g., during commit)Wait for the transaction to end, if it does not end for a long time, report issue
0x800003D3Conflict transaction not completedTransaction conflict, cannot perform this operationUse the show transactions command to view the conflicting transaction, wait for the conflicting transaction to end, if it does not end for a long time, report issue
0x800003D4Transaction commitlog is nullInternal errorReport issue
0x800003D5Unable to establish connection While execute transaction and will continue in the backgroundNetwork errorCheck if the network is normal
0x800003D6Last Transaction not finishedInternal errorReport issue
0x800003D7Sync timeout While execute transaction and will continue in the backgroundInternal errorReport issue
0x800003DFUnknown transaction errorInternal errorReport issue
0x800003E0Topic already existsAlready existsConfirm if the operation is correct
0x800003E1Topic not existDoes not existConfirm if the operation is correct
0x800003E3Invalid topicInternal errorReport issue
0x800003E4Topic with invalid queryInternal errorReport issue
0x800003E5Topic with invalid optionInternal errorReport issue
0x800003E6Consumer not existDoes not existConfirm if the operation is correct
0x800003E7Topic unchangedNo changeConfirm if the operation is correct
0x800003E8Subcribe not existDoes not existConfirm if the operation is correct
0x800003E9Offset not existDoes not existConfirm if the operation is correct
0x800003EAConsumer not readyInternal errorReport issue
0x800003EBTopic subscribed cannot be droppedBeing usedConfirm if the operation is correct
0x800003ECConsumer group being used by some consumerBeing usedConfirm if the operation is correct
0x800003EDTopic must be dropped firstBeing usedConfirm if the operation is correct
0x800003EEInvalid subscribe optionInternal errorConfirm if the operation is correct
0x800003EFTopic being rebalancedIn operationRetry
0x800003F0Stream already existsAlready existsConfirm if the operation is correct
0x800003F1Stream not existDoes not existConfirm if the operation is correct
0x800003F2Invalid stream optionInternal errorReport issue
0x800003F3Stream must be dropped firstBeing usedConfirm if the operation is correct
0x800003F5Stream temporarily does not support source db having replica > 1Exceeding limitOperation not allowed
0x800003F6Too many streamsExceeding limitCannot be modified, code-level restriction
0x800003F7Cannot write the same stable as other streamInternal errorReport issue
0x80000480index already existsAlready existsConfirm if the operation is correct
0x80000481index not existDoes not existConfirm if the operation is correct
0x80000482Invalid sma index optionInternal errorReport issue
0x80000483index already existsAlready existsConfirm if the operation is correct
0x80000484index not existDoes not existConfirm if the operation is correct

dnode

Error CodeDescriptionPossible Error Scenarios or ReasonsRecommended Actions
0x80000408Dnode is offlineOfflineCheck node status
0x80000409Mnode already deployedAlready deployedConfirm if correct
0x8000040AMnode not foundInternal errorReport issue
0x8000040BMnode not deployedInternal errorReport issue
0x8000040CQnode already deployedAlready deployedConfirm if correct
0x8000040DQnode not foundInternal errorReport issue
0x8000040EQnode not deployedInternal errorReport issue
0x8000040FSnode already deployedAlready deployedConfirm if correct
0x80000410Snode not foundInternal errorReport issue
0x80000411Snode not deployedAlready deployedConfirm if correct

vnode

Error CodeDescriptionPossible Error Scenarios or ReasonsRecommended Actions
0x80000503Invalid vgroup IDOld client did not update cache, internal errorReport issue
0x80000512No writing privilegeNo write permissionSeek authorization
0x80000520Vnode does not existInternal errorReport issue
0x80000521Vnode already existsInternal errorReport issue
0x80000522Hash value of table is not in the vnode hash rangeTable does not belong to vnodeReport issue
0x80000524Invalid table operationIllegal table operationReport issue
0x80000525Column already existsColumn already exists when modifying tableReport issue
0x80000526Column does not existColumn does not exist when modifying tableReport issue
0x80000527Column is subscribedColumn is subscribed, cannot operateReport issue
0x80000529Vnode is stoppedVnode is closedReport issue
0x80000530Duplicate write requestDuplicate write request, internal errorReport issue
0x80000531Vnode query is busyQuery is busyReport issue

tsdb

Error CodeError DescriptionPossible Error Scenarios or ReasonsRecommended Actions for Users
0x80000600Invalid table ID to writeWriting to a non-existent tableRestart the client
0x80000602Invalid table schema versionTable schema version is outdated, internal errorNo action needed, automatic internal update
0x80000603Table already existsTable already existsReport the issue
0x80000604Invalid configurationInternal errorReport the issue
0x80000605Init failedStartup failureReport the issue
0x8000060BTimestamp is out of rangeWriting time range is out of boundsReport the issue, check application write time logic
0x8000060CSubmit message is messed upMessage error, possibly due to client-server incompatibilityReport the issue
0x80000618Table does not existTable already existsReport the issue
0x80000619Supertable already existsSupertable already existsReport the issue
0x8000061ASupertable does not existSupertable does not existReport the issue
0x8000061BInvalid table schema versionSame as TSDB_CODE_TDB_IVD_TB_SCHEMA_VERSIONReport the issue
0x8000061DTable already exists in other supertableTable exists, but belongs to another supertableCheck write application logic

query

Error CodeError DescriptionPossible Error Scenarios or ReasonsRecommended Actions for Users
0x80000700Invalid query handleCurrent query handle does not existPreserve the scene and logs, report issue on GitHub
0x80000709Multiple retrieval of this queryCurrent subquery is already in progressPreserve the scene and logs, report issue on GitHub
0x8000070AToo many groups/time window in queryNumber of groups or windows in query results exceeds the limitAdjust the query statement to ensure the number of groups and windows does not exceed the limit
0x8000070DSystem errorError returned by underlying system APIPreserve the scene and logs, report issue on GitHub
0x80000720Scheduler not existClient information for the current subquery does not existPreserve the scene and logs, report issue on GitHub
0x80000721Task not existSubquery does not existPreserve the scene and logs, report issue on GitHub
0x80000722Task already existSubquery already existsPreserve the scene and logs, report issue on GitHub
0x80000729Task message errorQuery message errorPreserve the scene and logs, report issue on GitHub
0x8000072BTask status errorSubquery status errorPreserve the scene and logs, report issue on GitHub
0x8000072FJob not existQuery JOB no longer existsPreserve the scene and logs, report issue on GitHub

grant

Error CodeDescriptionPossible Error Scenarios or ReasonsRecommended Actions for Users
0x80000800License expiredLicense period expiredCheck license information, contact delivery for updated license code
0x80000801DNode creation limited by licenseNumber of Dnodes exceeds license limitCheck license information, contact delivery for updated license code
0x80000802Account creation limited by licenseNumber of accounts exceeds license limitCheck license information, contact delivery for updated license code
0x80000803Time-Series limited by licenseNumber of time-series exceeds license limitCheck license information, contact delivery for updated license code
0x80000804DB creation limited by licenseNumber of databases exceeds license limitCheck license information, contact delivery for updated license code
0x80000805User creation limited by licenseNumber of users exceeds license limitCheck license information, contact delivery for updated license code
0x80000806Conn creation limited by licenseNumber of connections exceeds license limitNot limited yet, contact delivery for inspection
0x80000807Stream creation limited by licenseNumber of streams exceeds license limitNot limited yet, contact delivery for inspection
0x80000808Write speed limited by licenseWrite speed exceeds license limitNot limited yet, contact delivery for inspection
0x80000809Storage capacity limited by licenseStorage capacity exceeds license limitCheck license information, contact delivery for updated license code
0x8000080AQuery time limited by licenseNumber of queries exceeds license limitNot limited yet, contact delivery for inspection
0x8000080BCPU cores limited by licenseNumber of CPU cores exceeds license limitNot limited yet, contact delivery for inspection
0x8000080CSTable creation limited by licenseNumber of supertables exceeds license limitCheck license information, contact delivery for updated license code
0x8000080DTable creation limited by licenseNumber of subtables/basic tables exceeds license limitCheck license information, contact delivery for updated license code

sync

Error CodeDescriptionPossible Error Scenarios or ReasonsRecommended Actions for Users
0x80000903Sync timeoutScenario 1: Leader switch occurred, old leader node started negotiation but not yet agreed, leading to timeout. Scenario 2: Follower node response timeout, causing negotiation timeout.Check cluster status, e.g., show vgroups. Check server logs and network conditions between server nodes.
0x8000090CSync leader is unreachableScenario 1: During leader election. Scenario 2: Client request routed to follower node, and redirection failed. Scenario 3: Client or server network configuration error.Check cluster status, network configuration, application access status, etc. Check server logs and network conditions between server nodes.
0x8000090FSync new config errorMember configuration change errorInternal error, user cannot intervene
0x80000911Sync not ready to proposeScenario 1: Recovery not completedCheck cluster status, e.g., show vgroups. Check server logs and network conditions between server nodes.
0x80000914Sync leader is restoringScenario 1: Leader switch occurred, leader is replaying logsCheck cluster status, e.g., show vgroups. Check server logs and observe recovery progress.
0x80000915Sync invalid snapshot msgIncorrect snapshot replication messageServer internal error
0x80000916Sync buffer is fullScenario 1: High concurrency of client requests, exceeding server's processing capacity, or due to severe lack of network and CPU resources, or network connection issues.Check cluster status, system resource usage (e.g., disk IO, CPU, network), and network connections between nodes.
0x80000917Sync write stallScenario 1: State machine execution blocked, e.g., due to system busyness, severe lack of disk IO resources, or write failures.Check cluster status, system resource usage (e.g., disk IO and CPU), and whether there were write failures.
0x80000918Sync negotiation win is fullScenario 1: High concurrency of client requests, exceeding server's processing capacity, or due to severe lack of network and CPU resources, or network connection issues.Check cluster status, system resource usage (e.g., disk IO, CPU, network), and network connections between nodes.
0x800009FFSync internal errorOther internal errorsCheck cluster status, e.g., show vgroups

tq

Error CodeDescriptionPossible Scenarios or ReasonsRecommended Actions for Users
0x80000A0CTQ table schema not foundThe table does not exist when consuming dataInternal error, not passed to users
0x80000A0DTQ no committed offsetConsuming with offset reset = none, and no previous offset on serverSet offset reset to earliest or latest

wal

Error CodeDescriptionPossible Scenarios or ReasonsRecommended Actions for Users
0x80001001WAL file is corruptedWAL file damagedInternal server error
0x80001003WAL invalid versionRequested log version exceeds current log rangeInternal server error
0x80001005WAL log not existRequested log record does not existInternal server error
0x80001006WAL checksum mismatchScenario: WAL file damagedInternal server error
0x80001007WAL log incompleteLog file has been lost or damagedInternal server error

tfs

Error CodeDescriptionPossible Scenarios or ReasonsRecommended Actions for Users
0x80002201TFS invalid configurationIncorrect multi-tier storage configurationCheck if the configuration is correct
0x80002202TFS too many disks on one levelIncorrect multi-tier storage configurationCheck if the number of disks on one level exceeds the maximum limit
0x80002203TFS duplicate primary mount diskIncorrect multi-tier storage configurationCheck if the configuration is correct
0x80002204TFS no primary mount diskIncorrect multi-tier storage configurationCheck if the configuration is correct
0x80002205TFS no disk mount on tireIncorrect multi-tier storage configurationCheck if the configuration is correct
0x80002208No disk available on a tier.TFS internal error, often occurs when disks are fullAdd more disks to expand capacity

catalog

Error CodeDescriptionPossible Error Scenarios or ReasonsSuggested Actions for Users
0x80002400catalog internal errorInternal error in catalogPreserve the scene and logs, report issue on GitHub
0x80002401catalog invalid input parametersIncorrect input parameters in catalogPreserve the scene and logs, report issue on GitHub
0x80002402catalog is not readyCatalog not fully initializedPreserve the scene and logs, report issue on GitHub
0x80002403catalog system errorSystem error in catalogPreserve the scene and logs, report issue on GitHub
0x80002404Database is droppedDatabase cache deletedPreserve the scene and logs, report issue on GitHub
0x80002405catalog is out of serviceCatalog module has exitedPreserve the scene and logs, report issue on GitHub
0x80002550Invalid msg orderIncorrect message orderPreserve the scene and logs, report issue on GitHub
0x80002501Job status errorIncorrect job statusPreserve the scene and logs, report issue on GitHub
0x80002502scheduler internal errorInternal error in schedulerPreserve the scene and logs, report issue on GitHub
0x80002504Task timeoutSubtask timeoutPreserve the scene and logs, report issue on GitHub
0x80002505Job is droppingTask being or already canceledCheck if there was a manual or application interruption of the current task

parser

Error CodeDescriptionPossible Error Scenarios or ReasonsSuggested Actions for Users
0x80002600syntax error nearSQL syntax errorCheck and correct the SQL statement
0x80002601Incomplete SQL statementIncomplete SQL statementCheck and correct the SQL statement
0x80002602Invalid column nameIllegal or non-existent column nameCheck and correct the SQL statement
0x80002603Table does not existTable does not existCheck and confirm the existence of the table in the SQL statement
0x80002604Column ambiguously definedColumn (alias) redefinedCheck and correct the SQL statement
0x80002605Invalid value typeIllegal constant valueCheck and correct the SQL statement
0x80002608There mustn't be aggregationAggregation function used in illegal clauseCheck and correct the SQL statement
0x80002609ORDER BY item must be the number of a SELECT-list expressionIllegal position specified in Order byCheck and correct the SQL statement
0x8000260ANot a GROUP BY expressionIllegal group by statementCheck and correct the SQL statement
0x8000260BNot SELECTed expressionIllegal expressionCheck and correct the SQL statement
0x8000260CNot a single-group group functionIllegal use of column and functionCheck and correct the SQL statement
0x8000260DTags number not matchedMismatched number of tag columnsCheck and correct the SQL statement
0x8000260EInvalid tag nameInvalid or non-existent tag nameCheck and correct the SQL statement
0x80002610Value is too longValue length exceeds limitCheck and correct the SQL statement or API parameters
0x80002611Password can not be emptyPassword is emptyUse a valid password
0x80002612Port should be an integer that is less than 65535 and greater than 0Illegal port numberCheck and correct the port number
0x80002613Endpoint should be in the format of 'fqdn:port'Incorrect address formatCheck and correct the address information
0x80002614This statement is no longer supportedFeature has been deprecatedRefer to the feature documentation
0x80002615Interval too smallInterval value exceeds the allowed minimumChange the INTERVAL value
0x80002616Database not specifiedDatabase not specifiedSpecify the database for the current operation
0x80002617Invalid identifier nameIllegal or invalid length IDCheck the names of related libraries, tables, columns, TAGs, etc. in the statement
0x80002618Corresponding supertable not in this dbSupertable does not existCheck if the corresponding supertable exists in the database
0x80002619Invalid database optionIllegal database option valueCheck and correct the database option values
0x8000261AInvalid table optionIllegal table option valueCheck and correct the table option values
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 nestingFunctions do not support nested useCheck 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 columnCheck and correct the SQL statement
0x8000262ASTATE_WINDOW not support for supertable querySTATE_WINDOW not supported for supertableCheck and correct the SQL statement
0x8000262BSESSION gap should be fixed time window, and greater than 0Illegal SESSION window valueCheck and correct the SQL statement
0x8000262COnly support SESSION on primary timestamp columnIllegal 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 intervalIllegal INTERVAL offset valueCheck and correct the SQL statement
0x80002630Does not support sliding when interval is natural month/yearIllegal sliding unitCheck and correct the SQL statement
0x80002631sliding value no larger than the interval valueIllegal sliding valueCheck and correct the SQL statement
0x80002632sliding value can not less than 1%% of interval valueIllegal sliding valueCheck and correct the SQL statement
0x80002633Only one tag if there is a json tagOnly single JSON tag column supportedCheck and correct the SQL statement
0x80002634Query block has incorrect number of result columnsMismatched number of columnsCheck and correct the SQL statement
0x80002635Incorrect TIMESTAMP valueIllegal primary timestamp column valueCheck and correct the SQL statement
0x80002637soffset/offset can not be less than 0Illegal soffset/offset valueCheck and correct the SQL statement
0x80002638slimit/soffset only available for PARTITION/GROUP BY queryslimit/soffset only supported for PARTITION BY/GROUP BY statementsCheck and correct the SQL statement
0x80002639Invalid topic queryUnsupported TOPIC query
0x8000263ACannot drop supertable in batchBatch deletion of supertables not supportedCheck and correct the SQL statement
0x8000263BStart(end) time of query range required or time range too largeWindow count exceeds limitCheck and correct the SQL statement
0x8000263CDuplicated column namesDuplicate column namesCheck and correct the SQL statement
0x8000263DTags length exceeds max lengthtag value length exceeds maximum supported rangeCheck and correct the SQL statement
0x8000263ERow length exceeds max lengthRow length check and correct SQL statementCheck and correct the SQL statement
0x8000263FIllegal number of columnsIncorrect number of columnsCheck and correct the SQL statement
0x80002640Too many columnsNumber of columns exceeds limitCheck and correct the SQL statement
0x80002641First column must be timestampThe first column must be the primary timestamp columnCheck and correct the SQL statement
0x80002642Invalid binary/nchar column/tag lengthIncorrect length for binary/ncharCheck and correct the SQL statement
0x80002643Invalid number of tag columnsIncorrect number of tag columnsCheck and correct the SQL statement
0x80002644Permission deniedPermission errorCheck and confirm user permissions
0x80002645Invalid stream queryIllegal stream statementCheck and correct the SQL statement
0x80002646Invalid _c0 or_rowts expressionIllegal use of _c0 or_rowtsCheck and correct the SQL statement
0x80002647Invalid timeline functionFunction depends on non-existent primary timestampCheck and correct the SQL statement
0x80002648Invalid passwordPassword does not meet standardsCheck and change the password
0x80002649Invalid alter table statementIllegal modify table statementCheck and correct the SQL statement
0x8000264APrimary timestamp column cannot be droppedPrimary timestamp 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 pseudocolumnIllegal use of tbname columnCheck and correct the SQL statement
0x8000264DInvalid function nameIllegal function nameCheck and correct the function name
0x8000264EComment too longComment length exceeds limitCheck and correct the SQL statement
0x8000264FFunction(s) only allowed in SELECT list, cannot mixed with non scalar functions or columnsIllegal mixing of functionsCheck and correct the SQL statement
0x80002650Window query not supported, since no valid timestamp column included in the result of subqueryWindow query depends on non-existent primary timestamp columnCheck and correct the SQL statement
0x80002651No columns can be droppedEssential columns cannot be deletedCheck and correct the SQL statement
0x80002652Only tag can be json typeNormal columns do not support JSON typeCheck and correct the SQL statement
0x80002655The DELETE statement must have a definite time window rangeIllegal WHERE condition in DELETE statementCheck and correct the SQL statement
0x80002656The REDISTRIBUTE VGROUP statement only support 1 to 3 dnodesIllegal number of DNODEs specified in REDISTRIBUTE VGROUPCheck and correct the SQL statement
0x80002657Fill now allowedFunction does not allow FILL featureCheck and correct the SQL statement
0x80002658Invalid windows pcIllegal use of window pseudocolumnCheck and correct the SQL statement
0x80002659Window not allowedFunction cannot be used in windowCheck and correct the SQL statement
0x8000265AStream not allowedFunction cannot be used in stream computationCheck and correct the SQL statement
0x8000265BGroup by not allowdFunction cannot be used in groupingCheck and correct the SQL statement
0x8000265DInvalid interp clauseIllegal INTERP or related statementCheck and correct the SQL statement
0x8000265ENot valid function ion windowIllegal window statementCheck and correct the SQL statement
0x8000265FOnly support single tableFunction only supported in single table queriesCheck and correct the SQL statement
0x80002660Invalid sma indexIllegal creation of SMA statementCheck and correct the SQL statement
0x80002661Invalid SELECTed expressionInvalid query statementCheck and correct the SQL statement
0x80002662Fail to get table infoFailed to retrieve table metadata informationPreserve the scene and logs, report issue on GitHub
0x80002663Not unique table/aliasTable name (alias) conflictCheck and correct the SQL statement
0x80002664Join requires valid time-series inputUnsupported JOIN query without primary timestamp column output in subqueryCheck and correct the SQL statement
0x80002665The _TAGS pseudocolumn can only be used for subtable and supertable queriesIllegal tag column queryCheck and correct the SQL statement
0x80002666Subquery does not output primary timestamp columnCheck and correct the SQL statement
0x80002667Invalid usage of expr: %sIllegal expressionCheck and correct the SQL statement
0x800026FFParser internal errorInternal error in parserPreserve the scene and logs, report issue on GitHub
0x80002700Planner internal errorInternal error in plannerPreserve the scene and logs, report issue on GitHub
0x80002701Expect ts equalJOIN condition validation failedPreserve the scene and logs, report issue on GitHub
0x80002702Cross join not supportCROSS JOIN not supportedCheck and correct the SQL statement

function

Error CodeError DescriptionPossible Error Scenarios or ReasonsSuggested User Actions
0x80002800Function internal errorErrors caused by unreasonable function parameter inputs, with specific error descriptions returned with the error code. For example, when specifying the algorithm for the APERCENTILE function, only the string "default" can be used. Using other inputs like "t-digest" will cause this error. Or, if the second parameter of the TO_ISO8601 function specifies a timezone, and the string does not conform to timezone format standards.Adjust the function inputs according to the specific error description.
0x80002801Invalid function parameter numberIncorrect number of input parameters for the function. The function requires n parameters, but the number of parameters provided by the user is not n. For example, COUNT(col1, col2).Adjust the number of input parameters to the correct number.
0x80002802Invalid function parameter typeIncorrect type of input parameters for the function. The function requires numeric type parameters, but the parameters provided by the user are strings. For example, SUM("abc").Adjust the function parameter inputs to the correct type.
0x80002803Invalid function parameter valueIncorrect value of input parameters for the function. The range of input parameters is incorrect. For example, the SAMPLE function's second parameter specifies a sampling number range of [1, 1000], and it will report an error if it is not within this range.Adjust the function parameter inputs to the correct value.
0x80002804Not a built-in functionThe function is not a built-in function. Errors will occur if the built-in function is not in the hash table. Users should rarely encounter this problem, otherwise, it indicates an error during the initialization of the internal built-in function hash or corruption.Customers should not encounter this; if they do, it indicates a bug in the program, consult the developers.
0x80002805Duplicate timestamps not allowed in functionDuplicate timestamps in the function's input primary key column. When querying supertables with certain time-order dependent functions, all subtable data will be sorted by timestamp and merged into one timeline for calculation, which may result in duplicate timestamps, causing errors in some calculations. Functions involved include: CSUM, DERIVATIVE, DIFF, IRATE, MAVG, STATECOUNT, STATEDURATION, TWAEnsure there are no duplicate timestamp data in subtables when querying supertables using these time-order dependent functions.

udf

Error CodeDescriptionPossible Scenarios or ReasonsRecommended Actions
0x80002901udf is stoppingudf call received when dnode exitsStop executing udf queries
0x80002902udf pipe read errorError occurred when taosd reads from udfd pipeudfd unexpectedly exits, 1) C udf crash 2) udfd crash
0x80002903udf pipe connect errorError establishing pipe connection to udfd in taosd1) Corresponding udfd not started in taosd. Restart taosd
0x80002904udf pipe not existConnection error occurs between two phases of udf setup, call, and teardown, causing the connection to disappear, subsequent phases continueudfd unexpectedly exits, 1) C udf crash 2) udfd crash
0x80002905udf load failureError loading udf in udfd1) udf does not exist in mnode 2) Error in udf loading. Check logs
0x80002906udf invalid function inputudf input checkudf function does not accept input, such as wrong column type
0x80002907udf invalid bufsizeIntermediate result in udf aggregation function exceeds specified bufsizeIncrease bufsize, or reduce intermediate result size
0x80002908udf invalid output typeudf output type differs from the type specified when creating udfModify udf, or the type when creating udf, to match the result
0x80002909udf program language not supportedudf programming language not supportedUse supported languages, currently supports C, Python
0x8000290Audf function execution failureudf function execution error, e.g., returning incorrect number of rowsRefer to specific error logs

sml

Error CodeDescriptionPossible Scenarios or ReasonsRecommended Actions
0x80003000Invalid line protocol typeIllegal protocol passed to schemaless interfaceCheck if the protocol passed is one of the three defined in taos.h TSDB_SML_PROTOCOL_TYPE
0x80003001Invalid timestamp precision typeIllegal timestamp precision passed to schemaless interfaceCheck if the protocol passed is one of the seven defined in taos.h TSDB_SML_TIMESTAMP_TYPE
0x80003002Invalid data formatIllegal data format passed to schemaless interfaceRefer to client-side error log hints
0x80003004Not the same type as beforeInconsistent column types within the same batch of schemaless dataEnsure the data type of the same column in each row is consistent
0x80003005Internal errorGeneral internal logic error in schemaless, typically should not occurRefer to client-side error log hints

sma

Error CodeDescriptionPossible Error Scenarios or ReasonsRecommended Actions for Users
0x80003100Tsma init failedTSMA environment initialization failedCheck error logs, contact development for handling
0x80003101Tsma already existsTSMA created repeatedlyAvoid repeated creation
0x80003102Invalid tsma envTSMA runtime environment is abnormalCheck error logs, contact development for handling
0x80003103Invalid tsma stateThe vgroup of the stream computing result is inconsistent with the vgroup that created the TSMA indexCheck error logs, contact development for handling
0x80003104Invalid tsma pointerProcessing the results issued by stream computing, the message body is a null pointer.Check error logs, contact development for handling
0x80003105Invalid tsma parametersProcessing the results issued by stream computing, the result count is 0.Check error logs, contact development for handling
0x80003150Invalid rsma envRsma execution environment is abnormal.Check error logs, contact development for handling
0x80003151Invalid rsma stateRsma execution state is abnormal.Check error logs, contact development for handling
0x80003152Rsma qtaskinfo creation errorCreating stream computing environment failed.Check error logs, contact development for handling
0x80003153Rsma invalid schemaMetadata information error during startup recoveryCheck error logs, contact development for handling
0x80003154Rsma stream state openFailed to open stream operator state storageCheck error logs, contact development for handling
0x80003155Rsma stream state commitFailed to commit stream operator state storageCheck error logs, contact development for handling
0x80003156Rsma fs ref errorOperator file reference count errorCheck error logs, contact development for handling
0x80003157Rsma fs sync errorOperator file synchronization failedCheck error logs, contact development for handling
0x80003158Rsma fs update errorOperator file update failedCheck error logs, contact development for handling

index

Error CodeDescriptionPossible Error Scenarios or ReasonsRecommended Actions for Users
0x80003200INDEX being rebuilt1. Writing too fast, causing the index merge thread to lag 2. Index file is damaged, being rebuiltCheck error logs, contact development for handling
0x80003201Index file damagedFile damagedCheck error logs, contact development for handling

tmq

Error CodeDescriptionPossible Error Scenarios or ReasonsRecommended Actions for Users
0x80004000Invalid messageThe subscribed data is illegal, generally does not occurCheck the client-side error logs for details
0x80004001Consumer mismatchThe vnode requested for subscription and the reassigned vnode are inconsistent, usually occurs when new consumers join the same consumer groupInternal error, not exposed to users
0x80004002Consumer closedThe consumer no longer existsCheck if it has already been closed
0x80004100Stream task not existThe stream computing task does not existCheck the server-side error logs