Grahvani API v1
Error reference

engine_rejected_input

The computation refused the inputs

HTTP status
400
Error type
invalid_request

What it means#

The request was well-formed to us, but the underlying computation could not proceed with those values.

What to do#

error.message carries the specific reason. Usual causes are a latitude beyond ±90, a longitude beyond ±180, or a date outside the ephemeris range.

This is a 400 and not a 500 on purpose: the inputs are at fault, not the service, so retrying unchanged will fail identically. Fix the value named in the message.

The error shape#

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