Gemini can reject a file because of its size, the number of files, saved Gemini activity storage, a rolling usage limit, a Workspace policy, or the amount of content the model must analyze. Read the exact message before deleting data or changing the file.
Official Links#
- Open Gemini
- Upload and analyze files in Gemini Apps
- Gemini Apps limits and upgrades
- Gemini Apps activity
Google changes limits and plan features. Check the official pages for the current file sizes, durations, and allowances.
Identify the Failure#
| Message or symptom | Check first |
|---|---|
| Delete data to upload file | Gemini Apps activity storage |
| Reached limit for chats with files | Rolling usage allowance |
| Uploads may be too large for best results | Context size and document length |
| Failed to analyze file | File integrity, supported format, and a fresh upload |
| Add from Drive is unavailable | Sign-in, Keep Activity, connected Workspace, or admin policy |
| File button is missing | Sign-in state, account type, feature availability, or admin policy |
Fix “Delete Data to Upload File”#
Gemini’s saved activity storage is separate from Google Drive storage.
- Open Gemini.
- Open Settings and help > Activity.
- Review chats and Gems that contain large uploaded files.
- Delete only the activity you no longer need.
- Wait several minutes for storage to update.
- Retry one small file.
For a work or school account, an administrator may control activity deletion. Contact the administrator instead of changing a personal Google setting.
Fix a Rolling File Limit#
If Gemini says you reached the limit for chats with files, wait for the rolling allowance to reset. Repeatedly creating new chats does not necessarily bypass the limit.
Confirm that:
- you are using the intended Google account;
- the expected Google AI plan is active;
- the file is not being submitted repeatedly;
- another chat with many files is not still processing.
Check File Size and Format#
Use the official upload guide for current limits. Then create a controlled copy:
- Open the file in its normal application.
- Save or export a new copy.
- Use a short filename without unusual symbols.
- Remove encryption when you have permission.
- Split a large document by chapter or task.
- Remove unused spreadsheet sheets and empty formatted rows.
- Put only supported contents in a ZIP.
For a code folder or repository, remove build output, dependency folders, caches, secrets, and large binary files before uploading.
Fix Drive and Workspace Access#
Adding a file from Drive can require Gemini Apps activity to be enabled and Google Workspace to be connected. Work or school administrators can also disable connected apps or Gemini features.
Check:
- You are signed in.
- Keep Activity is enabled when the feature requires it.
- Google Workspace is connected to Gemini Apps.
- The file belongs to an account you can access.
- Your organization allows Gemini and connected apps.
Do not copy restricted company or school files into a personal account to bypass policy.
When the File Uploads but the Answer Misses Details#
The problem may be context size rather than upload transport. A model can accept a file but still miss relationships spread across a very long document.
Improve the task:
- upload fewer files at once;
- split the file into logical sections;
- name the pages, sheet, table, or folder to inspect;
- ask one question at a time;
- request a list of sections Gemini could read;
- verify the answer against the source.
For scanned documents, run optical character recognition in an approved tool before upload.
Rule Out Browser and Network Problems#
- Refresh Gemini.
- Try a private window.
- Disable extensions for one test.
- Turn off VPN or proxy software.
- Try another supported browser.
- Try another network or the mobile app.
If the small test file works in a private window, clear Gemini site data or isolate the conflicting extension.
Verify the Fix#
- Upload one small supported file.
- Ask Gemini to identify a known heading or cell.
- Upload the repaired original file.
- Ask one narrow question with a verifiable answer.
- Confirm that another file can be added without the same error.
The issue is resolved when the upload completes and Gemini can retrieve a known fact from the file. A completed upload with an unverifiable answer is not enough.
