Skip to content

Gemini Batch API stuck all jobs on BATCH_STATE_PENDING for more than 24 hours #1482

Closed

Description

@OrionCodeDev

Gemini Batch API stuck all jobs on BATCH_STATE_PENDING for more than 24 hours. Any ETA for fix? Many users report same bug and there is no info for fix time.

Activity

  1. added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Oct 7, 2025
  2. self-assigned this
    on Oct 8, 2025
  3. janasangeetha commented on Oct 8, 2025

    @janasangeetha

    Hey @OrionCodeDev
    Thank you for reporting this!
    We’ve escalated this to the Internal Engineering Team. We’ll keep you updated as soon as we have more information.
    Appreciate your patience!

  4. OrionCodeDev commented on Oct 9, 2025

    @OrionCodeDev
    Author

    @janasangeetha Hey, you can bump this problem to the team second time? They write about "resolved" problem, but it's still not proccessing batch jobs.. What you are doing? How we can trust you as bussiness partner.. you promise to proccess batch in 24 hours and jobs be canceled/pending more than 48 hours..

  5. 4serviceSoftware commented on Oct 9, 2025

    @4serviceSoftware

    @janasangeetha
    I’m having the same problem. Currently, about 50 requests are stuck in the BATCH_STATE_RUNNING status.

    Google developers, could you please tell me what the issue is and when it will be fixed?

  6. OrionCodeDev commented on Oct 9, 2025

    @OrionCodeDev
    Author

    https://aistudio.google.com/status

    Why Google Team set batch api problems as resolved XD? You can give any statment whats going on in the last days with your services and when it's will be fixed? @janasangeetha

  7. CodeOlympusStudio commented on Oct 9, 2025

    @CodeOlympusStudio

    @janasangeetha same problem for us. We can get any ETA and full info about that bug?

  8. Mw3y commented on Oct 11, 2025

    @Mw3y

    Can confirm this still happens. I have a batch job that has been waiting for 28hrs.

  9. AwsamAzab commented on Oct 11, 2025

    @AwsamAzab

    The same problem is happening to me, I have about 30 batches stuck now in the pending state.
    anyone explore something to do?

  10. OrionCodeDev commented on Oct 11, 2025

    @OrionCodeDev
    Author

    @janasangeetha we can have any ETA for fix it and imporve response time in batch jobs? You really don't care about your B2B relationship?

  11. nicosacco commented on Oct 12, 2025

    @nicosacco

    I do believe there is the same issue when using OpenAI API, following official Gemini guidelines: https://ai.google.dev/gemini-api/docs/openai#batch. I had a job running for more than 24hrs with "status='in_progress'" (if I check its status via genai.Client I get JobState.JOB_STATE_PENDING). I tried to restart it, but the issue persists.

  12. munkkisankari commented on Oct 12, 2025

    @munkkisankari

    Yeah, testing the batch API and getting BATCH_STATE_PENDING for two full days now. Not promising.. Maybe they are scaling gemini batch API down in favor of other services

    Image
  13. digixlinc commented on Oct 13, 2025

    @digixlinc

    same issue here. all batch jobs staying pending for over 24 hours, however small they are

  14. 37 remaining items

  15. cprevosteau commented on Mar 29, 2026

    @cprevosteau

    +1 — We are also affected. 10 batch jobs stuck in JOB_STATE_RUNNING for over 34h on models/gemini-3.1-pro-preview (Gemini API, not Vertex AI). Jobs were created between 2026-03-27 22:25 UTC and 2026-03-28 00:10 UTC. update_time has been frozen since shortly after creation, end_time is null, no error reported.
    Example batch IDs:

    • batches/uk0fuax0t89i29fgsg6wnilisdalnwf1vqes
    • batches/ffdjkxlua0lqmxukdwpclq3zhlguxz75vdbf
    • batches/od3vo48qc6vkrwrpkhhej2akbfrjutqyvwbi
  16. VictorParkkila commented on Mar 30, 2026

    @VictorParkkila

    Have waited one week now for 2 batch jobs...

  17. dariamelnyk-h commented on Mar 30, 2026

    @dariamelnyk-h

    All our jobs are in BATCH_STATE_PENDING (gemini-2.5-pro) since 2026-03-26.

  18. Taylor-N-UBA commented on Mar 31, 2026

    @Taylor-N-UBA

    We have the same issues with a small batch job supposed that used to be done within 15-30 mins now sits for more than 24 hours and might be timed out at 72 hours for Gemini 2.5 pro

  19. bsch0111 commented on Apr 1, 2026

    @bsch0111

    My All batch jobs created since March 23rd are also stuck in the PENDING state.

    • Region: asia-northeast3
    • Model: gemini-2.5-flash
    2026-04-01 06:45:39
    2026-03-31 06:45:46
    2026-03-30 06:45:41
    2026-03-29 06:45:41
    2026-03-28 06:45:39
    2026-03-27 11:05:03
    2026-03-27 06:45:40
    2026-03-26 11:03:25
    2026-03-26 06:45:43
    2026-03-25 06:45:43
    2026-03-24 11:03:25
    2026-03-24 06:45:42
    2026-03-23 06:48:50
    
    
  20. prathapbelli commented on Apr 1, 2026

    @prathapbelli

    Facing same issue here

    display_name=None state=<JobState.JOB_STATE_PENDING: 'JOB_STATE_PENDING'> error=None model='models/gemini-2.5-flash

  21. martemenko commented on Apr 1, 2026

    @martemenko

    Same issue here! Since Mar 21st my jobs are in PENDING. Some failed after 5 days, but now they are not even failing anymore. Gemini 2.0 flash

  22. arturborja commented on Apr 2, 2026

    @arturborja

    Same insue here.

    Since 30/03

    10 Jobs for more than 24 hours

  23. bsch0111 commented on Apr 8, 2026

    @bsch0111

    My All batch jobs created since March 23rd are also stuck in the PENDING state.

    • Region: asia-northeast3
    • Model: gemini-2.5-flash
    2026-04-01 06:45:39
    2026-03-31 06:45:46
    2026-03-30 06:45:41
    2026-03-29 06:45:41
    2026-03-28 06:45:39
    2026-03-27 11:05:03
    2026-03-27 06:45:40
    2026-03-26 11:03:25
    2026-03-26 06:45:43
    2026-03-25 06:45:43
    2026-03-24 11:03:25
    2026-03-24 06:45:42
    2026-03-23 06:48:50
    

    Since 04/04

    All of my jobs is completed!

  24. zsolt-halo commented on Apr 15, 2026

    @zsolt-halo

    batches/6fhvhzblnicer5tf6d8h4amsq9xwqjf7wodx -> That batch is stuck. It's been BATCH_STATE_PENDING for 30 hours with 423/423 items still pending, zero progress.

    The updateTime is identical to createTime, meaning Gemini never started processing it.

  25. Dking-fov commented on Apr 26, 2026

    @Dking-fov

    my job also stuck for more than 24 hours,

    Image
  26. Venkaiahbabuneelam commented on May 25, 2026

    @Venkaiahbabuneelam

    Hi Team,
    Thanks for your patience. The issue is now fixed, and we are closing the ticket. If the issue occurs again, please feel free to open a new ticket.
    Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions