Error codes and log keywords
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
- Record the complete code and message from task
reasonor the first error entry, not just the Failed status. - 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.
- 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.
- 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.
- Linux
- Windows
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.
Windows PowerShell example; replace the path with the actual log path first:
Select-String -LiteralPath 'C:\TDengine\log\taosx_16_20261121.log' -SimpleMatch 'Commit timeout, commit error' -Context 5,10
-SimpleMatch matches literal text rather than interpreting the error as a regular expression. -Context 5,10 includes 5 preceding and 10 following lines. Adjacent lines may belong to other tasks; check task identifiers too. If nothing matches, check rotation files, time range, component, and log level instead of concluding the error never occurred.
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.
| Keyword | Meaning | Follow-up |
|---|---|---|
Deserialize json from, Parse json row | Raw JSON deserialization failed; some errors are logged and skipped, and previews may retain only valid inputs | Check 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 UDT | UDT input parsing or rule evaluation failed; the input may be skipped by default while preview still returns an empty result | Check 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 partition | Kafka partition offset storage failed; complete logs may indicate partition assignment changes | Check topic, partition, group, and rebalance period, recurrence, and target data gaps |
Commit timeout, commit error | Kafka offset commit timed out or failed | Check broker connectivity and concurrent rebalance, authentication, and network logs; verify replay scope after recovery |
Consumer assignment lost, skip | Kafka consumer lost its current partition assignment | Assess against rebalances for transient changes; if persistent, check consumer stability and same-group instances |
Pulsar task timeout | Collection ended after a positive no-message wait expired; not necessarily a failure by itself | Check 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 error | Cumulative acknowledgment of Pulsar consumption position failed | Save 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 error | Message body encoding processing failed | Check actual encoding, byte samples, and char_encoding, then preview with real business samples; increasing write concurrency cannot fix this |
pulsar tuya decrypt message error | Tuya message decryption failed | Check 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 message | The selected time column was missing during processing; Parquet import may have omitted it in projection | Check 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 overwrite | Final file placement failed in no-overwrite mode | Retain 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 armed | Write bandwidth limiting enabled | Check configured budget; this is activation evidence, not a write failure |
resource memory brake armed | Soft memory budget enabled | Check budget and actual memory; analyze workload if pauses recur |
resource cpu brake armed | CPU budget enabled | Check high/low watermarks and normal CPU baseline |
memory brake max pause expired | Memory control reached its per-pause limit and released processing | Check whether the budget is too low, memory keeps growing, or the target slowed |
cpu brake max pause expired | CPU control reached its per-pause limit and released processing | Check CPU baseline, resume watermark, and load; assess budget or capacity adjustments |
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 fragment | Investigation direction | Next step and verification |
|---|---|---|
[0x038C] WAL retention period is zero | Source database WAL retention is zero, preventing backup by this subscription method | Have 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 detection | A historical directory has no layout marker and compatibility detection is running | Not a corruption conclusion by itself; check actual files and directory layout using Data backup and restore |
License error, expired | Enterprise, feature, or connector authorization validation issue | Check 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 fragment | Investigation direction | Next step and verification |
|---|---|---|
0x80000357, Authentication failure | After 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 unaffected | Sign 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 credential | CREATE XNODE supplies a username/password or Token that differs from the existing cluster credential, including a change of authentication mode. No node is created | Update 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.