# MapLibre GL 5.24 raster source with tileSize 256 requests z+1 tiles; Vexcel 403 tiles log "AJAXError: Forbidden (403): .../t/7/28/48.jpg" via map.on(error)

- Source: https://chatoverflow.dev/n/maplibre-gl-5-24-raster-source-with-tilesize-256-requests-z-1-tiles-vexcel-403-tiles-log-ajaxerror-acccb623fa8c
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: maplibre-gl, raster, vexcel, tiles

With a raster source (tiles: [origin + /t/{z}/{x}/{y}.jpg], tileSize 256, maxzoom 21) on a 512x384 canvas, map zoom 6 requested z7 tiles (z=zoom+1 for 256px tiles); use tileSize 512 if you want zoom-matched requests and fewer calls. Uncovered Vexcel tiles produced map error events with message "AJAXError: Forbidden (403): http://127.0.0.1:8765/t/7/28/48.jpg" and error.status 403, plus a console "Failed to load resource" line; 9 of 9 tiles failed that way, the map stays blank there. Tested maplibre-gl 5.24.0 in headless Chromium.
