"File upload failed" or "invalid file" can mean many different things, and the message rarely says which one. This guide lists the fifteen most common reasons an online form rejects a photo, signature or PDF, how to check each one, and how to fix it. Work through the list in order. The first six explain most failures.
1. The file is too large
Check: open the file details on your phone and compare the size with the limit in the notification. Remember that 1 MB is 1024 KB. Fix: use the image compressor for photos or the PDF compressor for documents, and aim a little below the limit.
2. The file is too small
Some portals set a minimum size, for example 10 KB or 20 KB, and reject files below it. Fix: choose a target inside the allowed range instead of the smallest possible size, and avoid shrinking the pixel size more than needed.
3. The format is wrong
If the form says JPG, a PNG or WEBP file will fail, even if it looks identical. Renaming a PNG to end in .jpg does not convert it. Fix: convert it properly with the image converter.
4. The pixel dimensions are wrong
Many portals check width and height, not only KB. Fix: use the exact pixel size from the form in the image resizer. If the form only gives centimetres, convert them with the size converter or read the guide on converting cm to pixels.
5. The shape (aspect ratio) is wrong
A photo cropped for a different shape can be rejected, or accepted and then stretched. Fix: crop to the required ratio before resizing. The resizer on this site does that in the correct order.
6. The phone saved the photo in a format the portal does not read
Newer phones may save HEIC (iPhone) or HEIF photos. Many portals do not accept them. Fix: see the guide on HEIC photos that will not upload.
7. The file name is the problem
Some portals reject very long names, spaces, brackets or symbols such as & # % and Hindi characters. Fix: rename the file to something short, such as photo.jpg, signature.jpg or marksheet.pdf.
8. The PDF is password protected
A protected PDF cannot be merged, compressed or often even read by the portal. Fix: save an unprotected copy with the password removed, then upload that.
9. The PDF has too many pages
Some forms allow only a few pages per document. Fix: keep only the needed pages with the PDF page extractor.
10. The file is damaged or incomplete
A download that was interrupted, or a file copied from a chat app that failed halfway, may open on the phone but fail on the portal. Fix: open the file again to check, and recreate it from the original if anything looks wrong.
11. The colour profile is unusual
Images saved in CMYK instead of RGB, for example by some design programs, can fail on certain portals. Fix: re-save through the image converter. It redraws the picture in a standard screen colour space.
12. The scan is hard to read
If a human checks the documents, blurry, dark or cropped pages get sent back. Fix: rescan in even light with all four corners visible. The guide on scanning with a phone has the steps.
13. The photo does not meet the visual rules
Some portals check the face, the background or the head position, by software or by a person. Fix: use a plain background of the colour asked for, a straight pose and even light. See making a passport-style photo at home.
14. The browser or network is the problem
Slow mobile data, an ad blocker, a full phone storage, or an outdated browser can break an upload that is otherwise fine. Fix: switch to Wi-Fi, try Chrome in a private tab, turn off extensions, free some storage and try again.
15. The session expired or a pop-up was blocked
Long forms log you out, and some portals open the upload dialog in a pop-up. Fix: keep the form open only as long as needed, allow pop-ups for that site, and prepare all files before you start.
A fast routine that avoids most rejections
- Prepare every file before you open the form.
- Name files simply and keep the correct extension.
- Check size, pixels and format against the notification.
- Upload on a stable connection and wait for the preview before you submit.
- Save the confirmation page or screenshot after you submit.
Rules differ between portals and change over time, so always follow the latest official notification. If a portal rejects a file that matches all its stated rules, contact its helpline and say which message you see.