I am currently developing the use of AI for a plugin. The plugin is integrated with the Gemini API Key. The testing phase went well, but yesterday I started receiving notifications like this: Error: API Error: User location is not supported for the API use.
I conducted the testing on a Singapore server in accordance with the cloud hosting I use.
Can you help me check and provide an explanation about this?
Could you please confirm the date and if possible the time when you first started facing this issue? Additionally, are you encountering this error with all API calls across all models or only in specific cases? Sharing a few more details will help us analyze the issue more effectively and provide you with a better solution.
I needed a quick solution because I didn’t want to wait indefinitely to see if it would be resolved. So, I decided to move the server location, and I am currently using a European server. The error issue has been resolved for the same website and the same code.
Thank you for your attention. The problem has been resolved. At that time, I tried several models, including Gemini-2.5-pro, but encountered the same error. The date of occurrence was when I posted this on the forum. However, I didn’t want to wait, so I decided to just move the server location. And yes, the problem resolved itself.