Apple TV “the code is incorrect” error… when the code is correct!

We ran into a weird scenario where a user could not connect to Apple TV with a passcode. We tried all the usual troubleshooting stuff:

  • Does it work with another computer? Yes, it does.
  • Does it work with another user on the same computer? No, it doesn’t.
  • Toggle Bluetooth? Makes no difference.
  • Reboot the AppleTV and the computer. No difference.
  • Double-check the key mapping is fine on the Mac itself. It is.
  • Try to connect to a different Apple TV. Same problem.
  • Is the time correct? Seems to be.

Ah, but that ended up being the problem (kudos to my colleague, Jerold, for finding this)—even though the time and date were technically “correct,” we had to turn on location services and then set the time zone to be detected automatically in order for the Mac to connect to the Apple TV.

That’s weird. It’s weird because the time and date were definitely correct, and it’s weird because other Macs do not have the time zone set to be detected automatically and are still able to connect to Apple TVs on campus.

But if you run into this issue where you’re prompted for a passcode to connect to an Apple TV, and it keeps giving you the code is incorrect when you’re absolutely sure you’ve typed the correct code, consider setting the time zone for automatic detection.


Posted

in

by

Comments

14 responses to “Apple TV “the code is incorrect” error… when the code is correct!”

  1. Dave Avatar
    Dave

    YES YES YES !! After trying about a million other things – resetting the stupid name worked.

    My issue started when I updated my iphones to 10.3.1. Well, I didnt want to update, but Apple kept forcing the issue.

    At least this fix worked, but 30mins of my life are gone forever…

  2. Perez Avatar
    Perez

    Your tip worked perfectly ! Thank you

  3. David Avatar
    David

    Well, checked my MBP and AirPlay settings and both were set as described above, and STILL the password entered into my MBP from the AirPlay Screen showed “incorrect”. Any other suggestions?

    1. Alan Siu Avatar
      Alan Siu

      No, unfortunately… even that time zone thing was a shot in the dark.

    2. Alejandro Avatar

      Same problem here. Did you finally solved it? If so, how?

      I’ve tried to change the name. I’ve changed location from manual to auto.

      I’ve reseted everything.

      My problem started with my mac when I updated my iPhone.

      1. Alejandro Avatar

        I was able to avoid the password error going to:

        Airplay -> Airplay -> Anybody in the same network -> request password -> never.

        But now, when mirroring to apple tv the screen stays black.

        1. Thomas Avatar
          Thomas

          I have a 4K Apple TV and this option worked for me after all of the previous attempts failed:

          Airplay -> Airplay -> “Everyone” -> “Use a Password”

          Using a password rather than using a pairing code seemed to be the difference.

          1. o Avatar
            o

            Worked for me. Thanks

          2. Ali Avatar
            Ali

            Thanks man, solved!

          3. Michal Avatar
            Michal

            Didn’t work the first time I tried it. But then I restarted my computer since I changed a setting and viola! Thanks!!!!

          4. David Avatar
            David

            Thankyou so much. the password worked. u sir are a genius.

  4. Jacques Theron Avatar
    Jacques Theron

    thank you !

  5. SJ Avatar
    SJ

    Worked for me using Apple TV 4th Gen. Remember to Restart the Apple TV after changing the time zone setting

  6. Jack Hartman Avatar
    Jack Hartman

    Tried all those things. Nothing worked. So, I go to Airplay and set “require a password”. Then used it. That worked.

Leave a Reply

Your email address will not be published. Required fields are marked *