Before you go, take 40% off annual plans

Leave your email and get 40% off any Zocton plan paid annually, for your first 2 years.

Applies to annual billing only. We only use your email to honour this discount.

Skip to content
Sign in
Entayo CRM guides

Errors

A failed call answers with a status code and a JSON body:

JSONCode
{ "error": "entity_ids must be a non-empty array" }

Some carry a code too:

codeMeans
bad_projectX-Entayo-Project is not a project id.
project_not_foundThat project is not one of yours.
project_requiredA Zocton key made for chosen projects must name one with X-Entayo-Project.
project_not_allowedThe Zocton key was not given this project.
insufficient_scopeA read-only Zocton key tried to change something.
forbidden_for_api_keyZocton keys never reach this endpoint (API keys).
team_forbiddenYour team access does not allow it.
StatusMeansDo
200 / 201Done. 201 = something was created.—
400Something in the request is missing or wrong.Read error, fix the request.
401No key, a wrong key or a revoked key.Check the key and the data centre.
403Not allowed for this account or this key.Read code.
404Not found in this project — or X-Entayo-Project is not yours.Check the id and the project.
409Clashes with what is there — a name already taken, a campaign already sent.Change the name, or leave it.
410Not done here any more — senders are managed on the Zocton Dashboard.Use the Dashboard.
500Our fault.Try again; tell us if it keeps happening.

Good to know

  • Ids are positive whole numbers. A person or company has a master id (id) and a record id (entity_id) — the reference says which one each endpoint takes.
  • Deletes cannot be undone. Deleting a record also deletes its activity and tasks.
  • Big jobs: keep pages to limit=1000 or less, and send imports in chunks of a few hundred rows.
Last modified on