Batch API is taking longer than 24h (gemini-3-pro)

BATCH API JOBS are stuck at JOB_STATE_PENDING even after 24 hours. My whole business model is based on batch image generation using JSONL. Please help. Thanks.

hi @adukku123 can you share you batch job id via DM ?

Dear Mustan,

Greetings.

Just as I was replying to you this message, the Job status has changed from PENDING to EXPIRED.

Please find my batch details below:

Job Name: batches/zrqpn7nvyoqwuf5fkuwlsz3rkzlvaeb04ahf, State: JOB_STATE_EXPIRED
Job Name: batches/7j27x8xvkq3kryci3gd9yevglq2p7ezkiqoy, State: JOB_STATE_EXPIRED

Please note, I am developing Image generation to enhance School Pictures for 100’s of 1000’s of students and staff and it is imperative that the batch process works as expected.

Appreciate your quick response.

Please let me know if you need any other details.

Will wait for your communication.

Cheers,
S Balachandran.

Please note, this used to work when I was testing in Dec - Feb and used to finish well within 30 minutes.

Now as I was planning to launch in production, it got stuck.

I only used a singleton image generation for batch testing though.

Hope this helps.

HI

This is now address and you should be able to use batch jobs