Prompt Buddy logoPrompt Buddy

google · Google AI Docs

Gemini API Troubleshooting guide

A collection of common error scenarios, troubleshooting steps, and diagnostic paths for resolving issues encountered while using the Gemini API.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Gemini API Troubleshooting guide

A collection of common error scenarios, troubleshooting steps, and diagnostic paths for resolving issues encountered while using the Gemini API.

When To Use

Use when you encounter specific error codes, unexpected API behaviors, or connectivity issues while implementing the Gemini API.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/gemini-api-troubleshooting-guide-workflow-guide.mdA guide for diagnosing and resolving common Gemini API backend service errors, model parameter issues, and latency concerns.Questions about a guide for diagnosing and resolving common Gemini API backend service errors, model parameter issues, and latency co...
examples/gemini-api-troubleshooting-guide-gemini-api-leaked-key-error-message.textA text representation of the error message received when a Gemini API key has been reported as leaked.Exact payloads, commands, or snippets shown in A text representation of the error message received when a Gemini API key has been reported as leaked.

What This Skill Covers

  • Use this guide to help you diagnose and resolve common issues that arise when you call the Gemini API. You may encounter issues from either the Gemini API ba...
  • Main sections: Gemini API backend service error codes, Check your API calls for model parameter errors, Check if you have the right model, Higher latency or token usage with 2.5 models, Safety issues.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://ai.google.dev/gemini-api/docs/troubleshooting