# Icloud connect not working: HTTP error 400

**URL:** <https://forum.rclone.org/t/icloud-connect-not-working-http-error-400/52019>\
**Category:** Suspected Bug\
**Created:** [July 20, 2025, 1:44pm UTC](https://forum.rclone.org/t/icloud-connect-not-working-http-error-400/52019 "2025-07-20T13:44:19Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![LeoW](https://forum.rclone.org/letter_avatar_proxy/v4/letter/l/edb3f5/32.png) [@LeoW](https://forum.rclone.org/u/LeoW)\
**Post date:** [September 4, 2025, 8:44pm UTC](https://forum.rclone.org/t/icloud-connect-not-working-http-error-400/52019/23 "2025-09-04T20:44:11Z")

</div>

Hi,

I signed up for a free icloud account. I can log in and see the pictures and files I have there.

When I try to log in via a browser I get an SMS code sent to my phone. I also receive an email from Apple letting me know that I have successfully logged in.

When I run rclone Apple lets me know via email that I have logged in via a browser even though I have not successfully completed the rclone 2fa.

Every time I try and re-establish my rclone remote even though I have not completed the two-factor Authentication I get an email from Apple saying that I was successfully logged in Via a web browser even though I really wasn’t.

“Your Apple Account was used to sign in to iCloud via a web browser.”

“

| Dear Joe Schmo, |
| --- |
| Your Apple Account (**[schmojoe@email.com](mailto:schmojoe240@gmail.com)**) was used to sign in to iCloud via a web browser. |
| Date and Time: September 4, 2025, 12:07 PM PDT” |

**HERE is what the attempt looks like with DEBUG -vv enabled:**

C:\Users\king\>rclone -vv --user-agent="MyCloud" config reconnect dkicloud:  
2025/09/04 20:13:40 DEBUG : rclone: Version "v1.71.0" starting with parameters ["rclone" "-vv" "--user-agent=MyCloud" "config" "reconnect" "dkicloud:"]  
2025/09/04 20:13:40 DEBUG : Using config file from "C:\Users\king\AppData\Roaming\rclone\rclone.conf"  
2025/09/04 20:13:40 DEBUG : dkicloud: config in: state="", result=""  
2025/09/04 20:13:40 DEBUG : icloud: Authenticating as [schmo@gmail.com](mailto:schmo@gmail.com)  
2025/09/04 20:13:41 DEBUG : Saving config "cookies" in section "dkicloud" of the config file  
2025/09/04 20:13:41 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-  
2025/09/04 20:13:41 DEBUG : dkicloud: config out: out=&{State:2fa\_do Option: OAuth: Error: Result:}, err=  
2025/09/04 20:13:41 DEBUG : dkicloud: config: reading config parameter "config\_2fa"  
Option config\_2fa.  
Two-factor authentication: please enter your 2FA code  
Enter a value.  
config\_2fa\>

My phone never receives an SMS with the code the way it does when using a browser.

---

_[View the full topic](https://forum.rclone.org/t/icloud-connect-not-working-http-error-400/52019)._
