If you've spent any time on an Amazon MyTV activation screen, you know the message: "invalid code." No context, no clue what went wrong, just that flat little rejection. It's genuinely annoying — not because the fix is hard, but because Amazon doesn't tell you which of five possible things went wrong.
The good news is that most invalid-code errors come from just a few causes, and they're all easy to check once you know what they are. This guide walks through each one in the order I'd look.
First — what "invalid code" actually means
The Amazon MyTV code is a short alphanumeric string that your TV generates when you try to sign into Prime Video. You take that code to Amazon's registration page, type it in, and Amazon uses it to link the TV to your account — without you having to type your full password with a TV remote.
"Invalid code" means Amazon didn't accept the code you entered. That's it. It doesn't necessarily mean something is broken — it just means the code, in that exact moment, didn't work.
There are five usual reasons for that:
- The code expired before you entered it
- You typed a character wrong (usually O vs 0)
- You used an older code instead of the current one
- You're on the wrong registration page
- The connection on either device dropped mid-entry
Fix #1: Generate a fresh code
This is almost always the answer. Activation codes expire fast — often in under 15 minutes. If you got the code, went to grab your laptop, and came back a few minutes later, the code is probably already dead.
Go back to the Prime Video app on your TV. Exit the activation screen entirely, then re-enter it. You should be offered a new code. Use the new one.
Important: if your TV offers a "refresh" button on the activation screen, use it. If it doesn't, back out and re-enter the screen to force a new code.
Fix #2: Check the code character by character
Codes use both letters and numbers, and on a small phone keyboard it's very easy to confuse one for another. The usual suspects:
- O vs 0 — letter O looks identical to zero in most fonts
- I vs 1 vs l — capital i, number one, lowercase L — all easy to mix up
- Uppercase vs lowercase — most forms accept either, but some are case-sensitive
- Extra characters — a trailing space or an autocorrect fix can silently ruin a code
If you have a QR code next to your text code, use that instead. It's a genuinely faster path and eliminates typo errors entirely.
Scan instead of typing
If your TV shows a QR code alongside the text code, open your phone's camera and point it at the QR code. It should open Amazon's activation page with the code already filled in. No typing at all — no typos, no O-vs-0 confusion.
Fix #3: Make sure you're not using an older code
This one catches people who've tried the process more than once. Say you attempted activation, it failed, and you went back to the TV and generated a new code. That new code is now the only valid one. If you've got the old code still open on your laptop, typing that in will fail every time.
Close the tab, reopen the registration page, and use the code that's currently showing on the TV. Not a screenshot. Not a note. The live one.
Fix #4: Check you're on the right page
Amazon's registration page is specific. If you've landed on some third-party "activation" site, the code won't work — and worse, you may be handing your account details to someone you shouldn't trust.
Go back to your TV's Prime Video app. It should show the exact URL you need. Type that in — don't rely on a search result, and don't use anything that isn't Amazon.
A real scam to watch for
There are sites out there that look like Amazon's activation page but aren't. They'll ask for your Amazon password — sometimes they even ask you to call a "support number." Amazon will never ask you to call a number to verify your account. If either of those happens, close the tab immediately and don't enter anything.
Fix #5: Restart the TV the real way
Not with the remote. A proper restart of a smart TV means cutting the power. Turn it off, unplug it, wait at least 60 seconds, plug it back in, then turn it on. This clears out stale registration attempts that can cause the "invalid code" error even with a fresh, correct code.
Once the TV is back up, open Prime Video, generate a new code, and try again.
Fix #6: Check the Amazon account
If you have more than one Amazon account, it's easy to be signed into the wrong one without realising. On your laptop or phone, sign out completely, sign into the account you want the TV registered to, then go back to the registration page and try again.
While you're there, check your Prime subscription status. If it's expired or on hold, the code may not register at all.
Fix #7: Try a different browser
Browser extensions, old cookies, and cached pages occasionally break the registration flow. Two quick tests:
- Open the registration page in a private/incognito window
- Try a completely different browser
If either works, the problem was the browser and you're done. If neither works, it's something else.
Fix #8: Check your internet — both devices
Both your TV and whatever you're entering the code on need a stable connection. If the TV's Wi-Fi signal is weak, or the laptop keeps dropping, the registration request can fail mid-way and produce an "invalid code" error even though the code was fine.
Quick test: open another streaming app on the TV. Open any website on your laptop. If either feels sluggish, restart your router before trying again.
Fix #9: Update the Prime Video app
Outdated apps have known issues with the registration flow. Open your TV's app store, find Prime Video, and install any updates that are available. Then restart the app and try a fresh activation.
Fix #10: Deregister and re-register
If your TV has been registered on this account before, it may need to be cleared out before it'll take a new registration. Open Prime Video, go to settings, and choose "Sign out" or "Deregister device." Then start the activation process fresh.
One warning: this signs you out completely, so you'll need your Amazon login details to sign back in.
The difference between "invalid" and "expired"
These two errors sound similar but point at slightly different things. Here's the quick breakdown:
| Error | What's really going on | What to try |
|---|---|---|
| "Invalid code" | The code you entered wasn't accepted | Check for typos, then get a new code |
| "Code expired" | The code timed out | Generate a fresh one — the old one won't come back |
| "Registration failed" | The device didn't finish linking to the account | Check internet on both devices and restart the TV |
| "Sign-in failed" | Your Amazon account couldn't be verified | Sign out and sign back in — check credentials |
| TV stays on activation screen | Registration didn't complete on the TV side | Check the browser for a success message, then restart the app |
On specific TV brands
The steps are similar across brands, but a few have their own quirks:
Samsung smart TVs
If Samsung's app store shows a pending update for Prime Video, install it before trying activation. Samsung's activation flow sometimes hangs if the app is mid-update in the background.
LG smart TVs
LG TVs sometimes need a full power cycle (unplug, wait a minute) after a failed activation, not just a remote-off. If the code keeps failing, try that first.
Android TV and Google TV
Restart the device from the settings menu, not with the remote — the remote-off doesn't fully reboot the system. Then update the Prime Video app and try again.
Sony smart TVs
Check both the internet connection and the app version before trying a new code. Sony's app update process is sometimes slow, so give it a few minutes after updating before you retry activation.
Ways to avoid this happening again
- Generate a new code right before you enter it — don't sit on it
- Type carefully, or scan the QR code if your TV offers one
- Use the exact URL your TV tells you, not a search result
- Keep the Prime Video app updated
- Make sure both devices are on a stable connection
- Don't hold on to screenshots of old codes
Frequently asked questions
Why does my code keep saying invalid even after I generate a new one?
Try a few things in order: check for a browser extension blocking the page, try incognito mode, make sure you're signed into the right Amazon account, and power-cycle the TV. If it still fails, contact Prime Video support — there may be an account-level issue.
How do I get a new activation code?
Open Prime Video on your TV and exit the current activation screen, then re-enter it. Most TVs generate a new code automatically. If yours doesn't, restart the TV and try again.
Do I have to factory reset the TV?
Almost never. A factory reset is a last resort — try everything else first, starting with a fresh code and a hard restart (unplug, wait, replug).
Is Amazon MyTV the same as Prime Video activation?
Effectively, yes. "Amazon MyTV" is the name for the device-registration flow that links your TV to Prime Video. Each device has its own version of the same basic steps.
What if the code works once but fails the next time?
Each code is one-use. Once you've entered a code successfully, it's spent. If you need to re-register the TV later, generate a new code each time.
If I had to guess
If your "invalid code" error is fresh, it's almost certainly because the code expired between when you got it and when you entered it, or because of a typo. Those two account for most cases I've seen.
If neither of those fixes it, look at the browser and the internet connection on both devices. If those are fine too, the problem is usually on the account side — sign in, sign out, and check your device limit.
Everything above still fails? That's the point to contact Prime Video support directly. But I've never had to make that call myself — one of the first seven fixes always got me through.