Bad Request
The request could not be processed because one or more request values are invalid, incomplete, or mutually incompatible.
| Property | Value |
|---|---|
| Type | https://docs.headcode.dev/errors/general/bad-request |
| Code | HEADCODE.GENERAL.BAD_REQUEST |
| HTTP status | 400 |
| Title | Bad Request |
Example
Section titled “Example”{ "type": "https://docs.headcode.dev/errors/general/bad-request", "title": "Bad Request", "status": 400, "detail": "Both 'lat' and 'lng' must be provided together.", "code": "HEADCODE.GENERAL.BAD_REQUEST", "errors": [ { "detail": "Both 'lat' and 'lng' must be provided together.", "parameter": "lat" }, { "detail": "Both 'lat' and 'lng' must be provided together.", "parameter": "lng" } ]}How to resolve
Section titled “How to resolve”Check the endpoint documentation for required parameters, supported combinations, valid ranges, and allowed enum values. For station search, provide either query or a complete lat/lng pair, not both.