Gemini API Quota Exceeded in Apps Script: Backoff Plan
Fix gemini app script quota exceeded errors in Apps Script with practical checks for API limits, retries, batching, and the right Gemini project.

If NotebookLM stops accepting sources when you try to add 300+ work documents, you have hit a per-notebook source cap. The most common cause is treating that cap as an upload or storage problem; adding more files to the same notebook will not bypass it.
NotebookLM limits how many sources a notebook can contain, and the cap can depend on your account or plan and current product version. A source is an item in the notebook, not necessarily one page or one document: a combined file may contain many documents, while separate uploads each count as sources.
| Likely cause | What you see | Quick test |
|---|---|---|
| Notebook source cap | New source cannot be added to this notebook | Create a fresh notebook and add one small test file |
| Unsupported or oversized file | Only one particular upload fails | Try a supported file type or a smaller copy |
| Account or plan limit | Several notebooks show a similar restriction | Check account plan details and the limit shown in NotebookLM |
Open NotebookLM, select the profile or account menu, and review your plan details and any usage or limit information shown there. Then open the affected notebook and try adding one small, supported source. If NotebookLM reports that the notebook has reached its source limit, the cap is the issue; if the test source fails for a different reason, note that message before changing your files.
Create separate notebooks for meaningful work areas, such as a project, client, policy set, or quarter. Use New notebook from the NotebookLM home screen, name it clearly, and add only the sources needed for that topic. Confirm the fix by opening each notebook and checking that its sources are available to chat; ask a question that requires one of the newly added documents.
For stable reference material, merge related text documents into a searchable PDF or a single supported document before uploading. Add a clear title and document headings between sections so NotebookLM can distinguish the content. Upload the combined file and confirm that a question about a section returns the right passage. Keep a separate copy of the originals, because one large source can be less convenient to cite, replace, or update.
Make a concise index document with each document's title, date, topic, and a short summary, then add it to the relevant notebook. If the full collection does not fit, the index helps you identify which subset to add or combine. Test it by asking NotebookLM to locate the document for a specific policy or project; verify the answer against the source before relying on it.
In the notebook's source panel, review old drafts, duplicates, and material outside the current task. Use the source's options menu to remove items you can safely exclude; menu wording may vary on current versions. Recheck the source count or try adding the needed file. Removing a source only helps if the notebook is at its cap, and it may remove useful context from later answers.
If one file fails while other sources still add successfully, check its format, size, access permissions, and whether the file is still available at its original location. Try a smaller supported copy or upload a different file of the same type. A successful test points to the original file or its access settings, rather than the notebook source limit.
If your account's current limit is too low for the way your team works, open NotebookLM's account or plan area and compare the limits shown for available options. Limits and features can change, so use the figures displayed for your account. After any plan change, reopen NotebookLM and check whether the notebook accepts another source before reorganizing the full library.
The number of sources allowed in a notebook depends on the account and current product limits. Check NotebookLM's account or plan information and the message shown when adding a source instead of relying on a number from an older guide.
Only if the source count fits the limit currently available to your account. If it does not, split the documents into topic-based notebooks or combine closely related material into fewer supported files.
It can reduce the number of separate sources because a combined file may count as one source. It does not guarantee that every document will fit or remain easy to cite; preserve clear headings and test retrieval before depending on the combined file.
For a 300+ document library, organize focused notebooks first, then combine stable reference documents where that makes sense. If the limit still blocks your workflow, capture the exact message and check NotebookLM's current account guidance or contact its support team.
Photo: Shixart1985 / CC BY 2.0 (Wikimedia Commons)
Fix gemini app script quota exceeded errors in Apps Script with practical checks for API limits, retries, batching, and the right Gemini project.
ChatGPT export conversation missing? Learn what the archive includes, why messages may be absent, and how to check account, chat history, and export settings.
Copilot Excel pivot table help: fix source data, check Copilot access, and build a reliable PivotTable manually when AI can’t create it.
Fix teams transcript not showing issues by checking meeting policy, organizer controls, licensing, transcript access, and where Teams stores completed transcripts.
Fix whisper srt timing off by checking audio alignment, transcript edits, export settings, and manual SRT timestamps so subtitles stay in sync.
Fix chatgpt pdf table extraction wrong results with six practical prompts, source checks, and export steps for cleaner tables in ChatGPT and other AI assistants.
Fix chatgpt canvas not saving by checking save status, connection, browser cache, extensions, and workspace access, then recover or copy your latest edits safely.
Fix gemini deep research not available by checking your account type, plan, region, age eligibility, administrator controls, and temporary usage limits.
Fix gemini in google sheets not showing by checking Workspace eligibility, admin controls, smart features, file format, account selection, and browser issues.
Hit the notebooklm source limit? Learn how to combine files, split notebooks by project, and check current limits so you can use 300+ work documents effectively.