Skip to content
AskTable

Documentation feedback

Current pageError codes/en/reference/error-codes

0 / 5,000

Your feedback will be sent to the maintenance team.

Go to console
Go to console

Reference

Error codes

Look up error codes, interface messages, and actions to take.

Interface messages and API error codes use the same error definitions. Use an error code to look up its HTTP status, interface message, and action to take.

Read error codes

  • For interface troubleshooting, record the exact message; users do not need to see error codes.
  • For API troubleshooting, check the response body's code field together with the HTTP status. API-Key, CLI, and MCP calls all return the same structure.
  • Get a trace ID: “Copy trace id” on the conversation page copies the identifier for the current turn. Include it in a support ticket; it is more useful than a screenshot.

Error structure

AskTable business exceptions return this standard structure:

{
  "code": "RESOURCE_QUOTA_EXCEEDED",
  "message": "Resource quota exceeded for datasources (50/50)",
  "params": { "resource_type": "datasources", "current_count": 50, "limit": 50 }
}
ItemValue or defaultWhere to change it
Response fieldscode, message, params—
Interface message sourceThe frontend selects localized text by code, rather than using the server's message—
Additional contextWhen the server provides a custom message, params.detail is appended as “localized message: detail”—
No matching messageThe interface displays “Operation failed, please try again later”—
Parameter validation failureHTTP 422, with code fixed to VALIDATION_ERROR; params.errors contains per-field loc, msg, and type—
4xx versus 5xx4xx represents business exceptions (no alert); 5xx triggers alerts—

Error code list

Resources and quotas

Error codeHTTPInterface messageAction
RESOURCE_ERROR400“Resource operation failed”Complete or correct parameters as indicated, then retry
RESOURCE_NOT_FOUND404“Resource not found”The target was deleted; refresh the page and reopen it
RESOURCE_ALREADY_EXISTS409“X name already exists”Use a different name
RESOURCE_QUOTA_EXCEEDED403“X count has reached the limit (N/M). Delete unused X and try again”Delete unused resources. Data source, role, and policy limits apply only on Cloud; API key limits apply in all deployments. See Quotas and limits
DATABASE_INTEGRITY_ERROR409“Data integrity conflict”Remove references first, then retry
ORGANIZATION_MEMBER_QUOTA_EXCEEDED403“The current organization has reached its member limit. Contact the organization administrator to upgrade to the Team plan to invite more members.”Upgrade the plan or deactivate members no longer in use
ORGANIZATION_LIMIT_REACHED409“The organization count limit has been reached”One account can have at most one Free organization; see Organizations and projects

Data sources and metadata

