Skip to content
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

‘Missing apple_id field!’This problem has been bothering me for a long time, who can help me?Can’t it be used without 2fa certification? #957

Closed
14278358 opened this issue Sep 23, 2024 · 1 comment
Labels

Comments

@14278358
Copy link

C:\Users\abcabc>icloudpd --directory C:\Users\5257\Desktop\PyCharm\pythonProject\icloud_photos --username [email protected] --password abcabc --recent 10 --log-level debug
2024-09-23 17:15:11 DEBUG Authenticating...
2024-09-23 17:15:14 ERROR Missing apple_id field (Missing apple_id field)
Traceback (most recent call last):
File "pyicloud_ipd\base.py", line 241, in _authenticate_with_token
File "requests\sessions.py", line 637, in post
File "pyicloud_ipd\session.py", line 167, in request
File "pyicloud_ipd\session.py", line 196, in _raise_error
pyicloud_ipd.exceptions.PyiCloudAPIResponseException: Missing apple_id field (Missing apple_id field)

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 745, in main
File "icloudpd\base.py", line 1179, in core
File "icloudpd\authentication.py", line 53, in authenticate_
File "pyicloud_ipd\base.py", line 157, in init
File "pyicloud_ipd\base.py", line 221, in authenticate
File "pyicloud_ipd\base.py", line 247, in _authenticate_with_token
pyicloud_ipd.exceptions.PyiCloudFailedLoginException: ('Invalid authentication token.', PyiCloudAPIResponseException('Missing apple_id field (Missing apple_id field)'))
[5832] Failed to execute script 'icloudpd' due to unhandled exception!

@14278358 14278358 added the bug label Sep 23, 2024
@AndreyNikiforov
Copy link
Collaborator

[Dup] Search for this error in the issues for this repo - you may have idea what is causing it for your account, e.g. #920, #770

Note about 2fa: once enabled for account, it cannot be turned off. New accounts must have 2fa enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants