Hi there, I noticed that when I don’t send images in the requests and get rate limited I get 429 with “details” in the response which is helpful to know what exactly is going on, like this:
{
“error”: {
“code”: 429,
“message”: “You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: idk why I can’t type more than 2 links”,
“status”: “RESOURCE_EXHAUSTED”,
“details”: [
{
“@type”: “type.googleapis.com/google.rpc.QuotaFailure”,
“violations”: [
{
“quotaMetric”: “",
“quotaId”: “GenerateRequestsPerMinutePerProjectPerModel-FreeTier”,
“quotaDimensions”: {
“location”: “global”,
“model”: “gemini-2.5-flash-lite”
},
“quotaValue”: “15”
}
]
},
{
“@type”: "”,
“links”: [
{
“description”: “Learn more about Gemini API quotas”,
“url”: “"
}
]
},
{
“@type”: "”,
“retryDelay”: “12s”
}
]
}
}
but when I send image with the request because this what my app needs I get something like:
Resource has been exhausted (e.g. check quota).
and the problem is that I get this error in times I shouldn’t be rate limited and sometimes I do get the one with details even with images as input, is that 503 for multimodal requests?