Hi,
I’m having a big issue right now where all my batch api requests are getting stuck in pending. This seems to be an on and off again issue that many users have been experiencing over the last year according to my research. I’ve tried switching APIs to a different project and the same thing is happening. I’ve tested in shell the command and it just shows as pending like this below:
~/workspace$ curl “https://generativelanguage.googleapis.com/v1beta/batches/3mttwrhrehgz6n0sjza9s4f6ptg3rtdwlpkm” \
-H “x-goog-api-key: AIzaSyAkmx9ktlvY8D1j08ZngGLzc2SUA71CUTI”
{
“name”: “batches/3mttwrhrehgz6n0sjza9s4f6ptg3rtdwlpkm”,
“metadata”: {
"@type": "type.googleapis.com/google.ai.generativelanguage.v1main.GenerateContentBatch",
"model": "models/gemini-2.5-flash",
"displayName": "FDD Analysis (bucketed) - 1 franchises - 2026-01-07T14:33:53.244Z",
"createTime": "2026-01-07T14:33:53.748912951Z",
"updateTime": "2026-01-07T14:33:53.748912951Z",
"batchStats": {
"requestCount": "3",
"pendingRequestCount": "3"
},
"state": "BATCH_STATE_PENDING",
"name": "batches/3mttwrhrehgz6n0sjza9s4f6ptg3rtdwlpkm"
}
}