PDF or Photo Upload Rejected? Every Error Message and How to Fix It
You fill in every field, pick your photo, press upload, and the form says no. Sometimes it says “file size too large.” Sometimes it says “invalid format.” Sometimes it says nothing at all.
The good news is that almost every rejection comes from one of nine causes. Each one has a clear fix that takes a minute once you know what the portal really wants.
This guide goes through every common error message, explains what it actually means, and shows the fastest fix. Where it helps, we tested the fix ourselves and share the numbers.
Quick fix table
| Error you see | What it really means | Fastest fix |
|---|---|---|
| File size exceeds the limit | Your file is above the maximum | Compress to about 5 percent under the limit |
| File size should be between 10KB and 20KB | Your file is too small or too big | Set both a minimum and a maximum |
| Invalid file format | The portal wants another type | Convert the file, do not rename it |
| File not supported (iPhone photo) | The photo is HEIC, not JPG | Switch the camera to Most Compatible |
| Invalid dimensions | Width or height in pixels is wrong | Resize to the exact pixels |
| Upload failed with no reason | Often a file name or password problem | Rename simply, remove the password |
| Shows under the limit but still rejected | The portal counts KB differently | Aim below the limit by a margin |
| PDF not accepted, JPG required | Wrong document type | Convert PDF to JPG |
| Rejected later after submission | A person found it unclear | Rescan in good light |
1. “File size exceeds the maximum limit”
This is the most common error by far. Your file is simply bigger than the number the portal allows.
The Institute of Chartered Accountants of India puts it plainly in its own instructions: its online application system will not allow files larger than 50 KB for a photo or signature. Most portals behave the same way. The upload button just refuses.
The fix: compress the file to a size safely under the limit.
- For photos and signatures, use our JPG to KB converter and pick the limit, such as 20KB or 50KB.
- For PDFs, use our PDF compressor and type the limit.
- Aim about 5 percent below the cap. For a 50KB limit, 47KB is a safe target.
Phone photos are the usual culprit. A normal phone photo is several megabytes, so it needs a big reduction, not a small one.
2. “File size should be between 10KB and 20KB”
Many portals set a minimum as well as a maximum. The National Geophysical Research Institute’s own guidelines, for example, say a signature file should be between 10kb and 20kb.
This catches people who compress too hard. A clean signature on white paper can shrink to 5KB or 6KB, which fails the 10KB floor.
We tested this. We made a signature image that came out at 7.7KB as a PNG, too small for a 10KB minimum. In our JPG to KB converter we chose 20KB as the maximum and typed 10 in the minimum box. The result was a JPG of 10,304 bytes, which sits inside the 10KB to 20KB range however the portal counts.
The fix: use a tool that accepts a minimum, or scan the signature at a higher resolution so it has more detail to keep.
3. “Invalid file format” or “Only JPG/JPEG allowed”
The portal wants one file type and you gave it another. This happens with PNG screenshots, WebP images saved from WhatsApp or a browser, and PDFs uploaded where a JPG is required.
Do not just rename the file. Changing photo.png to photo.jpg changes the name, not the contents. Portals that check the file properly read its first few bytes, and a PNG still starts with the PNG signature.
We checked this ourselves. Our test PNG began with the bytes 89 50 4E 47, the standard PNG signature. After converting it in our tool, the output began with FF D8, the signature of a real JPEG.
The fix: convert, then upload.
- PNG or WebP to JPG: use our image compressor, which always saves a JPG.
- Need a .jpeg ending rather than .jpg? Our JPEG compressor lets you choose.
- PDF to JPG: use our PDF to JPG tool.
4. iPhone photo “not supported” (HEIC files)
iPhones save photos as HEIC by default, a newer format that many government portals cannot read. Apple says these formats offer better compression than JPEG, which is great for storage but bad for old upload forms.
The fix: change one camera setting so new photos save as JPG.
- Open Settings and tap Camera.
- Tap Formats.
- Choose Most Compatible.
New photos will now be JPG. For a photo you already took, take it again after the change, or use a converter that supports HEIC on your device. Then compress it to the size your form asks for.
5. “Invalid dimensions” or “Image must be 200 x 230 pixels”
Some portals check the width and height in pixels, not just the file size. The Odisha DMET guidelines, for example, ask for a photo of 200 x 230 pixels, or 4.5 cm by 3.5 cm, between 30 and 50 KB.
A phone photo might be 3000 x 4000 pixels. Even if you shrink it to 40KB, the portal still sees the wrong shape and size.
The fix: resize to the exact pixels first, then check the KB.
- Open our image resizer.
- Enter the width and height in pixels, or in cm with the DPI the notice gives.
- Choose crop if your photo has the wrong shape, so nothing gets stretched.
- Set the KB limit and download.
When a notice gives centimetres, remember that pixels depend on DPI. At 300 DPI, a 3.5 x 4.5 cm photo works out to 413 x 531 pixels.
6. “Upload failed” with no reason
Silent failures are the most frustrating. These are the usual causes, in order of how often we see them:
- The file name. Long names, spaces and brackets break some older portals. ICAI, for example, suggests naming the files photo.jpeg and sign.jpeg. Rename yours to something short like photo.jpg.
- A password on the PDF. Locked bank statements and e documents often fail. Open the file, save an unlocked copy, then compress that copy.
- The browser. Some portals only work properly on a desktop browser. On a phone, switch Chrome or Safari to desktop site and try again.
- A slow connection. Large files time out. Compressing first helps here too.
7. “File too large” even though it shows under the limit
This one confuses almost everyone. Your file manager says 198 KB, the limit is 200KB, and the portal still refuses.
The reason is that “KB” means two different things. The US National Institute of Standards and Technology explains that the kilo prefix means 1,000, while the binary kibi prefix means 1,024. Some computers and portals count one way, some the other.
Here is what that does to a 200KB limit:
| Actual file size | Windows shows about | Mac shows about | Portal counting 1,000 | Portal counting 1,024 |
|---|---|---|---|---|
| 199,000 bytes | 195 KB | 199 KB | Passes | Passes |
| 202,000 bytes | 198 KB | 202 KB | Fails | Passes |
| 205,000 bytes | 201 KB | 205 KB | Fails | Fails |

