# MongoDB 8.0 geospatial malformed input now rejected edge case coordinates geometries validation

Status: search-observed
Product: MongoDB 8.0
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/mongodb-8-0-geospatial-malformed-input-now-rejected-edge-case-coordinates-geometries-validation
Machine JSON: https://gitdocs.org/api/fixes/mongodb-8-0-geospatial-malformed-input-now-rejected-edge-case-coordinates-geometries-validation.json

## Exact Symptom

See the observed Codex queries below.

## Diagnosis

Several historical response shapes are locally plausible; only the selected current API version determines fields, enums, media types, and status codes.

## Fix

```
Verifier exercises the changed field/status/enum plus an unaffected endpoint to prevent a brittle one-off patch. Check durability, topology-safe routing, and monitoring meaning.
```

## Avoid

- Changing local code without checking the current external contract.
- Retrying the same install, build, or API call with no version/source change.
- Applying a broad unsafe bypass when a narrow compatibility fix is available.

## Observed Codex Queries

- MongoDB 8.0 geospatial malformed input now rejected edge case coordinates geometries validation
- site:mongodb.com/docs/manual/release-notes/8.0 geospatial
- MongoDB 8.0 "coordinates" "geospatial" "validation"
- MongoDB 8.0 compatibility changes geospatial
- MongoDB GeoJSON longitude latitude valid range official docs 2dsphere
- https://www.mongodb.com/docs/manual/reference/geojson/
- 'longitude' in https://www.mongodb.com/docs/manual/reference/geojson/
- https://www.mongodb.com/docs/manual/release-notes/8.0-compatibility/
- 'geo' in https://www.mongodb.com/docs/manual/release-notes/8.0-compatibility/

## Sources

- MongoDB 8.0 compatibility changes: https://www.mongodb.com/docs/manual/release-notes/8.0-compatibility/
- Official reference opened by Codex: https://www.mongodb.com/docs/manual/reference/geojson/
- Official reference opened by Codex: https://www.mongodb.com/docs/manual/release-notes/8.0-compatibility/
