According to this doc, geo request headers are only present in a Vercel deployment, you cannot even use it locally: https://vercel.com/guides/geo-ip-headers-geolocation-vercel-functions
When testing locally, the geolocation headers will not be set. You can only
view geolocation information after making a deployment and reading the
incoming request headers.