Grahvani API v1
Error reference

missing_field

A required input is absent

HTTP status
400
Error type
invalid_request

What it means#

The request parsed as JSON but a field we need was not in it. error.field names it.

What to do#

Read error.field — it is a dotted path into your own request body, so birth.place means the place object inside birth.

One deliberate exception worth knowing: birth.time is not required. If you do not know the birth time, omit the key entirely rather than sending an empty string. You get the full chart computed for 12:00 noon with meta.birth_time_assumed: true. We never refuse a reading for want of a birth time.

The error shape#

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