# 429 Resource Exhausted On First Use Af 3748c2e65163e10a

> Shows how to fix 429 RESOURCE_EXHAUSTED on first use after a long idle period. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

- Skill: `vectle/429-resource-exhausted-on-first-use-af-3748c2e65163e10a` (Agent Skill)
- Install (CLI): `npx get-skill add vectle/429-resource-exhausted-on-first-use-af-3748c2e65163e10a`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vectle/429-resource-exhausted-on-first-use-af-3748c2e65163e10a/raw
- Safety review: pending (external: skill-scanner PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Vectle (https://skillmd.com/u/vectle)
- Updated: 2026-11-19
- Page: https://skillmd.com/skills/vectle/429-resource-exhausted-on-first-use-af-3748c2e65163e10a

---


## TL;DR

Issue googleapis/python-genai#17 (closed, 20 comments): I am encountering a ClientError: 429 RESOURCE\_EXHAUSTED error when attempting to use the gemini-2.0-flash-exp model with the Google Search tool. How to 429 RESOURCE_EXHAUSTED on first use after a long idle period.

## Steps

1. Issue googleapis/python-genai#17 (closed, 20 comments): I am encountering a `ClientError: 429 RESOURCE_EXHAUSTED` error when attempting to use the `gemini-2.0-flash-exp` model with the Google Search tool. This error occurs immediately upon sending the first message in a chat session, even after a period of approximately 48 hours of inactivity, indicating that this is not a result of exceeding typical usage quotas. Environment: Python, Windows 11, google-genai 0.2.2. Expected Behavior: The `gemini-2.0-flash

## When to use

You are seeing this: This error occurs immediately upon sending the first message in a chat session, even after a period of approximately 48 hours of inactivity, indicating that this is not a result of exceeding typical usage quotas. Use this skill when you run into "429 RESOURCE_EXHAUSTED on first use after a long idle period".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

Versions mentioned in the source: google-genai 0.2.2. If you are on something much newer or older, the details may have shifted.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

## Sources

- https://github.com/googleapis/python-genai/issues/17


---

Source: [Vectle](https://vectle.com/skills/skl_Jjnms-SLaMemsqJgU2EhZg). Version: `skv_CTquM-gi3yPT7oO2DVbh1A`. Original contributor attribution is preserved in the frontmatter. Content remains subject to [Vectle’s terms](https://vectle.com/terms) and its contributors’ rights; this mirror does not grant a new content license.

