Skip to main content

Errors

Every error code, and how to fix it.

Every error has the same shape.

An error
{
  "error": {
    "code": "link_slug_used",
    "message": "That link address is already used.",
    "field": "slug",
    "help": "Choose another ending.",
    "docs": "https://usetotems.com/docs/errors/link_slug_used"
  },
  "request_id": "req_..."
}

field and help appear only when they are useful. Read code in your program. Don't read message, because its words can change.

StatusCodeMeaning
400bad_requestWe couldn't read the request
400bad_cursorThat page marker doesn't work
400bad_dateThat date doesn't work
401bad_keyThe API key doesn't work
401key_expiredThe API key has ended
402plan_endedThe plan doesn't allow this now
403missing_scopeThe key can't do this
403role_not_allowedThat role can't do this
404not_foundWe can't find that
409already_existsThat already exists
409link_slug_usedThat link address is taken
409retry_body_changedThe retry was different
409still_runningThe first call is still running
413body_too_largeThe body is too big
422invalid_fieldOne field is wrong
422unsafe_destinationThat address isn't safe
429too_many_requestsToo many calls
500internal_errorSomething broke on our side
503temporarily_unavailableNot available right now
Was this useful?

Your answer stays in this browser.