Skip to content

[ISSUE] Error "WARNING :: icloudpy.services.drive.http :: base.py :: 137 :: Failed to parse response with JSON mimetype" #359

@Sunchez96

Description

@Sunchez96

Hello - First of all: Great work with the icloud docker! Easy to Setup and Use. It is a great addition to the scheduled backups to my home nas.

User Exports - Config.yaml (user passwords redacted) + log export + docker compose file (its a .yml but only the text inside is important) are attached
User System - UGREEN + docker compose via portainer
User Login - ICloud via 2FA

After syncing my whole ICloud Drive + Photos the second sync "run" does not complete.
The downloaded ICloud library is 68GB in folders and various files.
Error Message (Sample)- 2025-10-15 16:45:39,938 :: WARNING :: icloudpy.services.drive.http :: base.py :: 137 :: Failed to parse response with JSON mimetype
Error Message 2 (Sample) - 2025-10-15 18:00:47,366 :: ERROR :: icloudpy.base :: base.py :: 180 :: Bad Gateway (502)

I tried:
This message shows up regardless of stopping the container + restart, or keeping it running.
Switching from "remove_obsolete: true" to "remove_obsolete: false" but I get the same error message.

_icloud_logs.txt
config.yaml
compose file.yml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions