API error codes
Every endpoint under /api/ reports failures as RFC 9457 application/problem+json. The response carries type, title, status and detail, plus a hint member where a resolution step exists. The type URL is one of the links below.
This vocabulary is closed: there are seven codes and no per-endpoint codes. Branch on the code, and read detail for the specifics. Both detail and hint are English-only — they are written for machine consumers, not for display to a person.
Every path the API serves is listed in its OpenAPI document.
invalid-parameterInvalid parameter · HTTP 400- A query or path parameter was present but its value is not one this endpoint accepts. The detail names the parameter and the accepted values. Correct the value and retry; retrying unchanged will fail identically.
https://www.stackerscan.com/errors/invalid-parametermissing-parameterMissing parameter · HTTP 400- A required query or path parameter was not supplied. The detail names it. Supply the parameter and retry.
https://www.stackerscan.com/errors/missing-parameternot-foundNot found · HTTP 404- No resource exists at the requested path, or the identifier in the path matches nothing. For an unknown path, the OpenAPI document lists every path this API serves.
https://www.stackerscan.com/errors/not-foundrate-limitedRate limited · HTTP 429- Too many requests in too short a window, or a usage quota is exhausted. Back off and retry later.
https://www.stackerscan.com/errors/rate-limitedinternal-errorInternal error · HTTP 500- The request failed for a reason that is not the caller's fault and is not attributable to a named upstream. Retrying may succeed.
https://www.stackerscan.com/errors/internal-error