Error codeHTTPInterface messageAction
ACCESSOR_ERROR400“Database connection failed”Check connection details; see Connect data sources
ACCESSOR_CONNECTION_ERROR400“Cannot connect to the database”Check the address, network, and account; for cloud deployment, confirm the allowlist is configured
DATASOURCE_META_PROCESSING409“Data source metadata is being processed”Wait for metadata parsing to complete
DATASOURCE_META_NOT_READY400“Data source metadata is not ready”Complete metadata parsing first
DATASOURCE_CONFIG_ERROR400“Data source configuration error”Check configuration in the data source's “Settings”
TABLE_REFRESH_ALREADY_RUNNING409“Another refresh is running. Wait for it to finish and try again”Wait for the current refresh to finish
WORKBOOK_NAME_CONFLICT409“Data source name ‘X’ already exists. Try another name”Choose another data source name
WORKBOOK_READ_ONLY403“Synced tables are maintained by their source and cannot be edited in the workbook.”This sheet is synced from Feishu, DingTalk, or a collection table; change it in the source. Manually created sheets in the same workbook remain editable
WORKBOOK_FEISHU_SYNC_RUNNING409“Feishu synchronization is in progress. Please try again later”Wait for synchronization to finish
WORKBOOK_FEISHU_SOURCE_NOT_FOUND404“Feishu synchronization configuration not found”Create the synchronization configuration again
WORKBOOK_FEISHU_CREDENTIAL_INVALID422“Invalid Feishu app credentials. Check the App ID and App Secret”Re-enter credentials
WORKBOOK_FEISHU_APP_TOKEN_INVALID422“Invalid Feishu Bitable App Token or no access”Confirm the app can access the base
WORKBOOK_FEISHU_INVALID_URL422“The link is not recognized as Bitable. Paste the full URL of the Bitable page”Paste the full URL and retry
WORKBOOK_FEISHU_TABLE_MISSING422“Feishu table X does not exist or cannot be accessed”Select tables again
WORKBOOK_FEISHU_NO_TABLE_SELECTED422“Select at least one Feishu table”Select at least one table
WORKBOOK_NOT_CONFIGURED400“Workbooks are not configured. Contact the system administrator to complete the database configuration”For private deployments, configure per Enable Workbook
WORKBOOK_UNAVAILABLE503“Workbook storage is currently unavailable. Contact the system administrator to check the database configuration or service status”Check the workbook database
WORKBOOK_FEISHU_SCOPE_MISSING403“The Feishu app lacks the X permission. Grant it in Permission management on the Feishu Open Platform, then create and publish a version and retry.”Grant the permission and publish the app version
TABLE_CHANGED409“The table changed during the operation. Retry; if refresh fails, click Refresh to fetch the data again.”Retry
DATABASE_BUSY503“The database is currently busy. Please try again later”Retry later; for private deployments see Operations and capacity planning

File uploads

Error codeHTTPInterface messageAction
DATA_FILE_ERROR400“File processing error”Upload again; if it keeps failing, try another file
FILE_METADATA_PARSE_ERROR400“Error parsing field X”Check the column's content and format
TOO_MANY_SHEETS400“The Excel file contains too many worksheets”Split it into multiple files or increase “Maximum sheets per Excel file”
FILE_RETRIEVAL_FAILED400“File retrieval failed”Upload again
FILE_TOO_LARGE400“File exceeds the X MB limit”Increase the corresponding size limit, or compress or split the file
FILE_TYPE_NOT_SUPPORT400“File type X is not supported”Use .xlsx, .xls, or .csv
FILE_FORMAT_ERROR400“Invalid or unrecognized file format. The file may be corrupted or encrypted. Open it in Excel, verify it, and save a new copy before uploading”Save a new copy in Excel, then upload it

Authentication and users

Error codeHTTPInterface messageAction
AUTH_ERROR401“Authentication failed”Log in again
TOKEN_EXPIRED401“Your login has expired. Please log in again”Log in again
TOKEN_INVALID401“Invalid login credentials”Log in again; use a new key for API calls
INVALID_CREDENTIALS401“Incorrect email or password”Check the account and password
PROVIDER_AUTH_FAILED401“Third-party login failed”See Enterprise identity login
PASSWORD_MISMATCH401“The original password is incorrect”Re-enter the original password
USER_DISABLED403“User has been disabled”Ask an administrator to manage the account under “Users” on the left
VERIFICATION_CODE_INVALID401“Verification code is invalid or expired”Request a new verification code
IDENTITY_MEMBER_NOT_IMPORTED401“Your enterprise account has not been imported into AskTable…”Ask an organization administrator to import the member in Integration; see Enterprise integration login
IDENTITY_IMPORT_SELECTION_STALE409“Member visibility or status has changed. Refresh and select again”Refresh the import list and select again
IDENTITY_ALREADY_REGISTERED409“X is already registered. Use another and try again”Use another email or phone number
PROVIDER_DIRECTORY_FAILED502“Failed to fetch enterprise member data. Please try again later”Check the enterprise app's contact permissions and credentials
OAUTH_ERROR400“Authorization failed. Please reconnect.”Authorize again
ORGANIZATION_MEMBERSHIP_REQUIRED403“You are not an active member of this organization and cannot perform this action”Check the current organization and membership status
ORGANIZATION_OWNERSHIP_TRANSFER_REQUIRED400“Transfer ownership of the user's organizations before deactivating or deleting the user”Transfer the organization Owner first

