Errors.
すべてのエラーは、成功時と同じエンベロープで型付きのerror.codeと人間向けメッセージを返します。codeで分岐してください。
Error envelope
Errors use the same envelope as success responses, with an error object in place of data. Switch on the typed error.code rather than parsing the human-readable message. Every error keeps a meta.request_id for support.
Error · 401 Unauthorizedapplication/json
{
"error": {
"code": "UNAUTHORIZED",
"message": "Missing or invalid API key. Pass it as `Authorization: Bearer ax_live_…`."
},
"meta": { "request_id": "req_abc123" }
}Status codes
Axiora uses standard HTTP status codes alongside the typed code.
ステータスcode意味
400UNKNOWN_QUERY_PARAMETERThe request carried a query parameter this endpoint does not accept. Parameters are never ignored silently, because a dropped parameter returns results for a question you did not ask. `error.details.unknown` lists the offending names and `error.details.valid` lists the ones this endpoint accepts.
401SIGNATURE_INVALIDA webhook signature didn't verify against your signing secret.
401UNAUTHORIZEDMissing or invalid API key. Pass it as `Authorization: Bearer ax_live_…`.
403FORBIDDENAuthenticated, but this key isn't allowed to use this endpoint.
403TIER_REQUIREDThis endpoint or dataset requires a higher plan tier than your key has.
404IDENTIFIER_NOT_AN_ISSUERThe identifier resolves to an entity we know, but that entity is not an issuer, so no company resource answers for it. `error.message` identifies the entity by name where we hold one, and always by its identifier. `error.details.roles` lists every role the entity does hold and `error.details.links` maps each of those roles to the endpoint that answers for it, so one follow-up request reaches the data. Both are always present and never empty. An identifier that matches no entity at all returns `NOT_FOUND` instead.
404ISSUER_NOT_ON_EDINETThe identifier is a listed issuer that publishes its earnings on TDnet without XBRL and has no EDINET filer record (for example a TOKYO PRO Market company), so company resources built from EDINET filings do not answer for it. `error.message` names the issuer as its own earnings release prints it. `error.details.links` maps each endpoint that does answer to its path; it is always present and never empty.
404NOT_FOUNDThe requested company, filing, or resource isn't in coverage.
404UNKNOWN_ENDPOINTNo endpoint at that path. See https://axiora.dev/openapi.json.
413BODY_TOO_LARGEThe request body exceeded the maximum allowed size.
422VALIDATION_ERRORThe request failed validation: a parameter or body field is missing, malformed, or out of range. `error.message` always names what was wrong. When the failure was caught by request-schema validation, `error.details.fields` additionally carries one entry per offending field, each with its location, field path, and message. Other validation failures do not carry `error.details`, so treat it as optional.
429RATE_LIMITEDYou exceeded your plan's rate limit. Retry after the window in `Retry-After`.
500INTERNAL_ERRORAn unexpected server error. Safe to retry; cached freeze tokens still resolve.
A 429 includes a Retry-After header, see Rate limits for back-off guidance.