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 you see chatgpt pdf table extraction wrong, rows may be shifted, columns merged, or values missing from the answer. The most common cause is that the PDF stores the table as positioned text or a scanned image, rather than as a clean, structured table the assistant can read.
PDFs describe how text looks on a page; they do not always preserve the row and column relationships that a spreadsheet or database has. When an AI assistant extracts a table, it may infer those relationships from layout, which gets harder with multi-line cells, merged headers, or low-quality scans.
| Likely cause | Typical symptom | Quick test |
|---|---|---|
| Image-only scan | Text is missing or garbled | Try selecting and copying a cell in a PDF viewer |
| Multi-line or merged cells | Values appear under the wrong heading | Compare one row with the page image |
| Long document context | Later rows are skipped | Ask for a small page range only |
Open the file in a PDF viewer and drag across a table cell, then copy and paste it into a plain-text editor. If the text is absent or scrambled, the assistant has little reliable structure to work from. Use a searchable PDF created with OCR, or run OCR in your organization’s approved PDF tool, then verify a few extracted cells against the page before uploading again.
Instead of asking for every table in a long document, name the page or page range shown by the PDF viewer’s page counter. Try: Extract only the table on PDF page 4. Do not use information from other pages. Preserve the printed row order. If the result now includes all rows, context or document length was likely contributing; if not, inspect the page layout or source text.
State the exact headers you expect and how to handle special cases. For example: Return columns in this order: Item, Date, Amount. Keep each printed row together. Preserve blank cells as empty. Do not move values between rows. If a cell is unreadable, write "unclear" and identify its page location. Confirm the fix by checking that the output has the requested headers and that blank or unreadable cells are not silently guessed.
Prompts that ask for a summary or analysis can encourage an assistant to omit repeated values or normalize the data. First ask: Transcribe the table as printed. Do not summarize, calculate, correct, or infer missing values. Compare the transcription row by row with the PDF. Only after it matches should you ask for analysis in a separate prompt.
Ask the assistant to include a page number and a short identifying label for each extracted row, such as the row’s first-column value. Example: For each row, include the PDF page number and the first-column label so I can verify it. If you cannot locate a row, say so. Check those labels and page references against the PDF. Treat them as navigation aids, not proof; verify important values in the source.
For a dense, multi-page, or irregular table, request one page or a small group of rows at a time, using the same headers and rules in every prompt. Then combine the verified output in a spreadsheet, preserving page and row labels. This is often more reliable than asking an assistant to reconcile a large table in one pass. If the same rows remain misaligned, export the PDF table with an approved PDF-to-spreadsheet tool and compare the export with the original page.
The PDF may store text as separate positioned blocks without explicit column relationships. Multi-line cells, merged headers, or weak OCR can make the layout ambiguous. Ask for a small page range and specify the exact column order, then compare the result with the page.
It may be able to read a scan, depending on the file and the assistant’s current capabilities, but OCR can misread characters and boundaries. Create a searchable PDF with an approved OCR tool, then check representative cells against the scan before relying on the extraction.
Ask for a literal transcription, list the expected headers in order, and instruct the assistant to preserve blank cells and flag unreadable text instead of guessing. Limit the request to the relevant page or rows, then verify every row against the source.
When chatgpt pdf table extraction wrong persists, use the PDF page as the source of truth and extract smaller sections with explicit row and column rules. If the result still fails verification, use an OCR or PDF-to-spreadsheet tool approved for your workplace and check the exported data before using it.
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.