Two Weeks of Classifying Half a Year of App Store Reviews with Gemini File API
I ran half a year of App Store Connect reviews through the Gemini File API for two weeks straight, asking it to classify and summarize them. Here is what worked, where Batch Mode fit better, and which sharp edges took me a few days to round off.
Why Your Gemini File URI Stops Working the Next Day — the 48-Hour Window and the "May Not Exist" Error
Image or video calls that worked yesterday start failing the morning after a restart. Usually it is the File API's 48-hour storage window, but a key from another project or a file still processing produces the same message. How to check file state, a troubleshooting table, and how to choose between inline data, the File API, Cloud Storage registration and external URLs, checked against the official docs as of December 2026.
Why Gemini API Throws 'Unsupported MIME type' and How to Fix It
The 'Unsupported MIME type' error from the Gemini API has three distinct causes: a misspelled MIME string, an octet-stream upload, and a genuinely unsupported format. Here is how to tell them apart with code that actually works.
Gemini File API Stuck in PROCESSING State: Timeout Handling and Retry Design
Fix Gemini File API files stuck in PROCESSING state. Learn proper polling with exponential backoff, timeout design, and cleanup strategies with working Python code examples.
Building an AI Document Assistant with Gemini 2.5 Pro — Analyze PDFs, Images & Text to Auto-Generate Markdown Reports
Learn how to use Gemini 2.5 Pro's File API and multimodal capabilities to batch-analyze PDFs, images, and text files, automatically generating structured Markdown reports. Includes complete, runnable Python code.
How to Analyze and Summarize PDFs with Gemini API — A Practical Python Guide
Learn how to extract text, summarize, and run Q&A on PDF files using the Gemini API in Python. A step-by-step guide covering File API uploads, multimodal processing, and structured data extraction.