message field is a hint for humans and may change between releases.
Status codes
| Status | Category | Typical cause |
|---|---|---|
400 | Bad request | Missing required field, unreadable PDF, or password required and not supplied |
401 | Unauthorized | Missing or invalid API token |
402 | Payment needed | Account has no remaining analysis credits |
404 | Not found | Task ID is unknown or has expired (24 h TTL) |
500 | Server error | Internal error processing the request |
503 | Unavailable | Underlying datastore is unreachable |
Handling errors
401 — Unauthorized
401 — Unauthorized
402 — Insufficient credits
402 — Insufficient credits
Each call to
/analysis, /transactions, or /analysis-combined deducts one credit. Check your balance on the Manka dashboard or contact support to top up.400 — Password protected PDF
400 — Password protected PDF
Re-submit with the
password field set. For /analysis-combined, pass a JSON array via passwords positionally matching the files.404 — Task not found
404 — Task not found
Task records expire 24 hours after creation. Re-submit the statement if you still need a result.
Example
401 Unauthorized
402 Payment Required