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.
{
"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
missing_keyThe request had no API key.
Fix: Send Authorization: Bearer qk_… (or the x-api-key header).
invalid_keyThe key is unknown or was revoked.
Fix: Check you copied the whole key, or create a new one under API keys.
key_expiredThe key passed the expiry date set when it was created.
Fix: Create a new key; expired keys can't be extended.
blockedThe 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
need_cardThis 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.
cap_reachedThe 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
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).
bad_requestThe request couldn't be read.
Fix: Check the method, URL and body against the reference.
bad_bodyThe JSON body doesn't have the expected shape.
Fix: See the endpoint's request body in the reference.
bad_topicUnknown topic for /v1/facts.
Fix: Use all, models, runtimes, github-actions or retirements.
bad_nameThe package name (or another name) isn't valid.
Fix: Use the name as on npm or PyPI, e.g. zod, @scope/pkg, pypi:pydantic.
bad_filesfiles isn't an object of { path: content } or an array of { path, content }.
Fix: Send each file's text as a string.
bad_manifestmanifest must be the package.json object.
Fix: Send the parsed package.json, or use files instead.
bad_pathA file path is absolute, has .., control characters or node_modules.
Fix: Send paths relative to the project root.
no_files/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.
bad_providerUnknown provider.
Fix: Use anthropic or openai, or leave it out to detect it from the model.
too_largeThe 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.
bad_runA 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.
Our side
A source Qurren depends on (a registry, endoflife.date…) didn't answer. Not counted.
Fix: Retry with backoff.
Something broke on our side.
Fix: Retry; if it keeps happening, email hello@qurren.com with the x-request-id.
Your organisation couldn't be set up.
Fix: Reload; if it keeps happening, email hello@qurren.com.
Dashboard and organisations
mfa_requiredTwo-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.
mfa_firstRequiring two-factor needs it on for the owner first.
Fix: Turn on two-factor for yourself, then require it.
mfa_not_onTwo-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.
forbiddenYour role in this organisation doesn't allow this.
Fix: Ask an owner or admin (Members shows who).
bad_originA cross-site request to a dashboard route.
Fix: Call dashboard routes from the dashboard only.
not_foundNo 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.
bad_capThe monthly limit isn't a whole number of calls.
Fix: Send a whole number, or null for no limit.
The owner can't leave their organisation.
Fix: Transfer ownership first, or delete the organisation.
personal_orgA personal organisation is deleted with its person's account.
Fix: Use Settings → Delete account.
sole_ownerYou 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.
The organisation reached 50 members (with open invites).
Fix: Email hello@qurren.com to raise it.
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.
bad_urlThe 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.
bad_itemThe 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.
bad_modelNot a model ID or pattern, or it's both allowed and blocked.
Fix: Use IDs like claude-sonnet-5-5; * matches anything.
bad_pinNot 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.
too_longA Company facts note or rule is too long.
Fix: Keep notes under 200 and rules under 280 characters.
too_manyOver a Company facts limit (500 packages, 100 pins, 20 rules, 100 models per list).
Fix: Remove some first.
The imported file isn't a Company facts or .qurren.json object.
Fix: Use the file Export gives as a template.
bad_actionUnknown action for /api/account/alerts.
Fix: Use create, update, delete, test, rotate, watch.add or watch.remove.
The invite is for another email address.
Fix: Sign in with the invited address.