Started getting below error which caused serious issue for our products.
Any idea why this started to appear, this was happening from any location.
Ex : From singapore this was happening which never happened before
encountered error with callAI core function, initiate reject GoogleGenerativeAIFetchError: [GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent: [400 Bad Request] User location is not supported for the API use
Solved! Go to Solution.
Hi @pravinvram,
Welcome to Google Cloud Community!
I have identified a similar issue impacting our service, and a fix has been implemented. According to Vishal, the problem stemmed from an IP mapping error affecting a set of instances. This issue has been resolved, and we recommend checking if the problem persists. For further details and insights, please refer to this discussion thread.
I hope the above information is helpful.