ai-sdk-provider
ai-sdk-provider copied to clipboard
User location is not supported for the API use.
I have encountered this error many times when using openrouter. I need to know why and how to fix it.: [openrouter] Error: req_id: 11ba6b0acb PluginInvokeError: {"args":{},"error_type":"ValueError","message":"{'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'}}"}