Skip to main content

Error codes and log keywords

info

Error codes and log keywords form an investigation index to help choose a direction for an error; they do not replace the error code reference. Keywords are mostly fragments, and some are normal activation messages. The same number may mean different things in different components. After handling an error, return to task status and target data verification.

Where to operate: task failure reasons, logs on the actual execution host, and the error code reference; run SQL in the taosExplorer Data Browser or taos CLI.

Determine causes using complete error codes, original messages, originating components, and context together.

1. Record complete errors​

Record time and time zone, task and job IDs, actual execution node, source/target types, error codes, and surrounding logs. A call chain may include messages from taosX, connectors, source drivers, and TDengine. A number alone does not identify the originating component.

See the Error code reference for TDengine codes. Xnode management errors can also be looked up through the error-code links in Data ingestion (Xnode). Retain the original hexadecimal or decimal value, exact message, and component version when searching.

2. Find complete error context​

  1. Record the complete code and message from task reason or the first error entry, not just the Failed status.
  2. Use Logs and performance to confirm the actual execution host and files covering the failure period. Search for the exact error first, then correlate surrounding records using the same task identifier.
  3. Determine whether the message comes from a source driver, taosX processing, or target TDengine. Matching numbers do not establish the same error in the same component. Without a numeric code, continue investigating the original text.
  4. Look up the exact value in the error code reference and choose a handling direction from this page's keyword tables. If still uncertain, save context rather than inventing an interpretation for an unknown code.

The following is an equivalent search in Linux Bash. Run on the host actually storing the log and replace the file path:

grep -n -F -B 5 -A 10 -- 'Commit timeout, commit error' '/var/log/taos/taosx_16_20261121.log'

-n displays line numbers, -F matches the exact error, and -B 5 and -A 10 retain 5 preceding and 10 following lines. Exit code 0 means matches, 1 means no matches, and greater than 1 means read or usage errors. Do not interpret access denial or missing files as no errors reported. For .gz files, use the zgrep method in Logs and performance on the appropriate rotated files. Use the same method for resource-control and other keywords, retaining task and time-period context.

3. Searchable log keywords​

The following strings locate related logs. Actual lines also contain times, identifiers, values, and specific causes. Some are normal activation messages; a keyword match alone does not establish a failure.

KeywordMeaningFollow-up
Deserialize json from, Parse json rowRaw JSON deserialization failed; some errors are logged and skipped, and previews may retain only valid inputsCheck complete raw text, encoding, brackets, and escaping on the actual parsing host. Compare input and output using JSON parsing; no archive file does not prove all messages were valid
udt parse data error, Failed to evaluate UDTUDT input parsing or rule evaluation failed; the input may be skipped by default while preview still returns an empty resultCheck message format, segment counts, and values on the actual parsing host, and inspect output row counts. Do not assume archiving or retries. Retain samples and establish backfill scope using UDT troubleshooting
Store offset error in partitionKafka partition offset storage failed; complete logs may indicate partition assignment changesCheck topic, partition, group, and rebalance period, recurrence, and target data gaps
Commit timeout, commit errorKafka offset commit timed out or failedCheck broker connectivity and concurrent rebalance, authentication, and network logs; verify replay scope after recovery
Consumer assignment lost, skipKafka consumer lost its current partition assignmentAssess against rebalances for transient changes; if persistent, check consumer stability and same-group instances
Pulsar task timeoutCollection ended after a positive no-message wait expired; not necessarily a failure by itselfCheck task timeout and the last message; use 0 for continuous waiting. Check the target using Pulsar first; do not reset subscriptions
pulsar cumulative ack offset errorCumulative acknowledgment of Pulsar consumption position failedSave complete topic, partition, and message positions; check source connections and permissions and whether the target processed data. Do not assume writes did not occur; check replay after recovery
pulsar source codec process message errorMessage body encoding processing failedCheck actual encoding, byte samples, and char_encoding, then preview with real business samples; increasing write concurrency cannot fix this
pulsar tuya decrypt message errorTuya message decryption failedCheck project, Access Id/Key, environment, and real device events; do not send custom JSON to an ordinary Apache topic instead of verifying Tuya
selected column ts not found in stream messageThe selected time column was missing during processing; Parquet import may have omitted it in projectionCheck schema, projection, and mapping using Parquet import troubleshooting. Also inspect receive failed ack and target data; taosx run exit code 0 does not establish successful writes
Failed to promote Parquet output without overwriteFinal file placement failed in no-overwrite modeRetain the complete reason and .part using Parquet export troubleshooting. Check hard-link support and runtime identity permissions; do not bypass it by directly enabling overwrite
resource egress bucket armedWrite bandwidth limiting enabledCheck configured budget; this is activation evidence, not a write failure
resource memory brake armedSoft memory budget enabledCheck budget and actual memory; analyze workload if pauses recur
resource cpu brake armedCPU budget enabledCheck high/low watermarks and normal CPU baseline
memory brake max pause expiredMemory control reached its per-pause limit and released processingCheck whether the budget is too low, memory keeps growing, or the target slowed
cpu brake max pause expiredCPU control reached its per-pause limit and released processingCheck CPU baseline, resume watermark, and load; assess budget or capacity adjustments
note

