API Access Issue from Server in Hong Kong

Hello,

I am currently located in France and using the Gemini API on a server located in Hong Kong. However, when trying to make a request, I am encountering the following error:

“User location is not supported for the API use.”

Could you please help clarify if this is due to the server’s location, or if there are any regional restrictions for the API?

Thank you!

Hi @Baptiste_Richetin, Currently the gemini API and Google AI Studio are available in some countries and territories. Please refer to this to know the available regions. Thank You.

@Kiran_Sai_Ramineni then why are you throwing the same error when all the traffic is coming from Germany, which is on the list of supported countries, and which was working just fine since September 2024?