QR Code Guides · 6 min read

"Invalid QR Code! Please Wait for WiFi to Connect": What It Means and How to Fix It

By Toolsque Team · September 10, 2026

You are setting up a camera, a smart plug, a doorbell or another smart device. You scan the QR code and the app stops you with this: "Invalid QR code! Please wait for WiFi to connect successfully and scan again."

Try this first
Wait until your WiFi icon is steady. Check that your phone has working internet, not just a WiFi signal. Then scan the same code again. If it still fails, work down the fixes below in order.

Even though it says invalid, the code is usually fine. The message means the phone or device doing the scan was not online yet when it read the code, so it could not check it. Get the connection working and the same code will almost always go through.

What the message actually means

Read it as two parts. "Invalid QR code" means the scan did not go through. "Please wait for WiFi to connect successfully" is the reason: whatever did the scanning had no working connection at that moment.

It shows up in two kinds of setup:

  • Your phone scans a code on the device. Many apps check that code online before they add the device to your account. With no internet, the check fails and the app calls the code invalid.
  • The device scans a code on your phone. Some cameras set up this way. You type your WiFi name and password into the app, it shows a QR code, and you hold it up to the camera. The camera reads your network details from the code and tries to join. If it cannot get online, setup stops there.

We could not find which app shows this exact wording. If you know, tell us and we will add it here. The fixes below apply to both kinds of setup.

8 fixes, in order

Start at the top. The first three take under a minute each.

1. Wait for the WiFi to finish connecting

This is exactly what the message asks for. After you switch networks or turn WiFi on, give it 10 to 20 seconds until the WiFi icon is steady, then scan again. Scanning while the phone is still joining a network is an easy way to trigger this error.

2. Check you have internet, not just WiFi

A WiFi signal and a working internet connection are not the same thing. During setup, some apps ask you to join the device's own network, often named after the brand plus a string of letters and numbers. That network has no internet, so any online check fails. Switch back to your home WiFi, or turn on mobile data, before you scan.

If you use a VPN or a private DNS setting, turn it off until setup is done. Either one can stop the app from reaching its own servers.

3. Turn airplane mode on for 10 seconds

Turn airplane mode on, wait 10 seconds, then turn it off and let WiFi reconnect. This clears a connection that looks fine but is stuck. Firewalla gives the same advice for its own "Invalid QR Code" setup error.

4. Use a 2.4 GHz network

Many smart devices only work on 2.4 GHz and cannot see a 5 GHz network at all. If your router gives both bands the same name, the device may be trying the wrong one. Some apps also pass along whichever network your phone is on, so if the phone is on 5 GHz, the device gets a network it cannot join. Look in your router settings for an option to split the two bands, then connect the phone to the 2.4 GHz one before you start.

5. Check your router's security setting

Some devices cannot join a network set to WPA3 only. If your router uses WPA3, switch it to WPA2 or a mixed WPA2/WPA3 mode. Some cameras also need the AES option rather than TKIP.

6. Retype the WiFi password

If the app asked for your WiFi password and made a code for the device to scan, one wrong character is enough. The device reads the code, tries the wrong password and cannot join. Type it again slowly, and watch for capital letters and for a zero typed as the letter O.

7. Restart the device and the app

Close the app fully, not just to the background. Restart the device, or put it back into pairing mode, usually by holding its reset button until the light blinks. Then stand near the router and try again.

8. Make a fresh code

Some setup codes expire. Tuya's sign-in codes are one known example. If the code has been on your screen for a while, go back a step in the app and let it make a new one.

Still says invalid? Check what is inside the code

If none of that works, find out whether the code itself is the problem. Take a screenshot or a photo of it and open it in our QR code decoder. It reads the code from the image and shows you exactly what is inside, right in your browser.

  • It decodes fine. The code is good, so the problem is the connection or the device's camera. Go back through the fixes above. If the device is scanning your phone screen, turn the brightness up, peel off any protective film still on its lens, and move the phone slowly closer and further away until it reacts.
  • It will not decode. The code image is damaged or cut off. Make a new one in the app.
  • It decodes, but the text looks wrong. If it starts with WIFI:, paste it into our WiFi QR decoder to see the network name and password it holds. A wrong network name or an old password means you need a new code.

Can you skip the QR code?

Usually, yes. Most device apps have a second way in, often called AP mode, hotspot mode or manual setup. Your phone joins the device's own network for a moment and sends your WiFi details straight to it, with no QR code involved. Some apps also let you type the device code by hand instead of scanning it. Look for a small link on the scan screen, such as "Try another way" or "Add manually".

Questions people ask

Does "Invalid QR code" mean my device is broken?

Very rarely. This message points at the connection, not the hardware. If the device powers on and its light blinks for pairing, it is very likely fine.

Why does it work on one phone but not another?

The two phones are usually on different networks. The one that fails may be on 5 GHz, on a VPN, or still joined to the device's setup network. Move it to your 2.4 GHz home WiFi and try again.

Is this the same as a WiFi QR code that will not connect?

Close, but not quite. A WiFi QR code on a router or a card joins your phone to a network. This error comes from a device setup app. If your problem is a WiFi QR code that scans but will not connect, our WiFi QR code fixes cover that case.

Related: QR code not scanning? 12 fixes · WiFi QR code format explained · all QR code tools

About Toolsque
Every tool and guide here is built and tested by hand. Formulas are checked against published sources, and QR tools are verified with a real scanner before release. Read how we build and test.