-
Notifications
You must be signed in to change notification settings - Fork 573
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
'Invalid email/password combination' error #506
Comments
The issue turned out to be a change of Apple ID e-mail address - I had to change the Apple ID password too. The correct password worked on Apple devices but not with icloud.com nor icloud_photos_downloader. I guess the Apple ID e-mail address contains salt for the password so whenever the Apple ID e-mail address is changed, the password eventually has to be changed too. |
Using icloudpd, version 1.16.3, Python 3.10.12 I suddenly started getting this same error after successfully downloading a few thousand photos in a first run with the command: During handling of the above exception, another exception occurred: Traceback (most recent call last): ...and I keep getting it ever since. I did not change anything in between runs, certainly not my Apple ID e-mail address. I double checked that the specified username/password was correct by successfully logging in on icloud.com using the same credentials. No problems accessing my iCloud photo library via web browser or on the iPhone. I have also tried afterwards to change my iCloud password, reset my password etc. but iCloudPD keeps throwing that same error and icloud.com works fine. |
See #729 |
I have the same problem guys. And I tried to make a fresh icloudpd install. even that is not working. |
Overview
The script generates "Invalid email/password combination." error with "Unknown reason" when it previously worked well.
I am NOT in China.
Steps to Reproduce
icloudpd -u '?????@????.???' -p '?????' --list-albums
Actual Behavior
pyicloud_ipd.exceptions.PyiCloudFailedLoginException: ('Invalid email/password combination.',
PyiCloudAPIResponseError('Unknown reason'))
Context
$ icloudpd -u '?????@????.???' -p '?????' --list-albums
2022-12-10 19:28:17 DEBUG Authenticating...
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/pyicloud_ipd/base.py", line 209, in authenticate
req = self.session.post(
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 635, in post
return self.request("POST", url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.9/site-packages/pyicloud_ipd/base.py", line 100, in request
self._raise_error(code, reason)
File "/usr/local/lib/python3.9/site-packages/pyicloud_ipd/base.py", line 122, in _raise_error
raise api_error
pyicloud_ipd.exceptions.PyiCloudAPIResponseError: Unknown reason
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/icloudpd", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/icloudpd/base.py", line 255, in main
icloud = authenticate(
File "/usr/local/lib/python3.9/site-packages/icloudpd/authentication.py", line 29, in authenticate
icloud = pyicloud_ipd.PyiCloudService(
File "/usr/local/lib/python3.9/site-packages/pyicloud_ipd/base.py", line 193, in init
self.authenticate()
File "/usr/local/lib/python3.9/site-packages/pyicloud_ipd/base.py", line 216, in authenticate
raise PyiCloudFailedLoginException(msg, error)
pyicloud_ipd.exceptions.PyiCloudFailedLoginException: ('Invalid email/password combination.',
PyiCloudAPIResponseError('Unknown reason'))
$
The text was updated successfully, but these errors were encountered: