[GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent: [400 Bad Request] User location is not supported for the API use

I am getting this error from last 2 days, earlier my product used to work fine but it stopped working from yesterday. So I digged so deep into this tried redeploying, changing package.json, NODE_OPTIONS= --dns-result-order=ipv6first in package.json but it is not working.

As a last resort, I shifted my server location from Oregon to frankfurt today, and it restored, product started running again. But I am not able to pinpoint issue and not getting what is wrong here. Anyone pls tell