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

Resolution: Include a valid API key in the Authorization header: Bearer sk_...

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

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

Permission Errors

CodeHTTP StatusDescription
source_table_access_denied403Cannot read from the source table

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