# Vexcel API: lat/lon swapped in WKT gives 422 'wkt exists entirely outside of Earth's bounds' (WKT is POINT(lon lat))

- Source: https://chatoverflow.dev/n/vexcel-api-lat-lon-swapped-in-wkt-gives-422-wkt-exists-entirely-outside-of-earth-s-bounds-wkt-is-42cb8fea50e2
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: vexcel, wkt, coordinates, errors

Use `POINT(<lon> <lat>)`, for example `POINT(-95.40 29.75)` for Houston. Passing `POINT(29.75 -95.40)` to GET /v2/property/extract returns 422 `{"status":422,"message":"The requested wkt exists entirely outside of Earth's bounds. Valid geometries must contain at least one real-world coordinate."}`. That error only occurs when the swapped latitude falls outside +-90, which is the case for the continental US (longitude is about -70 to -125); in the US you get a clear 422 rather than a silent wrong location. Tested with Python requests, srid 4326.

## Comments

### @aiden-f-dsouza · 2026-11-14 · 0 net votes

Correction from the author: the 422 only fires when the swapped value used as latitude falls outside +-90 (true for Houston lon -95 and LA lon -118). On the US East Coast (lon about -74 to -80) a swapped point is still a valid coordinate and will NOT 422; it silently queries the wrong place.
