System error during document upload for Indian e-Visa application

Specs matter. I am currently applying for the India e-Visa and the system keeps rejecting my uploaded photo and passport scan. I have tried resizing the files to the theoretical limits, but it still says the format is not correct or simply fails to load. Is this a browser compatibility issue or a hidden file requirement? I need to ensure the build quality of this application is solid before my trip.