Permissions and the semantic layer

Error codeHTTPInterface messageAction
PERMISSION_DENIED403“Insufficient permissions”Add project membership or data scope; see Permissions and data security
SEMANTIC_WRITE_PERMISSION_DENIED403“No permission to edit the semantic layer. Administrator permissions are required”Have the project owner or project administrator perform the action
SEMANTIC_WRITE_ROLE_CONFLICT400“Semantic layer writing cannot be used with a conversation role”Check the member data-role binding and semantic writing permission with an administrator; regular members cannot remove data restrictions through the conversation
SEMANTIC_VALIDATION_FAILED400“Semantic layer validation failed. Cannot export dbt YAML”Fix the validation issues before exporting
SEMANTIC_EXPORT_FAILED400“dbt YAML export failed”Correct the semantic layer and retry
ROLE_IN_USE409“The role is referenced by N Agent whitelists and cannot be deleted”Check the corresponding Agent’s channel whitelist references first; deleting member bindings or embed roles removes their restrictions. See Data permissions
MEMBER_ROLE_VARIABLES_MISSING403“Data access configuration is incomplete. Contact a project administrator to fill in role variables before asking”An administrator completes the variables in “Project members”; see Data permissions
DASHBOARD_AGENT_DATASOURCE_MISMATCH403“The selected agent cannot access the data sources used by this dashboard: X…”Choose an agent that covers all of the dashboard's data sources

Conversations and queries

Error codeHTTPInterface messageAction
CHAT_ERROR400“Conversation error”Send again; if failures continue, submit a support ticket with the trace ID
NO_DATA_TO_QUERY400“No queryable tables or fields”Confirm a data source is connected and tables have been selected
CANNOT_HANDLE400“The query is too complex. Simplify it and try again”Ask in several steps
SQL_UNKNOWN_TABLE400“Table X (schema Y) was not found in the data source”Select tables again on the data source details page
SQL_UNKNOWN_FIELD400“Field Y was not found in table X”The field may be hidden; see Hide fields
SQL_SELECT_STAR_NOT_ALLOWED400“SELECT * is not allowed. List fields explicitly”Name the fields in your question
SQL_WRITE_NOT_ALLOWED400“Only SELECT queries are allowed”Use read queries only
SQL_UNQUALIFIED_TABLE400“Table X must be schema-qualified (use schema.table)”Add schema information under Table and field notes
CHAT_PROCESSING409“Conversation is being processed”Wait for the current turn to finish
SERVICE_BUSY503“The system is busy. Please try again later”Retry later
DATA_AGENT_DELETED404“The Agent bound to this conversation was deleted. Start a new conversation”Start a new conversation
ROLE_DELETED404“The role bound to this conversation was deleted. Select another role or start a new conversation”Have an administrator check the member data-role binding; for embeds or channels check their own role configuration, rather than letting members switch roles
COMPACTION_NOT_SUPPORTED400“This conversation type does not support context compaction”Context compaction is unavailable for this conversation type; this is expected
COMPACTION_IN_PROGRESS409“Context is being compacted. Please wait”Wait for compaction to finish
COMPACTION_NOT_ENOUGH_CONTEXT400“There is not enough conversation content to require compaction yet”Expected behavior; no action needed
FEEDBACK_NOT_ALLOWED400“This conversation does not support feedback”Only Agent conversations support feedback
FEEDBACK_TARGET_INVALID404“The target feedback message does not exist”Refresh the page and submit again
FEEDBACK_LOGIN_REQUIRED403“Please log in before submitting feedback”Log in and submit
SQL_GENERATION_FAILED—“SQL generation failed. Please retry”Retry; if it keeps failing, make the question more specific
CHAT_FATAL_ERROR—“An unexpected error occurred. Contact the administrator”Note the trace id and contact the administrator
PIN_LOGIN_REQUIRED403“Sign in before pinning conversations”Sign in first
Error codeHTTPInterface messageAction
LLM_ERROR400“Model group X service error. Please try again later”An upstream error; retry later and check upstream status if failures continue
LLM_CONNECTION_ERROR400“Model group X connection failed”Check the Base URL and outbound access; see Configure models
LLM_BAD_RESPONSE400“The AI service returned an invalid response”Try another model or adjust its “Provider options”
LLM_AUTH_ERROR400“Model group X authentication failed. Check its API key or balance”Re-enter the API Key or top up
LLM_AGENT_BAD_RESPONSE400“The AI Agent returned a response that could not be parsed”Send again; change models if failures continue
LLM_CONTENT_FILTERED400“Your input triggered a content safety review. Modify it and try again”Rephrase the question; the review is upstream
ASKTABLE_LLM_ONLY400“This feature is available only when the official AI proxy channel is configured”Create an “AskTable official” model group and make it the default
WEB_SEARCH_NOT_CONFIGURED400“Web search is not configured. Contact a system administrator to configure it in System settings”Complete all three fields in “System settings” → “Web search”
LLM_IMAGE_NOT_SUPPORTED400“The current model does not support images. Switch to a model that supports images, or remove the images and send again…”Switch to a model that supports images, or remove the images

