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

[PYI-39901:ERROR] Failed to execute script 'icloudpd' due to unhandled exception! #1066

Open
pharshalp opened this issue Jan 26, 2025 · 0 comments
Labels

Comments

@pharshalp
Copy link

Overview

I have turned off ADP and enabled "Access icloud on the web". 2-step authentication does work (tested by running icloudpd --username [email protected] --password my_password --auth-only) but I am unable to download photos... can't even list libraries. The last time I used this tool successfully was around August 2024.

Steps to Reproduce

  1. Using the latest icloupd installed from pypi (v1.26.1). Python version 3.12.8.
  2. icloudpd --list-libraries --username [email protected] --password mypassword

Expected Behavior

Actual Behavior

2025-01-26 11:38:34 DEBUG Authenticating...
2025-01-26 11:38:34 ERROR Bad Request (400)
Traceback (most recent call last):
File "starters/icloudpd.py", line 6, in
File "click/core.py", line 1161, in call
File "click/core.py", line 1082, in main
File "click/core.py", line 1443, in invoke
File "click/core.py", line 788, in invoke
File "icloudpd/base.py", line 767, in main
File "icloudpd/base.py", line 1251, in core
File "pyicloud_ipd/base.py", line 632, in photos
File "pyicloud_ipd/services/photos.py", line 283, in init
File "pyicloud_ipd/services/photos.py", line 170, in init
File "requests/sessions.py", line 637, in post
File "pyicloud_ipd/session.py", line 122, in request
File "pyicloud_ipd/session.py", line 196, in _raise_error
pyicloud_ipd.exceptions.PyiCloudAPIResponseException: Bad Request (400)
[PYI-39901:ERROR] Failed to execute script 'icloudpd' due to unhandled exception!

Context

@pharshalp pharshalp added the bug label Jan 26, 2025
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

1 participant