Problem types

Every problem+json type Lucida returns, what it means and what to do about it. The error type URL https://lucidace.com/help/problems#<slug> points at the matching section.

Embed
Preview of the card
<a href="https://lucidace.com/help/problems"><img src="https://lucidace.com/help/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/2f4b888b-c4e6-488b-81bd-6e838fb12d2e/pages/f1fdf209-5d98-4c47-bfe2-da4e02866dc5/social-card.svg?v=3e7ae33eec8b" alt="Problem types" width="600" height="315"></a>

Every error is RFC 9457 application/problem+json. Its type is https://lucidace.com/help/problems#<slug>, and <slug> is one of the sections below. Branch on status and type, never on detail text, and quote request_id when you report a problem.

Standard classes

Every status has a class, so type is never about:blank.

validation

400 or 422. The request is wrong: unparsable JSON, a bad id, limit or cursor, or a business rule (400); or the JSON parsed but a field is missing or has the wrong type, in which case errors[] names each field (422 on the API). The capture host answers 400. Fix the request and resend.

unauthenticated

401. The key is missing, unknown, revoked or expired.

forbidden

403. You can see the resource but lack the scope or role; detail often names it.

not-found

404. The resource is missing or not accessible to this key (wrong org, wrong project, a route that needs a session), or the route does not exist.

method-not-allowed

405. Wrong HTTP method for the route.

conflict

409. A name or key already exists, or the current state does not allow the change.

payload-too-large

413. A batch over 1000 events, or a body or event over the size limit.

unsupported-media-type

415. Wrong Content-Type.

rate-limited

429. A rate limit or plan quota. Retry-After gives the wait in seconds.

internal

5xx. A server fault. Retry with backoff.

unavailable

503. The API is restarting during a deploy; retry shortly.

error

Any other status.

Specific types

feature-not-enabled

404. The route exists but this deployment has not configured the feature (managed proxy domains, the Cookie Munch partner link). detail names it; nothing to fix in the request.

approval-required

409. The change needs sign-off first; submit it for approval.

running_change

409. The change touches a started experiment and would change results already seen. Resend with confirm_running_change: true to proceed.

experiment_running

409. A running experiment uses this flag. Stop the experiment first, or retry with force=true (the flag kill route still works).

plan-merge-conflict

409. The branch and the live tracking plan both changed; rebase and resolve in the branch.

metric_name_taken

409. A metric with that name already exists.

metric_drifted

409. The source insight changed since the metric was linked; refresh from the insight or unlink it first.

relationship_rejected

409. This catalog relationship was rejected and will not be proposed again.

relationship_no_overlap

409. None of the sampled left keys exist in the right column, so the join would match no rows.

missing-dependency

409. With match, the target project has no cohort or action of that name.

deletion-started

409. A deletion for that person is already running.

forward-not-failed

409. Only a failed deletion forward can be retried.

forward-subject-purged

409. The person behind that deletion forward is already purged.

last-owner

409. The last owner of an organization cannot be removed or demoted.

sole-owner

409. You are the only owner of an organization; transfer ownership or delete the organization first.

seat-limit

409. Every paid seat is in use.

org-limit

403. This instance does not allow more organizations.

signup-restricted

403. Sign-up is restricted on this instance.

sso-required

403. This domain requires single sign-on; sign in through SSO.

share-password-required

403. The shared link is password protected; send the password.

captcha-failed

400. The CAPTCHA check failed; try again.

region-locked

409. The data region rules block this change.

compliance

409. The organization's compliance profile does not allow this (for example snapshot properties under the HIPAA profile).

compliance-profile

409. The change violates the organization's compliance profile.

audit-sink-required

409. Add an audit sink before turning this setting on.

ip-not-allowed

403. The caller's address is not on the organization's IP allowlist.

ip-lockout

409. The allowlist change would lock out your current address; add it first.

request-blocked

403. The request origin is on the project's flag request blocklist.

secret-key-required

403. Batch flag evaluation needs a secret key.

ai-provider-required

409. Connect an AI provider in Settings, AI.

report-cap-reached

409. The project's daily report cap is reached.

replay-deleted

410. The recording was deleted; detail says when and by whom.

replay-erased

410. The recording was erased because its encryption key was destroyed.

sensitive-key-destroyed

410. The key the value was captured under was destroyed.

Updated