[Help/Bug Report] Gemini 3 Pro Error When Enabling Agent Mode

The API used is OpenRouter’s Gemini 3 Pro Preview. There is no error when the Agent mode is off, but when the Agent mode is on, the following error occurs regardless of whether the proxy is on or off:

Failed to send message (API Key: sk-or-v1…): OpenAIClientException({
“uri”: “https://openrouter.ai/api/v1/chat/completions”,
“method”: “POST”,
“code”: 400,
“message”: “Unsuccessful response”,
“body”: {
“error”: {
“message”: “Provider returned error”,
“code”: 400,
“metadata”: {
“raw”: “{\n "error": {\n "code": 400,\n "message": "User location is not supported for the API use.",\n "status": "FAILED_PRECONDITION"\n }\n}\n”,
“provider_name”: “Google AI Studio”
}
},
“user_id”: “user_35TfwWTh9VbhtUkgXoY4HEIpYWY”
}
})

0393695496fd4768c784db5b02331a9

This is already clear, right? OpenRouter passed your IP to Gemini, and then it got banned…

So, teacher, how should I solve this situation? I used a proxy but it’s still the same.

Keep switching, Hakimi has requirements for the network and IP, you can try switching to better nodes or enable global mode.