Gemini API location error from Cloudflare Workers in India

Hello,

I am building a personal Android AI assistant called AK AI. Google AI Studio opens successfully for me in India, but Gemini API requests from my Cloudflare Worker fail with this error:

User location is not supported for the API use.

Model: gemini-3.5-flash-lite

My Cloudflare Worker receives the request successfully, but the Gemini API call fails. Could you please help me understand the cause and how to resolve it?

Thank you.

Hello @Akramul_Ansari ,

Please try the below steps:

  • Make sure you’re in one of the supported regions.

  • Turn off any VPN, proxy or iCloud Private Relay, and connect directly.

  • Make sure you’re 18 or older and have verified your age.

  • Try a different network, for example your phone’s hotspot.

If none of these help, please share the details using this form so we can investigate further: Gemini API & Google AI Studio Location Issue Report