Grahvani API v1
Error reference

All error codes

Every code the Grahvani API can return. Each links to the page named by the doc_url in the error itself — so a link we put on the wire always resolves.

CodeHTTPTypeMeaning
engine_rejected_input400invalid_requestThe computation refused the inputs
invalid_horary_number400invalid_requestHorary number outside 1–249
invalid_moment400invalid_requestThe `moment` timestamp could not be parsed
invalid_time400invalid_requestBirth time is not `HH:MM:SS`
invalid_timezone400invalid_requestTimezone is not an IANA name
key_not_found400invalid_requestNo such API key on this account
last_active_key400invalid_requestRefusing to revoke your only key
missing_field400invalid_requestA required input is absent
too_many_keys400invalid_requestKey limit reached for this account
unknown_ayanamsa400invalid_requestNot one of the supported schools
unknown_plan400invalid_requestNo such plan
unknown_varga400invalid_requestNot a supported divisional chart
invalid_api_key401authenticationThe key is not valid
missing_api_key401authenticationNo API key was sent
admin_only403permissionThat route needs an admin token
quota_exhausted429quotaOut of units for this period
rate_limit_exceeded429rate_limitToo many requests per minute
engine_error500internalThe computation failed
unknown_operation500internalRoute mapped to an operation we cannot serve
not_available_in_school501not_implementedReal operation, absent in that ayanāṁśa
not_implemented501not_implementedNot implemented
engine_unavailable503internalThe computation service is unreachable

The narrative — retry policy, why 501 is not 404, why we never silently fall back to another ayanāṁśa — is in the error handling guide.

Grahvani API — a product of AstroCorp Techlab Pvt Ltd · GSTIN 36AAMCC3512G1ZU
Base URL https://api.grahvani.in