X-Vercel-IP-Country header returning wrong country

some users in New Zealand were shown Australia’s country code, Austria for Germany, Czechia instead of Serbia etc. There are more example, and the similar issue is faced by other user.
eg:-X-Vercel-IP-Country header returning wrong country · Issue #11315 · vercel/vercel · GitHub

How can i handle this bug?

Hi @adhabal2002-gmailcom. The x-vercel-ip-country value is set based on the requester’s public IP address, but that can be affected by factors such as use of a proxy, VPN, or other network issues.

I need some more information to help me investigate this. Please provide as much info you can. :pray:

  • Is there a proxy on top of the deployment?
  • Are the affected users using a VPN?
  • Do you have the public IP address associated with any of the incorrect country codes?
  • What is the deployment URL associated with this problem?