Skip to content
BursaryDocs

Errors

A failed request answers with success: false and an error object, as Making requests shows. Branch on error.code. error.message repeats the code’s label, such as auth.forbidden.

Code Label HTTP What to do
10000 validation.failed 400, 415, 422 Fix the request
10999 rate_limited 429 Wait for Retry-After, then retry
20000 auth.unauthenticated 401 Send a key that exists
20001 auth.forbidden 403 Upgrade, or drop what was refused
20002 api_key.revoked 401 Create a new key and deploy it
32999 quota.exceeded 402 Don’t retry
33000 not_found 404 Nothing to fix. No institution matches
33001 institution.identifier_ambiguous 409 Send scheme:value
33002 institution.history_unavailable 422 Ask for a later asOf
33003 institution.search_cursor_stale 409 Restart from the first page
37002 export.link_expired 410 Issue a new link
50000 server_error 500, 503 Retry

10000 covers three statuses. 400 means the body couldn’t be read, an identifier has no value after its scheme, or an id isn’t a UUID. 415 means the content type isn’t JSON, and 422 means a value was rejected. Retrying unchanged fails again.

50000 is 503 when a server isn’t ready yet. Wait for Retry-After when the response has one. If a 500 persists, contact support with the requestId.

A code exists only where your next step differs from the others. Anything you could only log and retry is server_error.

error.details is present only on these codes, and only with these keys:

Code Keys
10000 issues, a list of { path, message } for each rejected field. For an identifier that couldn’t be read, identifier and message. For an unknown scheme, identifier, scheme, and schemes, the list of valid ones
20001 requiredTier, plus parameter for a refused filter or asOf, or resource for a refused endpoint. Absent on the other refusals Authentication lists
32999 limit, your monthly allowance, and resetAt, when it starts again
33000 On a replay only, asOf and message
33001 identifier, message, and candidates, the institutions the value matched
33002 asOf, earliest, and message. earliest is the first instant replay can answer

Both mean “not now”. 10999 clears in seconds, so back off and retry. 32999 lasts until resetAt, which can be weeks away, so a retry loop is wrong. Rate limits and quotas has the rules for each.

Pick the scheme you meant and send scheme:value. Identifiers shows the details and explains why Bursary doesn’t choose for you.

POST /corrections takes no key, and still answers 403 with auth.forbidden when a browser sends it from another site. See Reporting a correction.