Skip to Content
Daylite API

Errors

Error format and status codes.

Errors use one JSON shape. code is stable and meant for programs; message is for people and may change.

{ "error": { "code": "not_found", "message": "Task not found." } }
StatuscodeMeaning
400invalid_request, invalid_cursorA parameter is missing or malformed.
401unauthorizedNo API key, or it is invalid, expired or revoked.
403forbiddenThe key lacks the needed permission.
404not_foundNo such object for this account, or no endpoint.
413request_too_largeThe request body is over 1 MB.
429rate_limitedToo many requests. Wait for Retry-After.
500internal_errorSomething went wrong on our side. Retry later.

Objects that belong to other accounts return 404, never 403.