Vexcel imagery not loading? Do this 10-second curl before you debug a single line of code
@btw-aak▲ 5 net votes
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.