eSIM QR Code Not Scanning: How to Fix It
An eSIM QR code that refuses to scan is fixable in almost every case, and the fastest route around it is not a better scan. It is manual entry. Every activation code that arrives as a QR image also arrives as two lines of text, and typing those two lines produces exactly the same result as scanning the picture.
The code itself holds only two pieces of information: the address of your provider’s provisioning server (the SM-DP+ address) and a one-time activation key. Your phone reads both, contacts the server, and downloads the profile. Scanning is a convenience layer over a text exchange, which is why manual entry works whenever the camera does not.
Failures split into two groups, and they need different responses. Optical failures mean the camera cannot read the image, caused by screen glare, low brightness, a smudged lens, or a printed copy too small to resolve. Server-side failures mean the code was read correctly and rejected, which produces an error message rather than silence.
That distinction saves time. A code that scans and returns “this code is no longer valid” will never work no matter how you present it to the camera, because it has already been redeemed or has expired. Only your provider can resolve that one.
Vesim delivers activation details by email across 220+ countries with plans from $0.60, and the manual entry values sit in the same message as the image. This guide covers what the code contains, the optical fixes worth trying, manual activation on iPhone, Samsung, and Pixel, what each common error message means, expired codes and reissue, compatibility and carrier lock, and the preparation that avoids the whole problem. Twelve questions at the end handle the edge cases.
What the QR code actually contains
Understanding the payload removes most of the mystery.
Two values do all the work. The SM-DP+ address points at the provisioning server that holds your profile. The activation code is a one-time key that authorizes the download of that specific profile.
Three consequences follow:
The image is a container, not the profile, so nothing is stored on the paper or the screen
The key works once, which is why a second scan on another device fails
Typing the values by hand is functionally identical to scanning them
Some providers issue an additional confirmation code, which appears alongside the other two in the email. Keep all of them together. Once you know the code is just text, an unreadable image stops being a crisis.
Fixing an optical scan failure
Try these before reaching for manual entry, since a successful scan is still quicker.
Raise the screen brightness on the device displaying the code to maximum
Turn off automatic brightness so it does not dim mid-scan
Clean the camera lens, which fingerprints and pocket lint degrade badly
Move the phone further back, since eSIM cameras often struggle to focus close up
Change the angle to kill reflections from overhead lights or windows
Enlarge the image on screen until the pattern is crisp rather than pixelated
Print at a larger size if scanning from paper, or switch to a screen instead
Restart the handset if the camera behaves oddly in the settings screen but works in the camera app. That combination usually points at a temporary system glitch rather than the code.
Scanning from a second screen is the most reliable setup: display the code on a laptop, scan with the phone. When none of it works, stop fighting the camera.
Manual activation on iPhone, Samsung, and Pixel
Every Add eSIM flow includes a text entry option, and it is not hidden.
On iPhone: Settings, Cellular, Add eSIM, Use QR Code, then Enter Details Manually. Type the SM-DP+ address and activation code exactly as written.
On Samsung: Settings, Connections, SIM Manager, Add eSIM, then Enter activation code.
On Pixel: Settings, Network and Internet, SIMs, Add SIM, then Enter code manually.
Accuracy matters more than speed. Copy and paste where possible rather than retyping, since a single wrong character produces a failure that looks identical to a broken code. Include hyphens and preserve capitalization exactly.
A stable internet connection is required throughout, because the handset is downloading a profile from a remote server. Use Wi-Fi rather than a borrowed hotspot that may drop mid-transfer. Manual entry takes thirty seconds longer than scanning and succeeds in most cases where scanning does not. When it also fails, read the error text carefully.
What the common error messages mean
Each message points at a different cause, and guessing wastes time.
“This code is no longer valid” means the activation key has already been redeemed or has expired. Nothing on your phone will change that. Contact the provider for a replacement.
“Unable to complete cellular plan change” usually indicates a connection problem during the download. Move to a stronger Wi-Fi network and retry.
“Cellular plan cannot be added” often points at a carrier-locked handset or a device that does not support digital profiles.
“Invalid QR code” after a clean scan suggests the image was damaged, cropped, or compressed by a messaging app during forwarding. Ask for the original file.
Cancelling an installation part way through can invalidate the key even though nothing installed, which surprises people who backed out to check something. Treat the process as one continuous action. Expiry is the other frequent culprit.
Expired codes and getting a replacement
Activation codes carry a shelf life, commonly 30 to 90 days from purchase depending on the provider.
Buying a plan several months before a trip and installing it the night before is the sequence that catches travelers out. The plan may still be valid while the code that installs it has lapsed.
Reissue is straightforward when you ask for it properly:
Contact support through the provider’s official channel, not a search result
Supply your order reference, the email used for purchase, and the destination
Describe the exact error text rather than paraphrasing it
Confirm which device the new profile is for, since profiles bind per device
Install the replacement immediately once it arrives
Never delete an existing profile hoping to reinstall it with the same code. That combination leaves you with no service and nothing to restore. One more category of failure has nothing to do with codes at all.
Compatibility and carrier lock
Some devices will refuse every code you present, correctly.
Check support first by dialing *#06#. An EID number in the results confirms the handset accepts digital profiles. iPhone XS and newer, Samsung Galaxy S20 and above plus the Z series, and Pixel 3 and later all qualify. Regional variants complicate this, since a handful of models sold in specific markets ship without the capability.
Carrier lock is the second barrier. A phone locked to a home operator rejects profiles from anyone else. On iPhone, check Settings, General, About, and look at Carrier Lock, which should read no restrictions. On Android, the status usually appears under Connections or in the About section, though some manufacturers hide it and require a call to the carrier.
Verify both before purchase rather than at the airport. Preparation solves the rest.
Preparing so this never happens again
Ten minutes at home removes almost every scenario in this guide.
Install the profile one or two days before departure, on Wi-Fi, at home
Screenshot the QR image, the SM-DP+ address, the activation code, and any confirmation code
Save those screenshots somewhere that opens without a connection
Keep the confirmation email rather than deleting it after install
Verify the line appears with a carrier name in settings before you leave
Note your order reference separately in case support is needed
Installing early also means you find out about a bad code while you still have time and Wi-Fi to fix it. The questions below cover the specifics travelers ask.
Why will my eSIM QR code not scan?
Usually screen glare, low brightness, or a dirty camera lens. Raise brightness to maximum, clean the lens, move back to let the camera focus, and display the code on a second screen rather than paper. If the code scans and returns an error, the problem is the code itself, not the camera.
Can I activate an eSIM without scanning anything?
Yes. Every Add eSIM flow offers manual entry. Type the SM-DP+ address and activation code from your confirmation email, and the result is identical to scanning.
What does “this code is no longer valid” mean?
The activation key has already been used or has expired. It cannot be repaired on your phone. Contact your provider with the order reference and request a replacement profile.
Can I use the same QR code twice?
No. Activation keys are single use by design, which prevents a profile being cloned onto a second device. Even a cancelled installation can consume the key.
How long is a QR code valid?
Typically 30 to 90 days from purchase, though it varies by provider. Buying months in advance and installing at the last minute is the common cause of an expired code, so install early even if the trip is far off.
What is the SM-DP+ address?
It is the internet address of the server holding your profile. Your phone contacts it using the activation code as authorization, then downloads the profile from there. Both values appear as text in your confirmation email.
Do I need Wi-Fi to activate?
Yes, a stable connection is required. The handset downloads the profile from a remote server, and an interrupted transfer can fail the installation and consume the code. Use home Wi-Fi rather than a public hotspot.
Why does the code fail after I forwarded the email?
Messaging apps and some email clients compress images, which damages the pattern beyond what a camera can read. Ask for the original file, or skip the image and use manual entry instead.
What is the difference between a scan failure and an activation failure?
A scan failure means the camera never read the image, so nothing reached the server and the code remains unused. An activation failure means the values were accepted, the server responded, and something in the exchange was rejected.
Can a locked phone cause a scan to fail?
Yes. A handset locked to a home carrier rejects other profiles, usually with a message about the plan being unable to be added. Check Carrier Lock in settings and confirm it reads no restrictions before buying.
Should I delete the old profile and try again?
No. Deleting a profile is usually permanent, since the original code cannot be reused. Contact support and confirm a replacement is available before removing anything from your phone.
What information does support need from me?
Your order reference, the purchase email address, the destination country, the device model, and the exact wording of the error message. That set lets them determine whether the code was redeemed, expired, or never issued correctly.
Summary
A QR code that will not scan is rarely the end of the process, because the image only carries an SM-DP+ address and a one-time activation key that you can type by hand. Fix optical failures with brightness, a clean lens, distance, and a second screen. Switch to manual entry on iPhone, Samsung, or Pixel when the camera still refuses. Read the error text carefully, since a redeemed or expired key needs a replacement from the provider rather than another attempt. Confirm the handset supports digital profiles by dialing the EID check, and confirm it carries no carrier lock before you buy anything.
Install one or two days before departure on home Wi-Fi, screenshot every activation value, and keep the confirmation email. Vesim plans start at $0.60 across 220+ countries at vesim.global.



