You are receiving a different error than an expired token. Your error is because your input is too large. This is either because what you are pasting into the prompt is too large or your context history is too big. Read through this thread to find techniques on clearing your context if it’s not your prompt size.
jamesor
59
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Firebase Studio Token Exceeding in Prototyper | 36 | 1017 | May 24, 2025 | |
| Help Needed: "GoogleGenerativeAI Error" - Token Count Exceeds Limit | 9 | 552 | June 15, 2025 | |
| Solved: [GoogleGenerativeAI Error]: The input token count (xxxxx) exceeds the maximum number of tokens allowed (1048575). Unofficial Solution | 13 | 553 | June 3, 2026 | |
| Prototyper Was a Gamechanger — But Context Loss Is a Dealbreaker | 13 | 487 | May 20, 2025 | |
| The Gemini is not writing new codes | 11 | 354 | May 26, 2025 |