[Regression / Bug] v1beta/interactions with `gemini-4-argon` and video `processing: "agentic"` fails asynchronously with `INVALID_ARGUMENT` (0 `processing_call` steps), while `processing: "static"` succeeds

Summary

We are experiencing a 100% reproducible server-side regression in the Gemini Interactions API (POST /v1beta/interactions) when using model: “gemini-4-argon” with native agentic video processing (“processing”: “agentic”).

Previously, this exact request envelope triggered native agentic video analysis and emitted processing_call and processing_result steps before producing model_output.

Now, POST /v1beta/interactions still returns HTTP 200 OK with status: “in_progress”, but the interaction immediately fails asynchronously on the first GET poll with status: “failed”, returning code: “INVALID_ARGUMENT” (“There was a problem processing your request. You will not be charged.”) and emitting ZERO processing_call steps.

Changing ONLY “processing”: “agentic” to “processing”: “static” on the exact same ACTIVE Files API URI and envelope succeeds completely (status: “completed”).


Minimal Reproducible Example (MRE)

1. Test Media Generation (ffmpeg)

A minimal 12-second silent MP4 (640x360, 15 fps, H.264 yuv420p, 7.7 KB, 4 solid 3-second color blocks: Red → Blue → Green → Yellow, no audio track):

ffmpeg -y \
  -f lavfi -i color=c=red:s=640x360:d=3:r=15 \
  -f lavfi -i color=c=blue:s=640x360:d=3:r=15 \
  -f lavfi -i color=c=green:s=640x360:d=3:r=15 \
  -f lavfi -i color=c=yellow:s=640x360:d=3:r=15 \
  -filter_complex "[0:v][1:v][2:v][3:v]concat=n=4:v=1:a=0,format=yuv420p[outv]" \
  -map "[outv]" -an -c:v libx264 -pix_fmt yuv420p -movflags +faststart test_12s.mp4

Uploaded via Gemini Files API (video/mp4) and polled until state === “ACTIVE”.

2. Request Envelope (POST https://generativelanguage.googleapis.com/v1beta/interactions)

{
  "model": "gemini-4-argon",
  "background": true,
  "store": true,
  "generation_config": {
    "thinking_level": "high",
    "max_output_tokens": 32768
  },
  "system_instruction": "You are a video reviewer. Describe only what you actually observe. Return a single JSON object with a timeline and ratings.",
  "input": [
    {
      "type": "video",
      "uri": "https://generativelanguage.googleapis.com/v1beta/files/75nz0c7fa0r8",
      "mime_type": "video/mp4",
      "resolution": "high",
      "processing": "agentic"
    },
    {
      "type": "text",
      "text": "Review the provided video as a standalone clip and return a single JSON object with a timeline and ratings."
    }
  ]
}

Observed Behavior vs. Control Run

Run A: “processing”: “agentic” (FAILS)

  • Interaction ID (for internal log lookup): v1_Chd3VV9aYXJUcktOR2x4TjhQdzZEUDhRZxIXd1VfWmFyVHJLTkdseE44UHc2RFA4UWc

  • POST HTTP Status: 200 OK (initial status: “in_progress”)

  • Final GET HTTP Status: 200 OK

  • Final status: “failed”

  • errors array:

    [
    {
    “message”: “There was a problem processing your request. You will not be charged.”,
    “code”: “INVALID_ARGUMENT”
    }
    ]

  • steps types emitted: [“user_input”] (total: 1 step)

  • processing_call count: 0

  • processing_result count: 0

Run B (Control): Exact same payload & File URI with “processing”: “static” (SUCCEEDS)

  • Interaction ID: v1_Chd4a19aYXFUY04tWFEyOG9QaGFHQzBRYxIXeGtfWmFxVGNOLVhRMjhvUGhhR0MwUWM
  • POST HTTP Status: 200 OK
  • Final GET HTTP Status: 200 OK
  • Final status: “completed”
  • errors array: null
  • steps types emitted: [“user_input”, “thought”, “model_output”]
  • Output: Valid JSON accurately identifying all four 3-second color segments (00:00-00:03, 00:03-00:06, 00:06-00:09, 00:09-00:11).

Questions for the Gemini API Team

  1. Is this a known backend regression in the processing: “agentic” media processor pipeline for gemini-4-argon on /v1beta/interactions?
  2. Has “processing”: “agentic” for video inputs been deprecated/disabled on gemini-4-argon, or is there a required schema/parameter change to re-enable processing_call steps?
  3. Could someone from the engineering team inspect Interaction ID v1_Chd3VV9aYXJUcktOR2x4TjhQdzZEUDhRZxIXd1VfWmFyVHJLTkdseE44UHc2RFA4UWc to see what internal check is throwing INVALID_ARGUMENT during background execution?

This issue has been fixed. Let us know if you still see the issue persist at your end. Thanks!

Dear Shrutimehta,

Thank you very much for your prompt response!

I can confirm that it works great; we just did a stress test: 2 rounds 4 iterations 10 threads, and it worked perfectly!

I’d be thankful if you provide me with some bonus, e.g., credits, as we spent some time debugging the issue :wink: