Clinic guide · 2026

Invalid file type on photo upload — what to change

Published 2026-10-07 · Last reviewed 2026-10-07

Direct answer

“Invalid file type” means the portal’s allow-list rejected your file’s format or extension. Convert to the format the form names (usually JPG), keep a normal .jpg filename, and avoid PDF, HEIC, WEBP, or ZIP unless the field explicitly allows them.

What the error is checking

Portals reuse the same message for format failures:

  • Invalid file type
  • Unsupported file format
  • File type not allowed
  • Please upload a JPG / JPEG

They are almost never checking face quality here. They are checking what kind of file you sent.

Formats that trip the validator

You upload Why it fails
HEIC / HEIF (iPhone default) Not on the allow-list
PNG when the field is JPG-only Wrong MIME / extension
WEBP, AVIF, GIF, BMP, TIFF Older servers never listed them
PDF / DOC of a scan Treated as a document, not a photo
ZIP of images Wrong container type

Fix in three steps

  1. Read the field text — note the exact formats named (JPG, PNG, etc.).
  2. Convert — export a real JPEG (or the named format), do not only rename.
  3. Re-check size — after conversion, many photos still need a KB shrink before the next error disappears.

If the type error clears and a new error appears, you moved on to file size or dimensions — that is progress.

FAQ

The error says invalid type but my file is an image. Why?

“Image” is not a type to validators. They check MIME type and extension against a short allow-list — often JPEG only.

Will renaming .heic to .jpg fix it?

No. Renaming does not convert bytes. Stricter portals still reject the real HEIC payload.

Can I upload a PDF of my photo?

Only if the field asks for a document PDF. Photo fields almost always want a bare .jpg / .png file.