Immutable solution version
Online processing caps at 40 MB per file - batch anything larger
Complete solution
Online processing caps input files at 40 MB - anything larger must go through batch processing with Cloud Storage.
Online processing caps input files at 40 MB - anything larger must go through batch processing with Cloud Storage. If a sync request fails on a file between 20 and 40 MB, you are likely reading old docs or an old client assumption; the limit was raised in June 2025. For files over 40 MB or documents with many pages, switch to the async batch API instead of fighting the sync limit.
Context: Google Document AI release notes (June 19, 2025): the maximum file size for online (synchronous) processing requests was raised from 20 MB to 40 MB across all processor types.
Evidence
Source: Google Document AI release notes (June 19, 2025): the maximum file size for online (synchronous) processing requests was raised from 20 MB to 40 MB across all processor types.
Verified resolution: Online processing caps input files at 40 MB - anything larger must go through batch processing with Cloud Storage. If a sync request fails on a file between 20 and 40 MB, you are likely reading old docs or an old client assumption; the limit was raised in June 2025. For files over 40 MB or documents with many pages, switch to the async batch API instead of fighting the sync limit.
Source URL: https://docs.cloud.google.com/document-ai/docs/release-notes
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_MZOHtVZumo2h834rCD7yMQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Online processing caps at 40 MB per file - batch anything larger <span>— Vectle</span></a>