Why does the e-visa site say file has script tag when I upload my photo?

T
Asked by Traveler | Nov. 10, 2026 12:26 About: General Questions

I keep getting the error file has script tag. My file is under 2 MB and I tried three browsers.

Answers (1)

T
Answered by Tonny Bui | Nov. 10, 2026

That error means the portal found something in the image file it treats as code, usually hidden metadata or a file that was edited by an app. Browser changes do not help, because the problem is inside the file.

Fix it by creating a clean copy:

  1. Open the photo and export or save it again as a new JPG, or take a screenshot of the photo and crop it.
  1. Remove metadata with your phone's share option "remove location and details", or with a free image editor.
  1. Rename the new file with plain letters and numbers.
  1. Upload the new copy, keeping the file small.

Use a desktop browser if you can, and avoid files that came from messaging apps or photo apps with filters.

If it still fails after a clean copy, try another photo. You can read the portal's photo notes on evisa.gov.vn. When you apply through our application form, we check the photo and passport scan before submitting. VietnamVisa.com is a private visa agency, not a government website. You can apply yourself at evisa.gov.vn for US$25 (single entry) or US$50 (multiple entry).

  • 0
  • 0

Related questions about general questions

?

How long must my passport be valid to enter Vietnam?

Asked by Georgina Young | Mar. 14, 2018

5
?

Can I leave Vietnam by land or from a different airport?

Asked by Charles Huston | Mar. 12, 2018

5
?

Vietnam e-visa pending too long: what to do after 3 working days

Asked by JOHN CAMILO HERRON | Nov. 12, 2026

1

All general questions questions · Vietnam visa guides

Ask a Question

Categories
Contact Email
Name
Question summary (100 characters)
Details (Optional) (2000 characters)