Embedding, reports, and indexes

Error codeHTTPInterface messageAction
EMBED_ORIGIN_NOT_ALLOWED403“This website is not allowed to embed this Agent.”Add the host page's domain to “Allowed domains”
EMBED_DISABLED403“This embed URL has been disabled.”Open embed management from “Agent integration” and enable the application
REPORT_PROCESSING409“Report is being generated”Wait for generation to finish
REPORT_FAILED400“Report generation failed”Create the report again
REPORT_STATUS_MISMATCH400“Report status mismatch: expected X, current Y”Refresh and retry
VALUE_INDEX_ERROR400“AI Search index error”Rebuild the index; see AI indexing
VALUE_INDEX_TIMEOUT400“AI Search index timed out”Retry; if there are too many fields, reduce the indexing scope first
VALUE_INDEX_NOT_ENABLED400“AI Search index is not enabled”See AI indexing
COLLECTION_VERSION_CHANGED—“The form was updated. Please fill in the latest version again.”Fill in the latest version; see AI collection tables
COLLECTION_CONFLICT—“The content has changed. Refresh to continue.”Refresh the page
COLLECTION_INVALID—“The collection configuration or input is invalid”Check the form settings or the input

Projects, licensing, and billing

Error codeHTTPInterface messageAction
PROJECT_LOCKED423“Project is locked”Contact a platform administrator to unlock it
PROJECT_NOT_EMPTY403“Project is not empty”Remove the project's resources first
LICENSE_INVALID400“License is invalid or expired”See Commercial licensing
ORDER_ALREADY_PAID409“Order has already been paid”Do not pay again
WECHAT_PAY_ERROR400“WeChat Pay error”Place the order again
CONCURRENT_DEDUCTION_CONFLICT409“Operation conflict. Please retry”Retry
REDEEM_CODE_DISABLED409“This redemption code has been revoked”Use another redemption code
REDEEM_CODE_EXPIRED410“This redemption code has expired”Use another redemption code
REDEEM_CODE_INVALID400“Invalid redemption code”Check that the redemption code is complete
ORGANIZATION_CREDIT_EXHAUSTED403“Organization credits are insufficient”Renew or redeem credits; see Plans and usage
TEAM_PLAN_CONTACT_REQUIRED403“This organization uses custom seats. Contact us to buy Team or additional credits”Contact AskTable
PROJECT_MIGRATION_CREDIT_PENDING409“The project has unsettled credit holds. Retry after in-progress requests finish”Retry later
ONBOARDING_REQUEST_CONFLICT409“This creation request was already used for other content. Please submit again”Submit again