So a file that looks like 198 KB on a Windows laptop can still be over a strict 200,000 byte limit.
The fix: always leave a margin. Aim for 190KB on a 200KB limit, 47KB on a 50KB limit, and 19KB on a 20KB limit. That passes either way.
8. “Please upload a JPG” when you have a PDF
Certificates and marksheets often arrive as PDFs, but some forms want them as images. The reverse happens too.
The fix: convert in the direction the form asks for.
- PDF to image: use our PDF to JPG tool. Each page becomes its own JPG at your size.
- Images to PDF: use our JPG to PDF tool to combine photos into one PDF under the limit.
If you are not sure what size a document upload should be, our document upload size guide lists the official limits for NEET, UPSC, NSP, Aadhaar and Passport Seva.
9. Accepted at upload, rejected later
Sometimes the upload works, but the application is rejected days later. That usually means a person reviewed it and could not read it clearly. Many notices warn that unclear photos or documents can lead to rejection.
Common reasons include a blurred face, a signature that is too faint, a cropped document edge, or text that became unreadable after heavy compression.
The fix: start from a good source.
- Take photos in daylight against a plain light wall.
- Sign with a black pen on white paper, then crop tightly.
- Scan documents flat and in even light. Our guide to scanning documents to a PDF under 200KB covers the settings.
- Compress to a target near the limit, not far below it, so the file keeps as much detail as the portal allows.
A checklist before you press upload
- Is the file the right type, JPG or PDF, exactly as the notice says?
- Is it under the maximum, with a small margin?
- Is it above the minimum, if the notice gives one?
- Are the pixel dimensions right, if the notice gives them?
- Is the file name short and simple?
- Can you read every word and see the face clearly when you zoom in?
If all six are yes, the upload should go through. If you are working from a phone, our guide on how to compress a PDF on your phone for online forms walks through the whole process step by step.
Applying for a government exam? Our photo and signature size table for 10 exams in India lists the current KB range for UPSC, SSC, IBPS, RRB, NEET, JEE and more.
Fixing a photo on your phone? See how to reduce photo size in KB on Android and iPhone, including the HEIC to JPG setting.
Aadhaar upload failing? See the Aadhaar document upload size rules, including the password on eAadhaar PDFs.
FAQ
Why does my upload say file size too large?
Your file is bigger than the maximum the portal allows. Compress it to about 5 percent under the limit, for example 47KB for a 50KB cap. Phone photos and scans usually need a large reduction to fit.
Why is my photo rejected when it is under the size limit?
The portal may count kilobytes as 1,000 bytes while your computer counts 1,024, so a file showing 198 KB can still be over 200,000 bytes. It may also be rejected for the wrong pixel dimensions or file type. Leave a margin and check all three.
How do I increase a file to the minimum KB size?
Use a tool with a minimum setting. In our test, a 7.7KB signature became a 10,304 byte JPG after we set a 10KB minimum and a 20KB maximum in our JPG to KB converter. Scanning at a higher resolution also helps.
Can I just rename a PNG file to JPG?
No. Renaming changes only the name, while the file inside is still a PNG. Portals that check the file contents will reject it. Convert it with an image tool so it becomes a real JPEG.
Why are iPhone photos not accepted on government websites?
iPhones save photos as HEIC by default, which many portals cannot read. In Settings, open Camera, then Formats, and choose Most Compatible so new photos save as JPG.
What should I name my photo and signature files?
Keep names short with no spaces or symbols, such as photo.jpg and sign.jpg. Some portals, like ICAI, suggest these exact names, and long names with brackets can make older portals fail silently.
