✉ contact@govietvisa.com 🕐 Support 8:00 - 22:00 (GMT+7) 💬 WhatsApp
🌐 English
Apply Now

"File has script tag, please try again" on the Vietnam eVisa Site? The 60-Second Fix (2026)

Updated: October 17, 2026 · 6 min read · Written by the GoVietVisa processing team

The error is about your image file, not your application. Nothing has been submitted, nothing has been charged, and you do not need to start over. You need a clean copy of the photo.

Quick answer: "File has script tag, please try again" is the evisa.gov.vn upload filter rejecting your portrait or passport scan because something in the file name or in the file's hidden data looks like code to it. Fix in 2 steps: (1) rename the file to plain letters and numbers, e.g. passport.jpg; (2) take a screenshot of the photo, crop it, and upload that screenshot as a new JPG under 2MB. Screenshots carry no embedded data, so they pass. In our experience this clears the error for roughly 9 out of 10 applicants on the first try.

From processing applications every day, this is the upload error we get asked about most, and it is one of the few that sounds alarming while meaning almost nothing. We see it several times a week, often from people who have done everything right: correct size, correct format, under 2MB, and the portal still throws it back. Below is what is actually happening, the fix that works, and what to do if your flight is close.

What "File has script tag" Actually Means

The portal scans every uploaded file for anything that resembles a script before it accepts the image. That check looks at two things: the file name and the data inside the file that you never see, the metadata block where your phone or editing app writes camera settings, location, edit history and sometimes a chunk of XML. If either contains characters or patterns the filter does not like, it rejects the whole file with this message.

That is why the error feels random. The photo looks perfectly normal because the picture itself is fine; it is the packaging around the picture that fails. The same person can upload a passport page without trouble and then get stuck on the portrait, simply because the two files came out of different apps.

Two things that matter right now: the error fires before the application is created, so you have not been charged and there is no registration code to worry about yet. And it has nothing to do with your eligibility. Once a clean file goes through, Immigration processes the application like any other and never knows the first upload failed.

The Files That Trip the Filter (From Real Cases)

These are the sources we see most often when someone sends us a file that keeps failing:

Full photo and passport-scan specs are in our guide to Vietnam eVisa photo and passport requirements; this article only covers the script tag rejection.

How to Fix It, Step by Step

Do these in order. Most people are done after step 2.

  1. Rename the file to something plain: portrait.jpg, passport.jpg. Letters and numbers only, no spaces, no apostrophes.
  2. Make a clean copy of the image. Open the photo full-screen, take a screenshot, crop it to the photo, and save it. A screenshot is a brand-new file with no history in it. On Windows you can also open the image in Paint and "Save as" a new JPG; on Mac, open it in Preview and use "Export". All three drop the metadata.
  3. Check the size. The copy must still be a JPG under 2MB. Screenshots from a high-resolution screen can exceed that; if so, crop tighter or export at a lower quality.
  4. Upload the new file in the same application window. You do not need to reload the page or recreate your profile.
  5. If it still fails, send the original photo to yourself on WhatsApp, download it from the chat on another device, and upload that one. WhatsApp strips image metadata when it compresses photos, which is why this odd-sounding trick works so reliably.

What does not help: compressing the original file, changing browser, clearing cache, switching to incognito or trying again later. The file is the problem, so the same file fails everywhere and at every hour. People lose entire evenings retrying a bad file in four browsers.

What to Do Depending on When You Fly

Flying in 3 days or more. Do the fix above, upload, pay and submit. Standard processing is 3 working days from a complete application, counted in Vietnam time, so a file problem solved today costs you nothing.

Flying in 24 to 48 hours. Fix the file first, because no amount of urgency helps an application that cannot be submitted. Then read how rush Vietnam eVisa processing works, and note the cut-offs: a rush application needs to be complete before about 9:45 AM Vietnam time to move that day, and weekends run through a different channel at a higher cost.

Flying today or tonight. Do not keep fighting the upload. Message us on WhatsApp with the portrait, the passport page and your flight time. We tell you within minutes which file is failing and why, fix it on our side, and submit through our channel. If a same-day visa is still possible for your flight, that conversation is where you find out.

If you got past the upload but the application then broke at payment, that is a different problem with its own fix: see Vietnam eVisa payment failed, recreate profile. And if the whole site is freezing or not loading rather than rejecting one file, see what to do when the eVisa website isn't working.

A Related 2026 Error: "Low quality passport data page"

Since mid-2026 the portal also runs an anti-spoofing check on the passport page and returns "Low quality passport data page" when it thinks the image is a photo of a screen, a photocopy, or a heavily edited file. Do not confuse the two. The script tag error wants a cleaner copy of the same photo; the low-quality error wants a new photograph of the physical passport: flat on a table, daylight, all four corners and both machine-readable lines visible, no filter. A screenshot will not fix the second error and can make it worse.

Still getting the script tag error and your flight is close?

Send us the photos on WhatsApp Apply Through Us

We charge a service fee on top of the official government fee. We are a private service, not the government portal.

Frequently Asked Questions

What does "File has script tag, please try again" mean on the Vietnam eVisa website?

It means the eVisa portal's upload filter rejected your image file, not your application. The filter looks for anything that resembles code in the file name or inside the file's hidden data, and certain phone exports, editing apps and PDF conversions trip it. Nothing has been submitted yet and you have not been charged.

How do I fix the "File has script tag" error?

Rename the file to plain letters and numbers (for example passport.jpg), then make a clean copy of the image: take a screenshot of the photo and crop it, or open it in Preview or Paint and use Export or Save As to a new JPG. Upload the new file. This clears the error in almost every case within a minute.

Is the "script tag" error my fault, and will it affect my visa?

No. It is a technical rejection of the image file before the application exists. Once a clean file is accepted, the application is processed exactly like any other and Immigration never sees that the first upload failed.

Why do some photos upload fine and others get the script tag error?

Because the filter reacts to how the file was made, not how it looks. A photo straight from the camera app usually passes; the same photo passed through a background-removal app, a beautify filter, a Live Photo export or a PDF can carry extra embedded data that fails. Two passports can upload fine and a third fail simply because it came from a different app.

Will renaming the file, compressing it or changing browser fix the script tag error?

Renaming helps only if the file name contained an apostrophe, quotation mark or other special character. Compressing the file or switching browser does not help, because the problem is inside the file and the same file fails everywhere. A fresh copy made by screenshot or export is what works.

I keep getting the script tag error and I fly soon. What now?

Try the screenshot-and-crop copy once more from a different device. If it still fails, send the photo and passport page to a service that can submit on your behalf; we check which file is failing and why within minutes, and we can combine that with rush processing if your flight is within 48 hours.

This guide is for general information. The government portal's upload rules can change without notice. GoVietVisa is a private visa assistance service, not the official government portal (evisa.gov.vn).

Chat with us