Why an Upload Portal Rejects Your PDF, and How to Fix It

Visa forms, job sites, tax and court portals turn PDFs away for a handful of reasons. Read the error, match it to the cause, fix things in the right order and upload once.

The application closes at midnight, and the portal has just refused your PDF with a one-line message like "Invalid file" or "Upload failed". The file opens perfectly on your laptop, which makes the rejection feel random. It almost never is. Upload systems check a short list of things before they accept a document, and the wording of the error usually points at which check you failed.

Match the message to the cause

The portal says something like What it usually means What fixes it
"File exceeds 2 MB", "File too large" The file is over the size cap Compress PDF with a custom target size
"Unsupported PDF version", "Must be PDF 1.4" The file declares a newer version than the system reads Change PDF Version
"Encrypted file", "Password protected" The system can't open or process a locked file Unlock PDF or Remove Restrictions
"Corrupt" or "Invalid PDF", yet it opens for you Structural errors your viewer quietly tolerates Repair PDF
"Pages must be A4" or "Letter size only" Mixed or wrong page sizes, common with phone scans Resize PDF
"File must be PDF/A" The archive format is required, often by courts and tenders PDF to PDF/A
"Document must be text-searchable" The scan is only pictures of pages OCR PDF

If the message is vague, work down the table in the order given under "Fix things in this order" below. Each step rules out one cause.

Size caps: aim below the number, not at it

A limit of 2 MB is not always 2,000,000 bytes. Some systems count a megabyte as 1,048,576 bytes, and some add up every file in the application rather than checking each one. A file that lands exactly on the limit can still be refused, so leave yourself a margin of around a tenth.

Compress PDF has three presets. Less keeps images closest to the original, Recommended suits most documents, and Extreme gives the smallest file for something that will only be read on screen. When a portal states a hard number, type a custom size instead of guessing with presets. Custom size is a Pro feature; Free accounts get 10 uses a day across the Pro features, and this is one of them.

Two things change how far a file will shrink. A PDF that is mostly text, or one that was compressed before, has very little left to remove. A colour scan, on the other hand, often gets much smaller after Grayscale PDF, because a grey image holds less data. Do that first, then compress. The settings for common limits like 100 KB, 500 KB and 1 MB are in the target size guide.

Version errors are only a number

Every PDF declares a version, such as 1.4, 1.7 or 2.0. Older document systems refuse anything newer than they were built for, even when the contents would display fine. Changing the version rewrites only that declaration and leaves the content untouched: no image is recompressed, no font swapped, no form field lost.

If the instructions don't name a version, try 1.7 first and 1.4 for older systems. A version change is not the same as PDF/A, which is a full conversion with its own rules. The guide to changing a PDF's version covers which version suits which kind of system.

Locked files come in two kinds

A file can be locked so that it needs a password to open, or so that it opens but blocks printing, copying or editing. Portals tend to reject both, because the first can't be read and the second often can't be processed or stamped on their side.

  • Needs a password to open: Unlock PDF removes it, but only with the correct password. It doesn't guess or crack anything.
  • Opens, but printing or copying is blocked: Remove Restrictions lifts those permission flags without needing the owner password.

"Corrupt", although it opens for you

Desktop viewers are forgiving. They paper over a damaged cross-reference table or a broken page tree and show you the document anyway. Upload systems are strict, and they refuse the same file. Repair PDF rebuilds the internal structure and keeps the text and images that can be read. If the file was cut off during a download, only the pages that arrived can be recovered. When a repaired file is still refused, the version is the next thing to check.

Page size, scans and PDF/A

Phone scans rarely come out at a standard paper size, and a portal that demands A4 will reject them. Resize PDF scales each page evenly to A4, Letter or Legal without stretching anything. Choose Only different to fix just the pages that don't match. It runs in your browser, so the file isn't uploaded to do it.

When a system wants searchable text, run OCR PDF. It adds an invisible text layer over the page images and supports fifteen languages, including Hindi, Arabic and Chinese. One warning matters for official forms: adding that layer changes the file, so any digital signature already on it will stop validating.

If the requirement is simply "PDF/A", choose PDF/A-2b, the widely accepted option. A scan converts to a valid PDF/A-b file, but it stays pictures of text, so OCR it first if searchable text is also required.

Fix things in this order

Some fixes undo others or make the file bigger, so the order matters when a document needs more than one.

  1. Unlock or remove restrictions. Most other tools won't work on an encrypted file.
  2. Repair, if the file was reported as damaged.
  3. Resize the pages to the required paper size.
  4. OCR, if searchable text is required.
  5. Convert to PDF/A, if asked. Fonts are embedded during conversion, which adds weight.
  6. Compress to get under the size cap. Doing this last means nothing afterwards adds the bytes back.
  7. Change the version, if the portal names one. It's lossless, so it is safe as the final touch.

Anything that needs a signature should be signed after all of this, because OCR and the other changes would break a digital signature added earlier.

Before you press upload

  • Open the finished file once and scroll to the last page. A repair or conversion that dropped a page is far easier to spot now than after the deadline.
  • Rename the file with plain letters, numbers and hyphens. Some systems refuse names with spaces, accents or symbols.
  • If the form asks for one document but you have several, combine them with Merge PDF before compressing, so the size check applies to the file you actually send.

Keep reading

How-To

How to Process Many PDFs at Once

A month of invoices to password-protect, a folder of scans to flatten, fifty statements to unlock. Which tools take a whole batch, what every file shares, and when a workflow suits better.

November 17, 2026 · 5 min read
How-To

How to Compress a PDF to 100 KB, 500 KB, 1 MB or Any Size

Hit an exact PDF size limit for a form, portal or email. Which target is realistic for your file, the settings to use for 100 KB, 500 KB, 1 MB and 5 MB, and what to do when it won't go lower.

November 16, 2026 · 5 min read