Hi @Sai_Deepika_K, thanks for the fix.
I’d like to clarify the size limit, because it differs from the official documentation.
Your reply says external URL fetching works “for files up to 15 MB”, while the File input methods page (last updated 2026-09-23) lists 100 MB per
request/payload for External URLs and does not mention 15 MB.
Could you clarify the following?
- Which limit is correct for external URLs on Gemini 3.5+ — 15 MB or 100 MB?
- Or do both apply — i.e. 100 MB for the total of all files in one request, and 15 MB for each individual file?
- Has the 15 MB per-file limit always existed, or was it introduced with the recent fix for the 403 PERMISSION_DENIED issue?
- Does the limit differ by MIME type (e.g.
application/pdfvsimage/*) or by model (e.g.gemini-3-flash-previewvs Gemini 3.5+)? - What error (HTTP status / error status) is returned when a file exceeds the limit? We would like to handle it explicitly and fall back to the Files API.
In any case, it would be very helpful if the documentation could be updated to match the actual behavior, since we size our upload limits based on it.
Thanks!