I get rate limited with no "details" in the response when I'm sending images

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?

Hello,

Welcome to the Forum,

This looks like a quota exhaustion error due to requests per minute limit which occurs when the maximum requests per minute are exceeded. It should resolve once your quota is replenished.

For information on quota limit, we recommend going through rate limit section in Gemini API documentation.

Hi, I know about the limit and I haven’t exceeded it and when I really exceed it the response I get will have a “details” field in it but this response I get is weird and only happens when I have images as input.

I’m way below the TPM and RPM limits, I wanna understand why do I sometimes get a resource exhausted response with no details field.

Thanks