Kafka position errors do not necessarily mean that batch's target writes failed. Data may replay when the target processed it but positions were not acknowledged. Check data together with errors. See Tuning and resource control for resource-limit handling.

3.1 Backup and license keywords​

Error code or text fragmentInvestigation directionNext step and verification
[0x038C] WAL retention period is zeroSource database WAL retention is zero, preventing backup by this subscription methodHave an authorized TDengine TSDB administrator check configuration and the source retention window. Follow Data backup and restore and check recoverable points
backup layout marker is missing; using legacy layout detectionA historical directory has no layout marker and compatibility detection is runningNot a corruption conclusion by itself; check actual files and directory layout using Data backup and restore
License error, expiredEnterprise, feature, or connector authorization validation issueCheck the correct cluster, authorization items, validity, and quota using Licensing and versions. Do not change clocks or retry indefinitely

These fragments select investigation directions. Not every message containing expired is a license error. Retain the complete message and originating component too.

3.2 Two handling examples​

  • For Commit timeout, commit error: record topic, group, partition, and concurrent rebalance logs. Confirm broker and authentication recovery, then observe whether errors persist. Check affected data by message identifier for successful writes or replay. Do not switch to a new group to bypass old progress.
  • For memory brake max pause expired: check the configured memory budget, actual process and connector RSS, and whether target processing slowed. Use Tuning and resource control to inspect pause counters and throughput. This message means resource control reached the pause limit, not that the operating system is out of memory, and does not alone establish a memory leak.

If a summary shows Primary timestamp ts is null after mapping., check time-field mapping, input field existence, and conversion units. Read a few samples using Logs and performance, correct the issue, and verify with a new identifiable record. Do not fix this class of error by adjusting concurrency.

3.3 Password changes and Xnode credential errors​

Error code or text fragmentInvestigation directionNext step and verification
0x80000357, Authentication failureAfter a password change, the server closes old-password connections on heartbeat and subsequent requests fail authentication. The connection performing the change and Token connections are unaffectedSign in with the new password, then update taosKeeper, the Xnode management credential, and task DSNs separately. Verify monitoring, nodes, tasks, and external systems using Password Change Impact and Remediation
0x8000802C, Xnode credential does not match the existing credentialCREATE XNODE supplies a username/password or Token that differs from the existing cluster credential, including a change of authentication mode. No node is createdUpdate with ALTER XNODE SET USER ... PASS ... or ALTER XNODE SET TOKEN .... This restarts xnoded and briefly interrupts tasks; do not repeat it. Deleting and recreating nodes does not clear the credential. Check SHOW XNODES; and actual tasks afterward

Signing in again or updating the daemon credential does not rewrite saved task connection strings. Sign in with the new password and save each task connection again, or recreate the task, as described in Update credentials after a database password change.

4. State value index​

Task health states source_error, sink_error, bounce, and fatal indicate investigation directions. See Health assessment and missing-data investigation for meanings and assessment methods. Observe management states separately from health states.

For dual-active tasks, deleting means asynchronous cleanup is still running. For delete_failed, read reason, fix permissions, credentials, or connectivity, then retry deletion using management steps. Starting a task cannot clear deletion failure. Do not manually delete subscription resources of unknown ownership.

5. Verify search results​

Retain the first error, recurrence count, handling actions, and last occurrence time. After fixing the issue, observe a period covering normal business variation. Confirm errors no longer persist and task state meets expectations, then check target data for the affected period. If uncertain, submit complete error context and Diagnostic packages and support tickets.