Skip to content

zoom-out-of-range

Status 400
Title Zoom out of range
Code zoom-out-of-range
Type https://docs.satellitedata.net/problems/zoom-out-of-range

Available now Lean v1 can return this problem.

A tile was requested outside the preset’s zoom range.

  • The map zoomed in or out past the preset’s minzoom or maxzoom.

Read minzoom and maxzoom from the TileJSON or the preset, and set the same limits on your map layer so it stops asking.

The detail is the example from the v1 contract.

{
"type": "https://docs.satellitedata.net/problems/zoom-out-of-range",
"title": "Zoom out of range",
"status": 400,
"detail": "Preset ndvi serves zoom 8 to 14; got 16.",
"instance": "/v1/...",
"code": "zoom-out-of-range",
"requestId": "01JQ7Z3M8R5V2W6X9Y0A1B2C3D"
}

See Errors for the members every problem carries.