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

ERROR private db access disabled for this account (probably ADP) #1024

Open
internationils opened this issue Dec 22, 2024 · 1 comment
Open
Labels

Comments

@internationils
Copy link

Hello, just installed it and logged in, and got this error. I though it would be good to handle the exception cleanly and point to one of the apple sites / resources or mention the fact that icloudpd does not work with ADP turned on. Thanks!

Related:

2024-12-22 19:13:10 INFO     Great, you're all set up. The script can now be run without user interaction until 2FA expires.
You can set up email notifications for when the two-factor authentication expires.
(Use --help to view information about SMTP options.)
2024-12-22 19:13:10 ERROR    private db access disabled for this account.  Please wait a few minutes then try again.The remote servers might be trying to throttle requests. (ACCESS_DENIED)
Traceback (most recent call last):
  File "starters/icloudpd.py", line 6, in <module>
  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 753, in main
  File "icloudpd/base.py", line 1235, in core
  File "pyicloud_ipd/base.py", line 603, 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 167, in request
  File "pyicloud_ipd/session.py", line 196, in _raise_error
pyicloud_ipd.exceptions.PyiCloudAPIResponseException: private db access disabled for this account.  Please wait a few minutes then try again.The remote servers might be trying to throttle requests. (ACCESS_DENIED)
[6210] Failed to execute script 'icloudpd' due to unhandled exception!

@AndreyNikiforov
Copy link
Collaborator

Is it confirmed that for access blocked by ADP, iCloud.com returns quoted "ACCESS_DENIED" error? If it is, that extending error message with ADP link should be a easy.

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