Agentic video processing returns 400 "extended_metadata must be a supported extension of beyond.files.ExtendedFileMetadata" on every model

Since 2026-10-21, every Interactions API request with "processing": "agentic" fails with HTTP 400, on every model that supports agentic video. The same request without "processing": "agentic" succeeds. It worked for us on 2026-10-20 at 12:10 UTC, and our code has not changed.

Error

Error code: 400 - {'error': {'message': '* GenerateContentRequest.contents[1].parts[0].function_call.parts[0].file_data.file_options.file_metadata.extended_metadata[0]: extended_metadata must be a supported extension of beyond.files.ExtendedFileMetadata\n* GenerateContentRequest.contents[2].parts[0].function_response.parts[0].file_data.file_options.file_metadata.extended_metadata[0]: extended_metadata must be a supported extension of beyond.files.ExtendedFileMetadata\n', 'code': 'invalid_request'}}

The failing function_call and function_response parts are not in our request. They look like the agent’s own video-navigation turns, which the backend then rejects when it sends them to the model.

Minimal repro (google-genai 2.22.0 and 2.32.0, Gemini Developer API key, no tools):

from google import genai

client = genai.Client(api_key="...")
interaction = client.interactions.create(
    model="gemini-3.8-flash",
    input=[
        {"type": "video", "uri": "https://www.youtube.com/watch?v=FAae20DMp8E", "processing": "agentic"},
        {"type": "text", "text": "Name the dish in one line."},
    ],
    generation_config={"max_output_tokens": 4000},
)

What we checked (2026-10-21, ~19:10 to 20:30 UTC)

Request Result
gemini-3.5-flash-lite, 3.5-flash, 3.6-flash, 3.7-flash, 3.8-flash with "processing": "agentic" 400, the error above
gemini-3-flash-preview, 3.1-flash-lite, 3.1-pro-preview with "processing": "agentic" 400 “Agentic video processing is not enabled for this model” (expected)
gemini-3.8-flash, same video, without processing :white_check_mark: completed
gemini-3.8-flash, generate_content with the YouTube URL as file_data :white_check_mark:
Text-only requests (generate_content and interactions.create) :white_check_mark:
A different YouTube video (a Short) that succeeded with agentic processing on 2026-10-20 400, the error above
google-genai 2.22.0 vs 2.32.0 same 400 on both

So the API key, model access and YouTube access are fine; only agentic processing fails, for every video and every agentic model.

Questions

  1. Is this a known regression, and is there an ETA for a fix?
  2. Is there a request-side workaround that keeps agentic processing (another input shape, parameter or endpoint)?

For now we have switched to static processing.

We’re seeing the same thing, with the JS SDK (@google/genai 2.21.0, Interactions API), on gemini-3.6-flash, 3.7-flash and 3.8-flash. Some data points that may help narrow it down:

  • Onset: the first failure we saw was on 2026-10-21 at about 14:35 UTC. About 1 in 7 requests failed for the next hour, and from about 15:30 UTC every request failed. Still failing on every request at 05:02 UTC on Oct 22.
  • Not the file source: it fails the same way with a Files API URI and with the video sent inline as base64. Inline, the error names inline_data instead of file_data. With your YouTube result, that covers all three ways of passing the video.
  • Not the request settings: it fails with no generation_config, no resolution and a one-line prompt. We send no temperature, top_p, top_k or thinking_budget.
  • Same clips: 60-second clips that succeeded with agentic on the morning of Oct 21 now fail. A retry fails the same way, about 2 seconds in.
  • Static works on the same clips, which is our fallback too, but it costs us about 7 times the input tokens.

Thanks for flagging, we’re looking into this.

We’ve rolled out a fix. Let us know if you see the issue persist at your end. Thanks!