Getting started
Errors & rate limits
How errors look, what each code means, and how rate limits work.
Error format
Errors return a non-2xx status and a body with a stable code. Failed calls are never charged. Quote the request_id when you contact support.
{
"status": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Request validation failed",
"details": { "errors": [{ "field": "latitude", "message": "…" }] }
},
"meta": { "request_id": "req_…" }
}Error codes
| Status | Code | Meaning |
|---|---|---|
| 401 | AUTHENTICATION_REQUIRED / INVALID_API_KEY | Missing, wrong, revoked or expired key |
| 402 | INSUFFICIENT_CREDITS | Wallet balance below the endpoint's credit cost |
| 422 | VALIDATION_ERROR | A missing or invalid field (e.g. latitude out of range) |
| 422 | COMPANY_DETAILS_REQUIRED | Kundli Report PDF: save your company details in the dashboard first |
| 400 | INVALID_IMAGE | Palm Reading: no clear open palm in the photo |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests; wait for the Retry-After seconds |
| 503 | ENDPOINT_DISABLED / SERVICE_UNAVAILABLE | Temporarily unavailable; try again shortly |
Rate limits
Each key has per-minute, per-hour and per-day limits. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. When a limit is reached you get 429 with a Retry-After header: wait that many seconds, then retry.