◉GEMINI LABJP
●2.5 ROUTE — From today, 12/1, calls to gemini-2.5-pro and 2.5-flash are rerouted to newer models automatically●CLI 0.71.1 — Gemini CLI stable is still v0.71.1, with a 0.73 nightly published on 11/30●INTRO END — Introductory pricing for 3.8, 3.7 and 3.6 Flash ends on 12/31. 30 days left●VERTEX — Developers are asking how to run Gemini CLI with Vertex AI credentials●NEON — Gemini 4 Neon became generally available on 11/18 (paid tier only)●IMAGE TEXT — A new test shows text inside an image can sway Gemini's answer●2.5 ROUTE — From today, 12/1, calls to gemini-2.5-pro and 2.5-flash are rerouted to newer models automatically●CLI 0.71.1 — Gemini CLI stable is still v0.71.1, with a 0.73 nightly published on 11/30●INTRO END — Introductory pricing for 3.8, 3.7 and 3.6 Flash ends on 12/31. 30 days left●VERTEX — Developers are asking how to run Gemini CLI with Vertex AI credentials●NEON — Gemini 4 Neon became generally available on 11/18 (paid tier only)●IMAGE TEXT — A new test shows text inside an image can sway Gemini's answer
TAG

Troubleshooting

108 articles
← Back to all tags
Related:
gemini-api51Gemini API25python22error15Gemini12fix10gemini8Python7streaming6google-genai5function-calling5thinking5
◉ Gemini Basics/2026-10-18Beginner

Bought Credits but the Balance Still Says 0 — Which Page to Check First for the Gemini API

You bought Gemini API prepaid credits, yet the balance shows 0 and requests still fail with 402. Here is the order I use to tell a short delay from a real billing problem.

◈ Gemini API/2026-10-16Intermediate

The Day /models Returns 200 but generateContent Returns 403 — Decide Your Triage Order Before It Happens

A triage order for the case where listing models succeeds with 200 but generation fails with 403 permission_denied. Includes a small diagnostic script that checks key, project, and billing in turn, why you should not retry a 403, and how to assemble what support needs.

◈ Gemini API/2026-10-14Intermediate

When Your config Raises "Extra inputs are not permitted", Check the Spelling of Every Key

If a google-genai call fails with a pydantic ValidationError (extra_forbidden) the moment you pass a config, it is almost always a one-letter typo. Here is the output I reproduced, a small function that checks keys before the call, and how to tell why response.text came back as None.

◉ Gemini Basics/2026-10-08Beginner

Free Tier Shows Up, but You Get a 429 With `limit: 0` — What to Check in the First Hour of a New Gemini API Project

A new Gemini API project says Free tier, yet the very first call returns 429 with limit: 0. Here is the order I check things in, how to read the error body, and a 40-line script that tests models one by one.

⟐ Gemini Dev/2026-09-29Intermediate

Gemini CLI Kept Saying 'API key not valid' After I Gave It a New Key — It Was Reading an Old One From a Third Place

I switched Gemini CLI from Google login to a paid API key, and the 400 'API key not valid' error would not go away. The key can come from four places — the shell, a project .env, a home .env, and settings.json — and a short script that lights them up in order narrows the cause to one.

◧ Workspace/2026-09-16Beginner

When the Sheets AI Function Won't Generate, Suspect the File's Location Before the Limit

If Generate and insert stays greyed out in Google Sheets, don't assume you hit the 24-hour cap. Spreadsheets opened through Dropbox, Box or Egnyte can't generate at all. Here's the order I check things in now.

◉ Gemini Basics/2026-09-13Beginner

I edited the Drive doc, asked Gemini again, and it quoted the old sentence back

When Gemini answers from an outdated version of a Drive file, the file usually isn't the problem — the conversation is. Here's how sources stay attached for the whole conversation, why you can't remove one mid-thread, and what to do about partial reads.

◧ Workspace/2026-09-01Beginner

When a New Gemini Feature Hasn't Reached Your Workspace, Here's How to Tell Waiting From Broken

A step-by-step way to decide whether a missing Gemini feature in Google Workspace is still rolling out or actually misconfigured, using release tracks and rollout pace, plus a small Apps Script ledger that does the counting for you.

◈ Gemini API/2026-08-17Intermediate

After generated_images Disappeared: Three Branches Between the Response and a Saved File

Once you switch to generate_content, the line that breaks is usually the save. Here are the three branches on the response side - zero image parts, a shifting image count, and picking the extension - plus a receiver function you can drop in.

⟐ Gemini Dev/2026-05-23Intermediate

LM Studio 'Failed to Load Model' for Gemma 4 MLX — A 4-Bucket Diagnostic for Apple Silicon

When LM Studio refuses to load mlx-community/gemma-4-26b-a4b-it-4bit with a red 'Failed to load model' dialog, the cause is almost always one of four buckets. Here's how to triage them on an Apple Silicon Mac in under thirty minutes.

◈ Gemini API/2026-05-21Intermediate

When responseSchema enum returns unexpected values — debugging Gemini API

Why Gemini API sometimes returns values outside the enum in responseSchema, with a script to measure the leak rate on your own data and three layered fixes: prompt definitions, one capped retry, and an SDK version check.

◈ Gemini API/2026-05-20Intermediate

Gemini API Streaming Works Locally but Buffers in Production — Fixing Cloud Run, Vercel, and Cloudflare

Streaming responses flow token-by-token in local dev, then arrive as one big blob in production. A walkthrough of the five most common causes — Cloud Run timeouts, Vercel runtime mismatch, Cloudflare Workers proxying, server-side text() pitfalls, and client-side decoding — with the fixes I use on my own sites.