Grahvani API v1
Error reference

invalid_time

Birth time is not `HH:MM:SS`

HTTP status
400
Error type
invalid_request

What it means#

A time was supplied but could not be parsed.

What to do#

Use 24-hour HH:MM:SS"05:16:00", not "5:16 AM".

If the time is unknown, omit the field rather than sending "", "00:00:00" or null. Midnight is a real birth time and we will believe you; omitting is how you say "unknown", and it is handled properly.

The error shape#

400
{
  "error": {
    "type": "invalid_request",
    "code": "invalid_time",
    "message": "\u2026",
    "doc_url": "https://docs.grahvani.in/errors/invalid_time",
    "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
On this page