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_FOUND404Table 'x' not found. Did you mean 'y'?
Fix: Call hypertab_list_tables to see available tables.
TABLE_ALREADY_EXISTS409Table 'x' already exists.
Fix: Choose a different name or delete the existing table.
COLUMN_NOT_FOUND404Column 'x' not found on table 'y'.
Fix: Call hypertab_get_table_schema to see available columns.
COLUMN_ALREADY_EXISTS409Column 'x' already exists on table 'y'.
Fix: Use hypertab_update_column to modify it instead.
INVALID_TABLE_NAME400Table name must match /^[a-z][a-z0-9_]*$/.
Fix: Use lowercase letters, numbers, underscores. Start with a letter.
INVALID_COLUMN_NAME400Column name must match /^[a-z][a-z0-9_]*$/.
Fix: Use lowercase letters, numbers, underscores. Start with a letter.
RESERVED_PREFIX400Names starting with '_ht_' are reserved.
Fix: Choose a name that does not start with _ht_.
SYSTEM_COLUMN_IMMUTABLE400Cannot modify system column '_ht_id'.
Fix: System columns (_ht_*) are managed by hypertab and cannot be renamed, retyped, or deleted.
DUPLICATE_COLUMN409Column 'x' already exists on table 'y'.
Fix: Choose a different column name or use hypertab_update_column to modify the existing one.
TABLE_DELETED410Table 'x' has been deleted.
Fix: Restore within 30 days: hypertab_restore_table({ table: "x" }).
Rows and validation
VALIDATION_ERROR400Invalid input.
Fix: Check the parameter types and constraints.
ROW_NOT_FOUND404Row 'id' not found.
Fix: Query rows first to find valid IDs.
CONFIRMATION_REQUIRED400This action requires confirm: true.
Fix: Add confirm: true to the arguments.
BATCH_TOO_LARGE400Batch size exceeds maximum of 10,000 rows.
Fix: Split your data into batches of 10,000 or fewer rows.
INVALID_FILTER400Invalid 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_PROGRESS409Column already has an active run.
Fix: Wait for the current run to complete.
NOT_SMART_COLUMN400Column '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_OPEN503Smart 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_ERROR401Invalid or missing API key.
Fix: Include Authorization: Bearer ht_sk_... header.
PLAN_LIMIT403Plan limit reached.
Fix: Upgrade your plan or delete unused resources.
LIMIT_EXCEEDED429Rate limit or plan limit exceeded.
Fix: Reduce request rate or upgrade your plan.
Webhooks and sources
WEBHOOK_NOT_FOUND404Webhook 'id' not found.
Fix: Call hypertab_list_webhooks to see available webhooks.
SOURCE_NOT_FOUND404Source 'id' not found.
Fix: Call hypertab_list_sources to see available sources.
WEBHOOK_DELIVERY_FAILED502Webhook delivery failed after retries.
Fix: Check the target URL is reachable and returns 2xx. Review webhook logs for details.
System errors
INTERNAL_ERROR500An internal error occurred.
Fix: Retry the request. If it persists, contact support.
