-
Notifications
You must be signed in to change notification settings - Fork 554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
icloudpd fails to authenticate to iCloud (iCloud Picture Downloader) #994
Comments
I have the same issue since a few weeks ago: icloudpd-1.23.4-windows-amd64.exe --username [email protected] --auth-only I enter my password and I get the below. I double checked my password and I also login with these credentials at icloud.com - my account is not locked. 2024-11-09 22:32:10 DEBUG Authenticating... The above exception was the direct cause of the following exception: Traceback (most recent call last): |
I have been fighting with this for days. But along with a few other posts, the only way Ive had it work (and just fixed it 20 minutes ago myself) was to change my appleid password (which isn't a big deal cause it prompts you if you want to sign out of everything or not - I choose not). then re-ran the command and 2FA went through... |
what version of |
1.24.3. I updated to the new one last week which is what prompted my issues. I also found I had to delete the .pycloud folder from my home folder (Im on a Mac). Though not sure that was actually needed in truth. |
I think the issue is coming from the upstream |
icloudpd-1.23.4 in my case
I will try today to reset my pw and see what happens. Although how does it make sense if the account is accesible from everywhere else (even private browser session and etc).. will report back EDIT (again): Ok I think on my end, at the end, changing the password and updating to 1.24.3 (from 1.23.4) worked. For some reason also my docker was failing to update itself and was using an old image so had to manually delete and redownload. |
1.24.2 is the release where "Service Error 503" was [supposedly] fixed |
We use forked version of that lib, but you are correct, that is the same issue |
I uninstalled icloudpd and reinstalled it (1.24.3). Sometimes I get one more line of output
So I still do not get logged in, much less start downloding. |
I have a similar issue, I just pulled the latest docker image, but I am getting this error when authenticating:
|
Still having the 401 error with one account only. Had user change the password and updated to Windows Version 1.24.3 Same error output as reported in version 1.24.0 version bug report |
As @codebar33 reported gcobb321/icloud3#388 (comment), the password hash algorithm should depend on the protocol, which is in the response of Adding this implementation might help. |
Overview
Trying to download most recent picture from my iCloud camera roll, using command line
icloudpd -u [email protected] -p myPassWord! --recent 1 --folder-structure {:%Y/%m} --directory /pictures/Imports/username
on Fedora 40
Steps to Reproduce
See above
Expected Behavior
Expect to see one picture get downloaded
Actual Behavior
icloudpd -u [email protected] -p myPassWord! --recent 1 --folder-structure {:%Y/%m} --directory /pictures/Imports/Lars
2024-11-09 12:54:34 DEBUG Authenticating...
2024-11-09 12:54:35 ERROR Service Temporarily Unavailable (503)
Traceback (most recent call last):
File "pyicloud_ipd/base.py", line 357, in authenticate
File "requests/sessions.py", line 637, in post
File "pyicloud_ipd/base.py", line 134, in request
File "pyicloud_ipd/base.py", line 207, in _raise_error
pyicloud_ipd.exceptions.PyiCloudAPIResponseException: Service Temporarily Unavailable (503)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "starters/icloudpd.py", line 6, in
File "click/core.py", line 1157, in call
File "click/core.py", line 1078, in main
File "click/core.py", line 1434, in invoke
File "click/core.py", line 783, in invoke
File "icloudpd/base.py", line 328, in main
File "icloudpd/base.py", line 760, in core
File "icloudpd/authentication.py", line 31, in authenticate_
File "pyicloud_ipd/base.py", line 305, in init
File "pyicloud_ipd/base.py", line 365, in authenticate
pyicloud_ipd.exceptions.PyiCloudFailedLoginException: ('Invalid email/password combination.', PyiCloudAPIResponseException('Service Temporarily Unavailable (503)'))
[777119] Failed to execute script 'icloudpd' due to unhandled exception!
Context
This has worked recently. No significant updates recently (other than the incremental dnf updates that run daily).
Not cured by retries.
Not cured by removing folder ~/.pyicloud and its contents.
My iPhone did not get the 2FA prompts.
The text was updated successfully, but these errors were encountered: