Reference

Error codes

Every error has an HTTP status and a stable code; match on the code, not the message. Only successful (200) calls are counted, so every error here is free.

Every error looks like this
{
  "error": {
    "code": "rate_limited",
    "message": "Too many requests for this key. Slow down and retry after the time in Retry-After.",
    "docs": "/docs/errors#rate_limited",
    "request_id": "req_6Cw0b1vYk2P8mQ3sTzA9fE"
  }
}

The request_id is also in the x-request-id header of every response. Quote it when you email hello@qurren.com and we can find the call. Codes marked retry can succeed on a later attempt: back off (1 s, 2 s, 4 s…) and honour Retry-After.

API key

The request had no API key.

Fix: Send Authorization: Bearer qk_… (or the x-api-key header).

The key is unknown or was revoked.

Fix: Check you copied the whole key, or create a new one under API keys.

The key passed the expiry date set when it was created.

Fix: Create a new key; expired keys can't be extended.

The organisation is paused (for example while it's being deleted, or by the Qurren team).

Fix: Email hello@qurren.com with the x-request-id.

Billing

This month's 1,000 free calls are used and the organisation has no card.

Fix: An owner or billing member adds a card under Billing (€0.005 per call), or wait until the 1st (UTC), when the free calls start again.

The last invoice couldn't be paid and Stripe stopped retrying.

Fix: Update the card under Billing → Manage billing.

The organisation's own monthly limit on billed calls is reached.

Fix: Raise or remove the limit under Limits, or wait for the 1st (UTC).

Rate limits

429rate_limitedretry

Too many calls with this key in the current minute.

Fix: Wait Retry-After seconds. Spread bulk work over time or keys; ask us for a higher limit.

The request

No endpoint at this path.

Fix: Check the path against the API reference (every endpoint starts with /v1/).

The endpoint doesn't take this HTTP method.

Fix: Use the method in the Allow header (GET or POST).

The request couldn't be read.

Fix: Check the method, URL and body against the reference.

The body isn't valid JSON.

Fix: Send a JSON body with content-type: application/json.

The JSON body doesn't have the expected shape.

Fix: See the endpoint's request body in the reference.

Unknown topic for /v1/facts.

Fix: Use all, models, runtimes, github-actions or retirements.

The package name (or another name) isn't valid.

Fix: Use the name as on npm or PyPI, e.g. zod, @scope/pkg, pypi:pydantic.

Unknown package ecosystem.

Fix: Use ecosystem=npm or ecosystem=pypi.

files isn't an object of { path: content } or an array of { path, content }.

Fix: Send each file's text as a string.

manifest must be the package.json object.

Fix: Send the parsed package.json, or use files instead.

A file path is absolute, has .., control characters or node_modules.

Fix: Send paths relative to the project root.

The same path is in the request twice.

Fix: Send each file once.

/v1/check got no files.

Fix: Send at least one: package.json, requirements.txt, a workflow file…

body for /v1/requests/check isn't a request object.

Fix: Send the exact JSON you'd send to the model API as body.

Unknown provider.

Fix: Use anthropic or openai, or leave it out to detect it from the model.

The request body is too large.

Fix: Stay under the documented limits (4 MB, 3 MB of files per check).

More files than one check allows.

Fix: Send at most 500 files; split large repositories.

One file is over 512 KB.

Fix: Send manifests and config files, not build output.

A run report for /v1/runs isn't valid: a field is missing, has the wrong type, or isn't allowed.

Fix: Send numbers only: model, tokens_in, tokens_out, cost_usd, duration_ms, outcome, used_qurren, label, run_id.

More than 100 runs in one /v1/runs request.

Fix: Send them in batches of up to 100.

A dashboard route got a body that isn't JSON.

Fix: Send content-type: application/json.

Our side

A source Qurren depends on (a registry, endoflife.date…) didn't answer. Not counted.

Fix: Retry with backoff.

503unavailableretry

Qurren couldn't count calls for a moment. Nothing was billed.

Fix: Retry after Retry-After seconds.

500server_errorretry

Something broke on our side.

Fix: Retry; if it keeps happening, email hello@qurren.com with the x-request-id.

Billing isn't set up on this deployment.

Fix: Email hello@qurren.com.

Billing isn't fully set up on this deployment.

Fix: Email hello@qurren.com.

500no_orgretry

Your organisation couldn't be set up.

Fix: Reload; if it keeps happening, email hello@qurren.com.

Dashboard and organisations

Not signed in, or the session expired.

Fix: Sign in again.

Two-factor is on and this session hasn't passed the code step.

Fix: Sign in again and enter the 6-digit code.

The organisation requires two-factor and you haven't set it up.

Fix: Settings → Security → Set up.

Requiring two-factor needs it on for the owner first.

Fix: Turn on two-factor for yourself, then require it.

Two-factor sign-in isn't on for this account.

Fix: Turn it on under Settings → Security first.

That recovery code isn't valid, or it was already used.

Fix: Check the code (each works once), or try another from your list.

Your role in this organisation doesn't allow this.

Fix: Ask an owner or admin (Members shows who).

A cross-site request to a dashboard route.

Fix: Call dashboard routes from the dashboard only.

No such key, member, invite or organisation (or not in this organisation).

Fix: Reload; it may have been removed.

The request didn't include a setting to change.

Fix: Send one of the documented fields.

A setting has the wrong type.

Fix: Send true or false.

The monthly limit isn't a whole number of calls.

Fix: Send a whole number, or null for no limit.

A key's expiry date is in the past.

Fix: Pick a future date, or no expiry.

The organisation has the maximum number of active keys.

Fix: Revoke a key first.

The confirmation text didn't match.

Fix: Type it exactly as shown.

The organisation already has a card.

Fix: Change it under Billing → Manage billing.

The organisation hasn't added a card yet.

Fix: Add a card first.

The invite email isn't a valid address.

Fix: Check the address.

Unknown role.

Fix: Use admin, billing or member (ownership moves by a transfer).

Owners aren't made by changing a role.

Fix: Use Members → Make owner.

You can't remove yourself.

Fix: Use Leave organisation.

That member can't receive ownership.

Fix: Pick another member.

Ownership changed while you were transferring it.

Fix: Reload and try again.

The owner can't leave their organisation.

Fix: Transfer ownership first, or delete the organisation.

A personal organisation is deleted with its person's account.

Fix: Use Settings → Delete account.

You alone own an organisation that has other members.

Fix: Transfer ownership or delete that organisation, then delete your account.

That email is already in the organisation.

Fix: Change their role in Members instead.

That email already has an open invite.

Fix: Resend it from Pending invites.

The organisation reached 50 members (with open invites).

Fix: Email hello@qurren.com to raise it.

20 invites are open.

Fix: Withdraw some first.

You're in 10 organisations already.

Fix: Leave one first.

Webhook alerts are part of the paid plan.

Fix: Add a card under Billing, then add the endpoint.

Webhook alerts aren't set up on this deployment yet.

Fix: Try again later or email hello@qurren.com.

The webhook URL isn't allowed: it must be https on port 443 and resolve to public addresses only (Slack format: a hooks.slack.com URL).

Fix: Use a public https URL.

No event was picked for the webhook endpoint.

Fix: Pick at least one event.

The organisation has 10 webhook endpoints already.

Fix: Delete one first.

The watchlist item isn't a public model ID, node/python version or owner/action name.

Fix: Pick one from the suggestions.

Company facts are part of the paid plan.

Fix: Add a card under Billing, then add your facts.

Company facts aren't set up on this deployment yet.

Fix: Try again later or email hello@qurren.com.

A Company facts value looks like a secret (an API key, token, private key or password).

Fix: Don't store secrets in Company facts.

Not a valid npm or PyPI package name.

Fix: Use a name like @acme/ui or acme-utils.

Not a version number.

Fix: Use a version like 4.2.0.

Not a model ID or pattern, or it's both allowed and blocked.

Fix: Use IDs like claude-sonnet-5-5; * matches anything.

Not a valid pin (Node.js major, Python version, Docker image and tag, or owner/action and major).

Fix: For example Node.js 26 or actions/checkout 4.

The rule is empty or doesn't exist.

Fix: Write the rule in one line.

A Company facts note or rule is too long.

Fix: Keep notes under 200 and rules under 280 characters.

Over a Company facts limit (500 packages, 100 pins, 20 rules, 100 models per list).

Fix: Remove some first.

The same package or pin is in the list twice.

Fix: Keep one.

The imported file isn't a Company facts or .qurren.json object.

Fix: Use the file Export gives as a template.

Deleting all Company facts needs the typed confirmation.

Fix: Type DELETE.

Unknown action for /api/account/alerts.

Fix: Use create, update, delete, test, rotate, watch.add or watch.remove.

The invite link isn't valid.

Fix: Ask for a new invite.

Invites last 7 days.

Fix: Ask for the invite to be resent.

The invite was withdrawn.

Fix: Ask for a new invite.

The invite was already used.

Fix: Sign in; you may already be a member.

The invite is for another email address.

Fix: Sign in with the invited address.