RateLimitError: Error code: 429 - {'error': {'message': 'Project environment storage quota exceeded.', 'code': 'too_many_requests'}}
エラーが出たためメモ
TL;DR
- 環境をすべて削除しよう
!pip install -U google.genaiでアップグレードしないと動かないかも(Google Colabの場合)
from google import genai
client = genai.Client()
for env in client.environments.list().environments:
client.environments.delete(env.id)
interaction = client.interactions.create(
agent="antigravity-preview-09-2026",
input="Read Hacker News, summarize the top 10 stories, and save the results as a PDF.",
environment="remote",
)
print(interaction.output_text)
公式ドキュメントのままだと動かない
