Error Codes

Every error includes three things: what was attempted, what went wrong, and what to do instead. Fuzzy matching suggests corrections for typos.

Tables and columns

TABLE_NOT_FOUND404

Table 'x' not found. Did you mean 'y'?

Fix: Call hypertab_list_tables to see available tables.

TABLE_ALREADY_EXISTS409

Table 'x' already exists.

Fix: Choose a different name or delete the existing table.

COLUMN_NOT_FOUND404

Column 'x' not found on table 'y'.

Fix: Call hypertab_get_table_schema to see available columns.

COLUMN_ALREADY_EXISTS409

Column 'x' already exists on table 'y'.

Fix: Use hypertab_update_column to modify it instead.

INVALID_TABLE_NAME400

Table name must match /^[a-z][a-z0-9_]*$/.

Fix: Use lowercase letters, numbers, underscores. Start with a letter.

INVALID_COLUMN_NAME400

Column name must match /^[a-z][a-z0-9_]*$/.

Fix: Use lowercase letters, numbers, underscores. Start with a letter.

RESERVED_PREFIX400

Names starting with '_ht_' are reserved.

Fix: Choose a name that does not start with _ht_.

SYSTEM_COLUMN_IMMUTABLE400

Cannot modify system column '_ht_id'.

Fix: System columns (_ht_*) are managed by hypertab and cannot be renamed, retyped, or deleted.

DUPLICATE_COLUMN409

Column 'x' already exists on table 'y'.

Fix: Choose a different column name or use hypertab_update_column to modify the existing one.

TABLE_DELETED410

Table 'x' has been deleted.

Fix: Restore within 30 days: hypertab_restore_table({ table: "x" }).

Rows and validation

VALIDATION_ERROR400

Invalid input.

Fix: Check the parameter types and constraints.

ROW_NOT_FOUND404

Row 'id' not found.

Fix: Query rows first to find valid IDs.

CONFIRMATION_REQUIRED400

This action requires confirm: true.

Fix: Add confirm: true to the arguments.

BATCH_TOO_LARGE400

Batch size exceeds maximum of 10,000 rows.

Fix: Split your data into batches of 10,000 or fewer rows.

INVALID_FILTER400

Invalid filter operator or value.

Fix: See /docs/filters for supported operators: eq, neq, gt, gte, lt, lte, contains, starts_with, in, between, is_null.

Smart columns and runs

COLUMN_RUN_IN_PROGRESS409

Column already has an active run.

Fix: Wait for the current run to complete.

NOT_SMART_COLUMN400

Column 'x' is not a smart column.

Fix: Only smart columns (ai, http, formula, integration, lookup) can be run. Use hypertab_add_smart_column to create one.

CIRCUIT_BREAKER_OPEN503

Smart column paused: >50% error rate in 60s window.

Fix: Fix the underlying issue (API key, endpoint URL), then use hypertab_retry_failed_cells.

Auth and plan limits

AUTH_ERROR401

Invalid or missing API key.

Fix: Include Authorization: Bearer ht_sk_... header.

PLAN_LIMIT403

Plan limit reached.

Fix: Upgrade your plan or delete unused resources.

LIMIT_EXCEEDED429

Rate limit or plan limit exceeded.

Fix: Reduce request rate or upgrade your plan.

Webhooks and sources

WEBHOOK_NOT_FOUND404

Webhook 'id' not found.

Fix: Call hypertab_list_webhooks to see available webhooks.

SOURCE_NOT_FOUND404

Source 'id' not found.

Fix: Call hypertab_list_sources to see available sources.

WEBHOOK_DELIVERY_FAILED502

Webhook delivery failed after retries.

Fix: Check the target URL is reachable and returns 2xx. Review webhook logs for details.

System errors

INTERNAL_ERROR500

An internal error occurred.

Fix: Retry the request. If it persists, contact support.