Docs pages
Errors
Last updated: November 19, 2026
Every error has the same shape and a stable code to branch on. This page lists each code the API can answer, what it means, and what to do about it.
The problem document
Every error answers with an RFC 9457 problem document, sent as application/problem+json:
An error
HTTP/1.1 409 Conflict
Content-Type: application/problem+json
X-Request-Id: 6f1c2a9e-3b0d-4c51-9e2f-7d8a1b2c3d4e
{
"type": "https://calvana.com/docs/api/errors#slot_unavailable",
"title": "Slot unavailable",
"status": 409,
"code": "slot_unavailable",
"detail": "No host on Sales Call can take 12 Nov 2026 16:00 UTC.",
"request_id": "6f1c2a9e-3b0d-4c51-9e2f-7d8a1b2c3d4e",
"errors": []
}| Field | Meaning |
|---|---|
type | A link to this page at the code's row. Stable. |
title | A short summary of the code. Stable. |
status | The HTTP status again. |
code | The reason, for your code to branch on. Stable. |
detail | What went wrong this time, for a person. Its wording can change, so never parse it. |
request_id | The same value as the X-Request-Id header. Quote it when you ask us about a request. |
errors | Field problems on a 400 or 422, otherwise empty. Each has a JSON Pointer into the body, or the name of a query parameter. |
Field problems
"errors": [
{ "pointer": "/answers/2/value", "code": "missing", "detail": "Field required" },
{ "parameter": "start_after", "code": "timezone_aware", "detail": "Input should have timezone info" }
]Branch on the status first, then on code. New codes can appear under a status that already exists, so handle a code you don't know as its status.
400 Bad request
| Code | Status | What to do |
|---|---|---|
invalid_requestInvalid request | 400 | The body or query failed validation. errors lists each problem. Fix those fields and send again. |
invalid_jsonInvalid JSON | 400 | The body isn't valid JSON. Check the encoding and quoting of what you send. |
unknown_parameterUnknown parameter | 400 | A body field or query parameter v1 doesn't know, often a typo. errors names it. Correct or remove it. |
invalid_cursorInvalid cursor | 400 | The cursor was changed, or sent with other filters, another sort, another list or another workspace than the page it came from. Start again from the first page. |
401 Unauthorized and 403 Forbidden
| Code | Status | What to do |
|---|---|---|
missing_credentialsMissing credentials | 401 | No Authorization header. Send Authorization: Bearer <key>. |
invalid_credentialsInvalid credentials | 401 | The key is unknown, revoked, expired or past its roll overlap. Check that you copied all of it, or make a new one on Settings > Developers. |
insufficient_scopeInsufficient scope | 403 | The credential lacks the scope detail and WWW-Authenticate name. For a key, add the scope on Settings > Developers. For an AI assistant's tool call, the member connects the assistant again and approves that scope, and their role must allow it. A member whose role changed loses, at once, every scope the new role doesn't allow. |
ip_not_allowedIP address not allowed | 403 | The key's IP allowlist doesn't hold this address. Call from an allowed address, or add this one. |
browser_not_allowedBrowser requests not allowed | 403 | The request carried an Origin header, so it came from a browser. Call /v1 from your server and keep the key there. |
not_endpoint_ownerNot the endpoint's owner | 403 | Only the key that made a webhook endpoint may change, delete, test or replay it, rotate its secret or retry its deliveries through the API. No credential may do so for an endpoint made on Settings > Developers. Use the credential that made it. On Settings > Developers an Owner or Admin can turn any endpoint off or on. |
api_access_not_enabledAPI access not enabled | 403 | The workspace isn't in the API beta. Email help@calvana.com to join. |
insecure_transportHTTPS required | 403 | The request used plain HTTP. Call https://api.calvana.com/v1, and roll the key, which crossed the network unencrypted. request_id is null, because the load balancer answers before Calvana sees the request. |
404 Not found and 405 Method not allowed
| Code | Status | What to do |
|---|---|---|
resource_not_foundResource not found | 404 | No such object in this workspace, or an ID with the wrong prefix. An object in another workspace is always 404. Check the ID and its prefix. For an ID you stored, treat it as deleted. |
route_not_foundRoute not found | 404 | No such endpoint. Check the path against the reference, and drop any trailing slash. |
beta_not_enabledBeta not enabled | 404 | A beta operation without its header. Send Calvana-Beta with the feature the reference names. |
method_not_allowedMethod not allowed | 405 | The path has no such method. Use a method the Allow header lists. The reference lists the methods each path takes. |
409 Conflict
| Code | Status | What to do |
|---|---|---|
booking_cancelledBooking cancelled | 409 | The booking is cancelled, so it can't change. Read it again to see where it stands. |
call_already_startedCall already started | 409 | The call's start time has passed, so it can't move to another time or host. Leave it as it is. |
outcome_already_recordedOutcome already recorded | 409 | The call already has an outcome, so it can't be cancelled, moved or given another host. Read the booking's outcome to see what was recorded. |
| 409 | No host can take that time now. Read the calendar's availability again, pick another time and send it with a new Idempotency-Key: the first key replays this answer. | |
host_not_pickableHost not pickable | 409 | The host lacks an integration the workspace requires, or isn't on the calendar. Pick another host, or have them connect what's missing. |
prospect_email_takenProspect email taken | 409 | Another prospect in the workspace has that email. Find them with GET /v1/prospects?email=. |
booking_changedBooking changed | 409 | The booking moved or changed host while your request ran. Read it again, then decide whether to resend, with a new Idempotency-Key: the first key replays this answer. |
prospect_already_bookedProspect already booked | 409 | The calendar takes one live call per prospect, and this prospect has one. Reschedule that booking instead. |
reschedule_credits_used_upReschedule credits used up | 409 | The prospect has used the reschedule credits this calendar allows, and booking them on it again counts as one more. Raise or turn off the calendar's reschedule credits in the app, then send again with a new Idempotency-Key. |
conflictConflict | 409 | The object's state refuses the change for a reason with no code of its own. detail says which. Read the object again before you retry, with a new Idempotency-Key: the first key replays this answer. |
booking_account_missingTeam booking account missing | 409 | The workspace's team booking account isn't connected, so its live calls can't move. Ask an Owner or Admin to reconnect it on the Integrations page. Then resend with a new Idempotency-Key: the first key replays this answer. |
idempotency_key_in_useIdempotency key in use | 409 | A request with the same Idempotency-Key is still running. Retry after a second with the same key. |
endpoint_limit_reachedEndpoint limit reached | 409 | The workspace has 20 enabled webhook endpoints, or 200 made by Zapier keys. Delete or disable one first. |
endpoint_owner_revokedEndpoint owner revoked | 409 | Turning the endpoint back on is refused because the key that owned it was revoked. An Owner can turn it back on from Settings > Developers, which makes the workspace its owner. Ask one to, or create a new endpoint with your own credential. |
endpoint_disabledEndpoint disabled | 409 | The endpoint is off, so the test event, replay or retry would send nothing, and none is queued. Turn the endpoint back on first. |
410 Gone, 413, 414 and 415
| Code | Status | What to do |
|---|---|---|
version_retiredVersion retired | 410 | This major version is past its sunset date. Move to the version the changelog names. |
payload_too_largePayload too large | 413 | The body is over 1 MB. Send less in one request. |
uri_too_longURI too long | 414 | The URL is over 8,000 bytes. Send fewer or shorter query values, and page through a long list. |
unsupported_media_typeUnsupported media type | 415 | The body isn't JSON. Send it with Content-Type: application/json. |
422 Unprocessable
| Code | Status | What to do |
|---|---|---|
idempotency_key_reusedIdempotency key reused | 422 | The key was used for a different request. Use a new key for each operation. |
event_type_not_allowedEvent type not allowed | 422 | The endpoint asks for an event type whose object the credential can't read. detail names the type and the scope it needs. Add that scope to the key, or ask for fewer types. * asks for every type the credential can read. |
endpoint_url_refusedEndpoint URL refused | 422 | The URL isn't HTTPS, uses a port other than 443 or 1024 to 65535, or points at a private address or a Calvana host. detail says which. Use an https:// URL on an allowed port whose host resolves to a public address. |
form_not_liveForm not live | 422 | The form isn't live, or it is a standalone form, which books nothing. Send a routing form whose live is true. GET /v1/forms?kind=routing lists the routing forms. |
disqualifiedDisqualified | 422 | The answers disqualify the prospect, as the form would on the booking page. Treat the prospect as not qualified: the same answers get the same refusal. |
routed_elsewhereRouted elsewhere | 422 | The answers route to another calendar than the calendar_id you sent. Route the answers first, then book the calendar they reach. |
blocked_by_spam_gateBlocked by spam gate | 422 | The workspace's block rules refused the prospect by email, phone, keyword, IP address or country. An email, phone or keyword rule also keeps a blocked submission and marks the prospect spam. If the prospect is genuine, change the Anti-spam & blocking rules in the app, then send again with a new Idempotency-Key. |
outside_booking_windowOutside booking window | 422 | The time is further ahead than the calendar takes calls. Pick a time from its availability. |
unprocessable_contentUnprocessable content | 422 | The request is well formed, but a product rule with no code of its own refused it. detail says which. Change the request before you send it again. |
429 and 5xx
| Code | Status | What to do |
|---|---|---|
rate_limitedRate limited | 429 | Over a rate limit. Wait the seconds in Retry-After, then send again. |
internal_errorInternal error | 500 | A bug on our side, and we get an alert. Retry once with the same Idempotency-Key, and quote request_id if it keeps failing. |
upstream_failureUpstream failure | 502 | Zoom, Google or another provider failed before anything was saved. Retry with the same key. |
request_timeoutRequest timeout | 503 | A database query ran past its 5 second limit. Retry with backoff, and narrow the filters if it repeats. |
| 503 | Calvana is overloaded or in maintenance, or another change got in the way and nothing was saved. Retry with backoff and the same key. |
What to retry
| Answer | Retry |
|---|---|
409 idempotency_key_in_use | After a second, with the same Idempotency-Key |
429 rate_limited | After the seconds in Retry-After |
| 429 with no body | After 5 minutes. The edge refused the request before Calvana saw it. |
500 internal_error | Once, with the same Idempotency-Key |
502 upstream_failure | Yes, with the same Idempotency-Key. Nothing was saved. |
503 | With backoff, waiting 1, 2, 4 and 8 seconds and doubling up to a minute between tries. |
| Any other 4xx | No. The same request gets the same answer, so fix it first. |
A POST retried with the Idempotency-Key it first carried never runs twice, so always retry a write with its original key.