Photo refused before upload (2 MB limit)
"Photo refused before upload (2 MB limit)" is a message shown by NIS Passport Application Portal (Nigeria). The 2 MB limit is a client-side constant in the portal code (USER_IMAGE_REQUIRED_SIZE_IN_MB=2), so an oversized file is refused before anything is sent. First step: Export a JPEG under 2 MB; our 900 x 1200 pixel file is well inside the limit.
Why it happens
The 2 MB limit is a client-side constant in the portal code (USER_IMAGE_REQUIRED_SIZE_IN_MB=2), so an oversized file is refused before anything is sent.
What to do
- 1.Export a JPEG under 2 MB; our 900 x 1200 pixel file is well inside the limit.
- 2.Use the portal's 'Test Photo Upload' tile before paying to confirm the file passes.
- 3.Retry the upload with the smaller file.
Official wording
Click here to check your passport size photo compliance before you proceed to the passport application.
Source: https://passport.immigration.gov.ng/
Traced to: spec ng/passport portalQuirks
Affected documents
Frequently asked questions
We are an independent service, not a government website. Applying for a passport or visa is done with your government; we only prepare the photo.