◉GEMINI LABJP
●ARGON — gemini-4-argon is generally available as of 10/13, aimed at complex coding, agents, math and science●DEEP RES — deep-research-pro-preview-12-2025 shuts down 10/23, 6 days left. Move to deep-research-preview-04-2026●NANO — gemini-nano-banana-2.1 is GA (10/06). gemini-3.1-flash-image is deprecated with no shutdown date yet●MCP — One write-up cut an 85,000-token tool result to 310 tokens by wrapping it in an ADK FunctionTool●FLASH — gemini-3.7-flash and 3.5-flash now route automatically to newer Flash models (10/08)●NEW — Stop Re-Reading Every Crash Report: Gre…●ARGON — gemini-4-argon is generally available as of 10/13, aimed at complex coding, agents, math and science●DEEP RES — deep-research-pro-preview-12-2025 shuts down 10/23, 6 days left. Move to deep-research-preview-04-2026●NANO — gemini-nano-banana-2.1 is GA (10/06). gemini-3.1-flash-image is deprecated with no shutdown date yet●MCP — One write-up cut an 85,000-token tool result to 310 tokens by wrapping it in an ADK FunctionTool●FLASH — gemini-3.7-flash and 3.5-flash now route automatically to newer Flash models (10/08)●NEW — Stop Re-Reading Every Crash Report: Gre…
TAG

error

15 articles
← Back to all tags
Related:
troubleshooting15gemini-api11fix9python5Gemini API2gemini2gemini-2.5-pro2authentication2Embedding1RAG1Python1indie developer1
◈ Gemini API/2026-05-15Intermediate

Three Places Gemini API Embedding Broke on Me — and What Actually Fixed Them

Notes from wiring Gemini API Embedding into an auto-categorization pipeline: INVALID_ARGUMENT from dimension mismatches, 429 rate limits that lost 400 items of work, and weak retrieval quality — plus normalization, checkpointing, and a recall@5 harness that made improvements measurable.

◈ Gemini API/2026-04-09Intermediate

Classify Gemini API Errors by Status — Handling 429, SAFETY, and Token Limits in Production

Sort Gemini API failures along two axes — HTTP status and finish_reason — so you know instantly whether to wait or to fix. Covers the three distinct 429 limits, model-deprecation fallbacks, and how the exception hierarchy changes after moving to the google-genai SDK.

◈ Gemini API/2026-05-31Beginner

Why Gemini API Throws 'Unsupported MIME type' and How to Fix It

The 'Unsupported MIME type' error from the Gemini API has three distinct causes: a misspelled MIME string, an octet-stream upload, and a genuinely unsupported format. Here is how to tell them apart with code that actually works.

◈ Gemini API/2026-05-30Intermediate

Why Gemini 2.5 Pro Rejects thinkingBudget: 0 (and How to Fix It)

Setting thinkingBudget to 0 on Gemini 2.5 Pro returns a 400 INVALID_ARGUMENT error. Here is why the per-model thinking budget ranges differ, how to minimize thinking on Pro the right way, and when to switch to Flash, with Python and JavaScript examples.

◉ Gemini Basics/2026-05-02Beginner

What to Do When Gemini Shows 'This Model Is Overloaded Right Now'

Seeing the 'This model is overloaded' message in Gemini? Learn why it happens, what you can do right now, and how to handle it gracefully in API applications with retry logic.

◈ Gemini API/2026-04-16Intermediate

Gemini API System Instructions Not Working — 4 Common Causes and How to Fix Them

Set up System Instructions but the model keeps ignoring them? This guide covers the 4 most common reasons why system prompts fail in Gemini API — from wrong parameter placement to multi-turn drift — with working code examples.

◈ Gemini API/2026-04-14Intermediate

Veo API Not Working? Common Errors and How to Fix Them

Troubleshoot common Veo API errors including polling implementation mistakes, safety filter rejections, quota exceeded, and video file download failures. With working Python code examples.

◈ Gemini API/2026-04-12Beginner

Fixing Gemini API 'Model Not Found' Errors: A Complete 2026 Guide

Getting a 'model not found' or INVALID_ARGUMENT error in the Gemini API? This guide explains every cause and fix, including correct model names for 2026 and how to use generativelanguage.googleapis.com properly.

◈ Gemini API/2026-04-10Intermediate

How to Fix Gemini API JSON and Structured Output Errors

Troubleshoot Gemini API JSON Mode and Structured Output errors including malformed JSON, schema violations, and truncated responses with step-by-step solutions and code examples.

◈ Gemini API/2026-04-09Intermediate

Vertex AI + Gemini Authentication Error Fix: Service Account & ADC Troubleshooting Guide

Struggling with Vertex AI Gemini authentication errors? This guide covers the most common causes—service account misconfiguration and ADC setup issues—with step-by-step solutions to get you unblocked fast.

◈ Gemini API/2026-04-08Intermediate

Gemini API 503 Service Unavailable Error: Causes, Fix, and Retry Implementation

Learn why Gemini API returns 503 Service Unavailable errors and how to fix them with exponential backoff retry logic. Includes ready-to-use Python and JavaScript code examples.

◈ Gemini API/2026-04-07Intermediate

Gemini API SDK Version Mismatch & Install Errors: How to Fix Them

A step-by-step troubleshooting guide for Gemini API SDK install failures and version mismatch errors in Python and Node.js projects.