Gemini API location Error 400

I have been using Gemini on a VPS server since January 2024 and everything worked well until 26 April 2024, when I constantly started receiving the error:
“googleapi: Error 400: User location is not supported for the API use.”

The server is located in California (ip:185.180.198.10). No changes have been made to it, there is no VPN, as far as I know - the USA is on the list of allowed countries.
At the same time, the API key itself works fine, since there were no errors when launched on a local machine (from Georgia and Vietnam).

Can anyone tell me what I’m doing wrong?

the same thing just happened to me, and I am using both the paid and free versions.
Did we just got blocked by google or what?

I had a problem with the virtual server itself, even though the IP belonged to the USA, for some reason Google identified it as a different region.
At the same time, locally the Gemini API worked for me without problems, which proved that the my API key was not blocked.
Changing the server helped me.