Browse developer docs

Reference

Errors and rate limits

REST errors use this envelope. Keep the request ID for support and never log your API key: { "error": { "code", "message", "requestId" } }

CodeHTTPMeaning
BAD_REQUEST400 / 409HTTP 400 means the request body is invalid; HTTP 409 means the upload cannot be completed in its current state.
UNAUTHORIZED401The API key is missing, invalid, or revoked.
PAID_PLAN_REQUIRED403The account does not have an eligible paid plan.
INSUFFICIENT_SCOPE403The API key does not include the required scope.
NOT_FOUND404The owned upload, file, or share was not found.
UPLOAD_NOT_READY409The uploaded object is not ready for completion.
FILE_TOO_LARGE413The file exceeds the applicable size limit.
OBJECT_VALIDATION_FAILED422The uploaded object failed validation.
QUOTA_EXCEEDED429The upload quota is exhausted.
RATE_LIMIT_EXCEEDED429The API request rate is exhausted.
SERVICE_UNAVAILABLE503A required service is temporarily unavailable.

Rate-limit headers

Rate-limit headers are returned only on 429 responses: X-RateLimit-Limit, X-RateLimit-Remaining, Retry-After.