Failure on INF enter 2FA code.
What happened?
Expected to authenticate
Got a failure each time
$ ipatool auth login -e [email protected] -p 1abcde.
1:28AM INF enter 2FA code:
811138
1:28AM ERR error="something went wrong" success=false
$ uname -a
Darwin Cray1 21.6.0 Darwin Kernel Version 21.6.0: Mon Jun 24 00:56:10 PDT 2024; root:xnu-8020.240.18.709.2~1/RELEASE_X86_64 x86_64
Version
2.2.0
Relevant log output
$ ipatool auth login -e [email protected] -p 1abcde.
1:28AM INF enter 2FA code:
811138
1:28AM ERR error="something went wrong" success=false
I meet same trouble too
@supersophie
I meet same trouble too
so I believe apple updated their API, I am looking as we speak to see if I can get a PR out for this
I meet same trouble too
so I believe apple updated their API, I am looking as we speak to see if I can get a PR out for this
Hi, there is something wrong again with their API ? cause I've tried multiple times login and don't get popup login in my phone but when I try login with browser it seems work well.
(solved) run with git-cli
I meet same trouble too
so I believe apple updated their API, I am looking as we speak to see if I can get a PR out for this
Hi, there is something wrong again with their API ? cause I've tried multiple times login and don't get popup login in my phone but when I try login with browser it seems work well.
(solved) run with git-cli
hi, could you tell how can I use this tool? I try to build binary exe file and run
✦3 ❯ ./ipatool auth login -e [email protected] -p xxxxxxxxx --verbose
[4] 18822
zsh: command not found: 8c
ipatool on fix/invalid-auth-code [?] via 🐹 v1.24.1
✦4 ❯ 8:05AM INF enter 2FA code:
[4] + suspended (tty input) ./ipatool auth login -e [email protected] -p xxxxxxxxx
but the process was already terminated before I had a chance to enter the 2FA code.
hi, could you tell how can I use this tool? I try to build binary exe file and run
✦3 ❯ ./ipatool auth login -e [email protected] -p xxxxxxxxx --verbose
[4] 18822 zsh: command not found: 8cipatool on fix/invalid-auth-code [?] via 🐹 v1.24.1 ✦4 ❯ 8:05AM INF enter 2FA code:
[4] + suspended (tty input) ./ipatool auth login -e [email protected] -p xxxxxxxxx but the process was already terminated before I had a chance to enter the 2FA code.
Hi, I didn't build the exe, just download from release version, extract and then run exe from the terminal.
I ran the exe, but got this error:
D:\Downloads\Compressed\ipatool>ipatool-2.2.0-windows-amd64.exe auth login --email "xxx" --password "xxx"
4:35AM INF enter 2FA code:
xxxxxx
4:35AM ERR error="something went wrong" success=false
D:\Downloads\Compressed\ipatool>
Never figured out what that means.
I had the same problem. The error is potentially misleading. The failure appears after the 2FA code so it's tempting to assume that it's an authentication problem. But it may be a syntax problem.
If you check the help, it will show the flags for the login command. Try:
ipatool auth login --help
The email flag is listed there as '-e', and ambiguously '--email'. It seems like either one should work, but maybe try:
ipatool auth login -e [email protected]
On my system this morning, I immediately got a notification on my other devices that I was trying to login on another device, just as I would if I were trying to login to iCloud. I took the 2FA code from that message and entered it in ipatool and, presto, I was in!
this could help resolve your issue!
alduraji@Mac bin % ./ipatool-2.2.0-macos-arm64 auth login -e [email protected]
10:28AM INF enter password:
10:28AM ERR error="something went wrong" success=false
alduraji@Mac bin % ./ipatool-2.2.0-macos-arm64 auth login -e [email protected]
10:29AM INF enter password:
10:29AM INF enter 2FA code:
633358
10:29AM INF [email protected] name="Mohamed B Al-Duraji" success=true
alduraji@Mac bin % cd ../..
alduraji@Mac repo % rm -rf ipatool
alduraji@Mac repo % ipatool auth info
10:32AM INF [email protected] name="Mohamed B Al-Duraji" success=true
i had already installed the ipatool via homebrew, but attempted to use the extracted tarball in hopes it may resolve the issue to no avail. It is very much so an issue server-side and nothing to do with your installation.
Try another Apple ID, it should work. For context "[email protected]" I created now, region United States and it spat out the same issue. But logging in with my normal Apple ID resolved fine and the 2FA was sent to my device to login.
I suspect it be something to do with the 2FA specifically, since the second account's region is the UK and it worked fine, and the error seems off success=true?. This might be a long shot but are you specifically receiving the 2FA via an SMS message or are you logged in on any iDevice which allows you to receive the 2FA on the device itself?
Like so? Let me know if this fixes it! @AkimioJR @supersophie
this could help resolve your issue!
alduraji@Mac bin % ./ipatool-2.2.0-macos-arm64 auth login -e [email protected] 10:28AM INF enter password: 10:28AM ERR error="something went wrong" success=false alduraji@Mac bin % ./ipatool-2.2.0-macos-arm64 auth login -e [email protected] 10:29AM INF enter password: 10:29AM INF enter 2FA code: 633358 10:29AM INF [email protected] name="Mohamed B Al-Duraji" success=true alduraji@Mac bin % cd ../.. alduraji@Mac repo % rm -rf ipatool alduraji@Mac repo % ipatool auth info 10:32AM INF [email protected] name="Mohamed B Al-Duraji" success=truei had already installed the ipatool via homebrew, but attempted to use the extracted tarball in hopes it may resolve the issue to no avail. It is very much so an issue server-side and nothing to do with your installation.
Try another Apple ID, it should work. For context "[email protected]" I created now, region United States and it spat out the same issue. But logging in with my normal Apple ID resolved fine and the 2FA was sent to my device to login.
I suspect it be something to do with the 2FA specifically, since the second account's region is the UK and it worked fine, and the error seems off
success=true?. This might be a long shot but are you specifically receiving the 2FA via an SMS message or are you logged in on any iDevice which allows you to receive the 2FA on the device itself?![]()
Like so? Let me know if this fixes it! @AkimioJR @supersophie
I try enclosing email in double quotes like ./ipatool auth login -e "[email protected]" and login success