Batch API - Jobs Stuck in PROCESSING for 72+ Hours

Model: gemini-2.5-flash
Issue Type: Batch jobs not completing after 72+ hours

PROBLEM DESCRIPTION:
Seven (7) batch jobs submitted on December 29, 2025 remain in “JOB_STATE_PROCESSING”
status after 72+ hours. Expected completion time is 1-24 hours per documentation.

Job IDs:
[List your 7 job IDs here if you have them]

SYMPTOMS:

  1. Jobs submitted successfully via Batch API
  2. Files uploaded successfully (received file IDs)
  3. Jobs show as “PROCESSING” in Google AI Studio
  4. No progress or completion after 72+ hours
  5. No error messages or failure status

ATTEMPTED RESOLUTIONS:

  1. Verified API quota status (Tier 1 paid account)
  2. Checked quota dashboard - all limits show as reset
  3. Confirmed file uploads successful (38.2 MB JSONL, ~5,000 records)
  4. Verified API key permissions
  5. Attempted smaller batch submissions (100 records) - same result
  6. Rate limiting respected (2 RPM quota compliance)
  7. Attempted new submissions with proper JSONL formatting

CURRENT IMPACT:

  • Cannot complete batch processing workflow
  • New submissions also failing with “Error on line 1: No request specified”
    (despite valid JSONL format)
  • Unable to progress with 5,000+ record dataset enrichment

EXPECTED RESOLUTION:

  1. Clarification on why original 7 jobs remain in PROCESSING state after 72+ hours
  2. Either completion of existing jobs OR guidance on safely canceling/resubmitting
  3. Resolution of “No request specified” error for new submissions

TECHNICAL DETAILS:

  • Batch file format: JSONL (validated)
  • Input size: 38,283,116 bytes (~5,000 records)
  • API endpoint: gemini-2.5-flash:batchGenerateContent
  • Submission method: Official google-genai SDK (Python)
  • Account tier: Paid Tier 1
  • Rate limiting: 2 RPM (respected with 35-second delays)
4 Likes

Hi @Kevin_Johnson, welcome to the community!

Even if the JSON is valid, the schema expected by the Batch API is strict. The API parser looks for a specific top-level key (request) and fails immediately if it is missing. Batch API Input File

Please check the JSON structure in the File generation script.

These stuck jobs are likely zombie jobs. They may have failed internally without reporting the final status back to the API surface, or the specific queue for gemini-2.5-flash in your region is stalled. Please try to cancel the job and re-run. canceling-batch-job

Thank you!

I’m having a similar issue where everything was working fine but all of a sudden all my jobs (even when I submit something small) get stuck in processing and never go through. It’s been over 24 hours with this issue now.

I’m seeing the same issue. Everything was working fine until yesterday morning. Tried smaller batches and different models, but nothing helped.

Same here. The problem occurred 24h ago.

Same Here, It’s been 32 hours since the batch job was created and it is still showing JOB_STATE_PENDING

Hey All,

Thanks for your report. We’ve pushed a fix that should resolve the problem. Please check and let us know if the problem persists.