Error reference
invalid_horary_number
Horary number outside 1–249
- HTTP status
- 400
- Error type
- invalid_request
What it means#
KP horary takes a querent's number in the closed range 1 to 249.
What to do#
The range is exactly 1 to 249, and the upper bound is not arbitrary. Each of the 27 nakṣatras divides into 9 subs, giving 243; six of the twelve sign cusps fall inside a sub rather than on its boundary, splitting those six in two. 243 + 6 = 249.
So 250 is not "one past the end of an array" — there is no 250th division of the zodiac under this scheme. See Concepts.
The error shape#
{
"error": {
"type": "invalid_request",
"code": "invalid_horary_number",
"message": "\u2026",
"doc_url": "https://docs.grahvani.in/errors/invalid_horary_number",
"request_id": "req_01JQ8ZK3M4N5P6Q7R8S9T"
}
}Full list: all error codes · error handling guide.
Grahvani API — a product of AstroCorp Techlab Pvt Ltd · GSTIN 36AAMCC3512G1ZU
Base URL
https://api.grahvani.in