"No Valid QR Code Detected" on WhatsApp Web: What It Means and How to Fix It
You are trying to open WhatsApp on your computer. The browser shows a QR code, you point your phone at it, and the phone answers with this: "No valid QR code detected." The code is right there on the screen, clearly visible, and the phone insists there is nothing to read.
You are almost certainly scanning with the wrong camera. A WhatsApp Web code can only be read from inside WhatsApp, under Linked Devices. Your phone's ordinary Camera app will never accept it, no matter how good the scan is.
What the message actually means
It does not mean the code is damaged. It means the scanner you used looked at the image and decided the thing in front of it was not a code it is willing to act on.
That happens for two very different reasons, and telling them apart saves you a lot of time. Either the camera genuinely could not read the pattern, which is a focus, light or lens problem, or it read the pattern perfectly and the app rejected what was inside. A WhatsApp Web code carries a login token, not a website address. The Camera app is built to open links, so when it decodes a token it does not recognise, it reports that it found nothing valid. The code was fine. The wrong tool was holding it.
8 fixes, in order
1. Scan from inside WhatsApp, not the Camera app
This is the fix for most people who see this message. Open WhatsApp on your phone. On Android, tap the three dots and choose Linked devices. On iPhone, go to Settings and then Linked devices. Tap Link a device, and use the scanner that opens there. That scanner understands login tokens. Nothing else on your phone does.
2. Turn your screen brightness up
A QR code is read by the contrast between dark and light squares. A dim laptop screen, especially one on battery saver, flattens that contrast until the camera cannot find the corner markers. Put the brightness to full before you scan. This one fix resolves a surprising share of failed scans on laptops.
3. Refresh the code in the browser
WhatsApp Web codes expire after about a minute, on purpose, because they are login credentials. If the code has been sitting on screen while you hunted for the right menu, it is already dead. Click the refresh arrow over the code, or reload the page, and scan the new one straight away.
4. Clean the camera lens
Phones live in pockets. A film of grease on the lens does not stop you taking photos, but it destroys the fine edges a scanner needs to separate one small square from the next. Wipe it with a cloth or a shirt and try again.
5. Hold it at the right distance
Too close and the camera cannot focus. Too far and the squares blur into each other. Start about 30 cm away and move slowly in and out until it locks. Keep the phone square to the screen rather than at an angle, since a steep angle distorts the corner markers the scanner uses to orient itself.
6. Update WhatsApp
The linking process changes from time to time, and an old app can fail against a newer code format. Update WhatsApp from the App Store or Play Store, reopen it, and start the link again from scratch.
7. Restart the camera, then the phone
The camera service can hang without the preview looking frozen. You get a live picture and no detection at all. Close WhatsApp completely, swipe it out of recent apps, and reopen. If that does not do it, restart the phone. It sounds like a dodge, and it fixes this more often than it should.
8. Check for a VPN, proxy or work firewall
Linking a device needs a live connection between your phone, the browser and WhatsApp's servers. A corporate network, a strict firewall or a VPN can block that connection while still letting the page itself load, so you see a perfectly good code that can never complete. Turn the VPN off, or try again on mobile data with the phone hotspotting the laptop.
If it still will not scan, check the code itself
By this point the problem is rarely WhatsApp. If you want to know whether the image on your screen contains a readable code at all, screenshot it and run it through our QR code reader. If the reader pulls text out of it, the code is intact and the issue is your camera or your network. If the reader finds nothing either, the code on screen is genuinely broken and refreshing the page is the answer.
One thing worth knowing: decoding a WhatsApp login code will not let you log in from somewhere else. What comes out is a short lived token that is useless without the phone that requested it. That is the point of the design.
Can you skip the QR code?
Yes. On the WhatsApp Web page, choose Link with phone number instead. You type your number, the browser gives you an eight character code, and you type that into your phone. No camera involved at all. If scanning has beaten you twice, go straight to this.
Questions people ask
What does "no valid QR code detected" mean?
It means the scanner did not find a code it was willing to use. Usually that is because you scanned a login code with an ordinary camera app, which only knows how to open links. It does not mean the code is faulty.
Why does the camera app say there is no code when I can see one?
Because "no valid code" and "no code" are different things. The Camera app decoded it, found a login token rather than a web address, and had nothing to do with it. Scan from Linked Devices inside WhatsApp instead.
Does this mean my account has a problem?
No. This error happens before anything reaches your account. It is a scanning and linking problem, not an account one.
Why did it work last week and not now?
The most common answers are an app update, a new network, or a code that expired while you were looking for the menu. Refresh the code and scan it within a few seconds.
Is this the same as a QR code that will not scan generally?
Related but not the same. This message is specific to scanning a login code with something that cannot use it. For codes that will not read at all, see QR code not scanning, or blurred QR codes if the image itself is soft.
