Error Codes
Complete list of API error codes and their meanings
All errors follow a consistent format:
{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable description"
},
"meta": { "requestId": "req_a1b2c3d4e5f6a1b2" }
}Errors raised before your request is routed (IP rate limiting and blocking,
malformed framing, oversized bodies) use the same envelope with a
plain-string error message:
{
"error": "Rate limit exceeded",
"meta": { "requestId": "req_a1b2c3d4e5f6a1b2c3d4e5f6" }
}meta.requestId (req_ followed by 24 hex characters) is present on every
JSON error; quote it when contacting support. Three responses carry no JSON
body: a 429 from our CDN's per-IP limit, a 403 to a CORS preflight from
an origin that is not allowed, and the plain-text 404 for any path outside
/v1/.
Authentication Errors (401)
| Code | Description |
|---|---|
MISSING_TOKEN | No Authorization header or missing Bearer prefix |
INVALID_TOKEN | Token doesn't match any active token |
TOKEN_REVOKED | Token has been explicitly revoked |
TOKEN_EXPIRED | Token has passed its expiration date |
Authorization Errors (403)
| Code | Description |
|---|---|
SCOPE_REQUIRED | Token lacks the required scope for this endpoint |
FORBIDDEN | Ownership check failed (trying to access another user's resource) |
PRO_REQUIRED | Feature requires a paid plan (Pro) |
BUSINESS_REQUIRED | Feature requires a Business plan |
API_ACCESS_PRO_REQUIRED | API access requires a paid plan (Pro) |
Validation Errors (400)
| Code | Description |
|---|---|
BAD_REQUEST | Malformed request body or missing required fields |
VALIDATION_ERROR | Input validation failed (invalid URL, name too long, etc.) |
INVALID_JSON | Request body is not valid JSON |
INVALID_REQUEST | Request rejected: missing required fields or an invalid parameter value |
PAGINATION_CURSOR_INVALID | Cursor is malformed or came from a different listing (other filters or sort); restart without it |
TAG_FILTER_CONFLICT | GET /bookmarks got both tag and tagId |
TAG_FILTER_SORT_UNSUPPORTED | GET /bookmarks with tag or tagId only sorts by newest or oldest |
UPLOAD_NOT_CLAIMED | An upload must be claimed before it can be saved or started |
Resource Errors (404, 409, 422)
| Code | Status | Description |
|---|---|---|
NOT_FOUND | 404 | Resource doesn't exist or invalid ID format |
BOOKMARK_LIMIT_REACHED | 422 | Plan bookmark limit reached (50,000 on Pro) |
COLLECTION_TOO_LARGE | 422 | Collection trash or restore would move more than 1,000 collections and bookmarks (trashed bookmarks included); nothing was changed. See collections for the fix |
INVALID_FILE_TYPE | 422 | Uploaded file is not an accepted type (cover images: JPEG, PNG, GIF, WebP; imports: HTML) |
FILE_TOO_LARGE | 422 | Uploaded file is too large (10 MB for cover images, 5 MB for imports) |
STORAGE_LIMIT_REACHED | 422 | Total storage quota (500 MB) exceeded |
RESERVATION_INVALID | 400 | Upload reservation is malformed, someone else's, or for a different bookmark or job |
RESERVATION_EXPIRED | 410 | Upload reservation has expired; start over with a new upload URL |
RESERVATION_ALREADY_CLAIMED | 409 | Upload reservation was already claimed |
STORAGE_ID_ALREADY_CLAIMED | 409 | The uploaded file is already attached to something else |
UPLOAD_NOT_FOUND | 404 | No uploaded file has that storageId |
Rate Limiting (429)
| Code | Description |
|---|---|
RATE_LIMITED | Per-plan or per-endpoint rate limit exceeded |
TOO_MANY_PENDING_UPLOADS | Too many outstanding upload reservations (max 5) |
Both responses carry a Retry-After header: the seconds to wait before retrying. For TOO_MANY_PENDING_UPLOADS it's the time until your oldest upload reservation expires. See Rate Limits for details.
Job Errors
A failed import or export job reports its reason in GET /jobs/:id as error.code (JOB_CANCELED, JOB_TIMED_OUT or JOB_FAILED) and error.message. See Import & Export.
Server Errors (500)
| Code | Description |
|---|---|
INTERNAL_ERROR | Unexpected server error |
If you consistently receive 500 errors, please contact support.
Planned Error Codes
The following error codes are planned for future releases and are not yet active:
| Code | Description |
|---|---|
IP_BLOCKED | IP temporarily blocked due to repeated auth failures (edge worker) |