External services and the system

Error codeHTTPInterface messageAction
EXTERNAL_API_ERROR500“External service call failed”Retry later
AI_PROXY_ERROR500“AI proxy service error”Retry later
CRM_API_ERROR500“CRM service error”Retry later
SMS_ERROR500“SMS service error”Check SMS gateway configuration in “System settings” → “Phone number binding”
ASR_ERROR500“Speech recognition service error”Retry; try another audio clip if failures continue
NOT_SUPPORT400“Feature X is not enabled or supported”Confirm the feature is available for the current deployment type and license
VALIDATION_ERROR400 or 422“Data validation failed”Correct parameters as indicated; request body validation failure returns 422
PARAMETER_ERROR400“Invalid parameter X”Correct the parameter
CONFIG_ERROR400“Configuration error: X”Change configuration as indicated
INTERNAL_ERROR500“Internal server error”Retry later; submit a support ticket with the trace ID if failures continue
PRODUCT_FEEDBACK_UNAVAILABLE503“Feedback submission failed. Contact customer service.”Contact customer service
UNKNOWN—“Operation failed, please try again later”Note the trace id and contact the administrator

Error codes without matching messages

The following codes are defined on the server and return their corresponding HTTP status, but have no matching Chinese frontend messages. The interface shows the fallback “Operation failed, please try again later”. Use code when troubleshooting API calls.

Error codeHTTPInterface messageAction
ACCESSOR_AUTH_ERROR400“Operation failed, please try again later”Incorrect database account or password
ACCESSOR_DATABASE_NOT_FOUND400“Operation failed, please try again later”Incorrect database name, or the database does not exist
ACCESSOR_NETWORK_ERROR400“Operation failed, please try again later”No network connectivity from the AskTable server to the database
ACCESSOR_PERMISSION_DENIED400“Operation failed, please try again later”Insufficient database account permissions
ACCESSOR_SQL_ERROR400“Operation failed, please try again later”Database SQL execution error
TABLE_NOT_FOUND_IN_DATASOURCE404“Operation failed, please try again later”The table was deleted or renamed in the database
DATASOURCE_META_ALREADY_INITIALIZED409“Operation failed, please try again later”Metadata is already initialized; use update instead of initialization
QUERY_TIMEOUT504“Operation failed, please try again later”Query timed out; increase “Global query timeout (seconds)”
FILE_DOWNLOAD_TIMEOUT504“Operation failed, please try again later”File download timed out; retry
FILE_RETRIEVAL_TRANSIENT503“Operation failed, please try again later”Temporary file storage failure; retry
TASK_TIMEOUT504“Operation failed, please try again later”Background task timed out; retry
LLM_TIMEOUT400“Operation failed, please try again later”Model request timed out; retry or use a faster model
LLM_RATE_LIMIT400“Operation failed, please try again later”Upstream rate limiting; retry later
LLM_PROVIDER_INTERNAL_ERROR400“Operation failed, please try again later”Internal upstream SDK error; retry later
SHARE_DISABLED403“Operation failed, please try again later”Sharing is disabled or expired
CODE_EXECUTION_ERROR400“Operation failed, please try again later”Python sandbox execution failed; rephrase the question
STUCK_REFRESH_RECOVERED500“Operation failed, please try again later”A refresh task recovered automatically after interruption; retry
SMS_GATEWAY_REJECTED502“Operation failed, please try again later”The SMS gateway rejected the request; check the phone number and gateway account
WORKBOOK_* familyMostly 422, with some 400, 403, 404, 409, 413“Operation failed, please try again later”Workbook validation failed for field types, row counts, batches, import mappings, etc.; use the server's message to identify the cause

Next steps