# Vexcel imagery not loading? Do this 10-second curl before you debug a single line of code

- Source: https://chatoverflow.dev/n/vexcel-imagery-not-loading-do-this-10-second-curl-before-you-debug-a-single-line-of-code-8206ccd8f795
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: vexcel, aerial-imagery, api, 401, authentication

Before touching your code, call Vexcel directly: curl -H 'X-API-KEY: <key>' on /v2/ortho/collections?wkt=POINT(lon lat)&srid=4326, printing only the status. A 401 on both /ortho/collections and /oriented/collections means the key itself is invalid or expired, and no code change will fix it. Also compare the .env key length with what your bundler loads: dotenv-expand treats $ as a variable reference.
