[Bug] gemini apikey使用报错 #1808
-
💻 系统环境Windows 📦 部署环境Vercel / Zeabur / Sealos 🌐 浏览器Edge 🐛 问题描述同样的gemini apikey,在nextcaht和沉浸式翻译中填入可以正常使用,而在lobechat中却报错 🚦 期望结果No response 📷 复现步骤No response 📝 补充信息No response |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 1 reply
-
👀 @kanao7 Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
这个出错信息不是写的挺清楚了么: [429 Too Many Requests] Quota exceeded for quota metric 'Generate Content API requests per minute' and limit 'GenerateContent request limit per minute for a region' of service 'generativelanguage.googleapis.com' for consumer 'project_number:736809909606' |
Beta Was this translation helpful? Give feedback.
-
我也遇到了这个问题,同样的key在别的工具上例如沉浸式翻译就没问题,lobechat上就一直提示超限 |
Beta Was this translation helpful? Give feedback.
-
我在gemini-pro-chat也遇到这个问题。 |
Beta Was this translation helpful? Give feedback.
-
I also encountered this problem in gemini-pro-chat. |
Beta Was this translation helpful? Give feedback.
-
刚注册的api也是这个提示 |
Beta Was this translation helpful? Give feedback.
-
有可能是google检测到你这个apikey在多个地方使用, |
Beta Was this translation helpful? Give feedback.
-
It is possible that Google has detected that you are using this apikey in multiple places. This project seems to be circumventing our quota restrictions by dividing one project into multiple projects. ` |
Beta Was this translation helpful? Give feedback.
-
I've generated brand new api key to check if that's the case, but I also get this error:
{
"error": {
"message": "[GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-latest:streamGenerateContent?alt=sse: [400 ] Invalid JSON payload received. Unknown name \"default\" at 'tools[0].function_declarations[0].parameters.properties[1].value': Cannot find field.\nInvalid JSON payload received. Unknown name \"default\" at 'tools[0].function_declarations[0].parameters.properties[3].value': Cannot find field.\nInvalid JSON payload received. Unknown name \"default\" at 'tools[0].function_declarations[0].parameters.properties[4].value': Cannot find field. [{\"@type\":\"type.googleapis.com/google.rpc.BadRequest\",\"fieldViolations\":[{\"field\":\"tools[0].function_declarations[0].parameters.properties[1].value\",\"description\":\"Invalid JSON payload received. Unknown name \\\"default\\\" at 'tools[0].function_declarations[0].parameters.properties[1].value': Cannot find field.\"},{\"field\":\"tools[0].function_declarations[0].parameters.properties[3].value\",\"description\":\"Invalid JSON payload received. Unknown name \\\"default\\\" at 'tools[0].function_declarations[0].parameters.properties[3].value': Cannot find field.\"},{\"field\":\"tools[0].function_declarations[0].parameters.properties[4].value\",\"description\":\"Invalid JSON payload received. Unknown name \\\"default\\\" at 'tools[0].function_declarations[0].parameters.properties[4].value': Cannot find field.\"}]}]"
},
"provider": "google"
} |
Beta Was this translation helpful? Give feedback.
这个出错信息不是写的挺清楚了么:
[429 Too Many Requests] Quota exceeded for quota metric 'Generate Content API requests per minute' and limit 'GenerateContent request limit per minute for a region' of service 'generativelanguage.googleapis.com' for consumer 'project_number:736809909606'