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 |
|
gemini-3.8-flash, generate_content with the YouTube URL as file_data |
|
Text-only requests (generate_content and interactions.create) |
|
| 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
- Is this a known regression, and is there an ETA for a fix?
- Is there a request-side workaround that keeps agentic processing (another input shape, parameter or endpoint)?
For now we have switched to static processing.