Skip to main content

Error Reference

All API errors follow a consistent JSON format:

{
"error": {
"code": "error_code",
"message": "Human-readable description",
"resolution": "Suggested fix",
"docs_url": "https://embedd.to/errors/error_code",
"request_id": "req_abc123"
}
}

Error Codes

Authentication Errors

CodeHTTP StatusDescription
unauthorized401Invalid or missing API key / JWT
key_revoked401API key has been revoked
permission_denied403read_only key attempted a mutating operation

Resolution: Include a valid API key in the Authorization header: Bearer sk_.... For read_only keys, only GET requests and POST /query are allowed.

Organization Errors

CodeHTTP StatusDescription
org_not_found404Organization does not exist
org_deleting403Organization is being deleted — requests are blocked
not_a_member403User is not a member of the organization
insufficient_role403User's role does not have permission for this operation
owner_cannot_leave403Owner must transfer ownership or delete the org
cannot_remove_owner403The owner cannot be removed as a member

Invitation Errors

CodeHTTP StatusDescription
already_a_member409Invited email is already a member of the org
invitation_exists409A pending invitation already exists for this email
invitation_expired410Invitation token has expired (7-day limit)
invitation_not_found404Invalid invitation token

Tier Limit Errors

CodeHTTP StatusDescription
tier_limit_reached403Organization has reached a tier limit (tables or vectors)

Resolution: Upgrade your subscription tier or delete unused managed-mode vector tables. Platform mode resources are not subject to tier limits.

Rate Limiting

CodeHTTP StatusDescription
rate_limit_exceeded429Too many requests

Resolution: Check the Retry-After header and wait before retrying. See Rate Limiting.

Not Found Errors

CodeHTTP StatusDescription
environment_not_found404Environment ID does not exist
connection_not_found404Connection ID does not exist
embedding_provider_not_found404Embedding provider ID does not exist
vector_table_not_found404Vector table ID does not exist
task_not_found404Task ID does not exist
api_key_not_found404API key ID does not exist

Resolution: Verify the resource ID and ensure it belongs to your organization and environment.

Validation Errors

CodeHTTP StatusDescription
validation_error422Request body failed validation
connection_not_ready422Connection is not in connected status
vector_table_not_ready422Vector table must be synced before querying

Conflict Errors

CodeHTTP StatusDescription
environment_conflict409Environment has attached resources
connection_conflict409Connection has attached vector tables
backfill_in_progress409A backfill is already running
sync_already_paused409Sync is already paused
sync_not_paused409Cannot resume — sync is not paused
org_already_deleting409Organization deletion is already in progress

Permission Errors

CodeHTTP StatusDescription
source_table_access_denied403Cannot read from the source table

Resolution: Grant the required permissions on the source database, then retry.