OneDrive connections failing with "generalException: An assertion failed while processing this request."

What is the problem you are having with rclone?

As of yesterday afternoon -- approximately 24 hours ago -- connections to my OneDrive account using rclone are consistently failing. This seems to affect all rclone commands, and persists even if I reconfigure and reauthenticate the remote.

I'm seeing this behaviour on multiple Linux systems. My Windows devices using the Microsoft OneDrive client, and the OneDrive web interface, all seem to be working as normal, so I don't believe my OneDrive account has been locked or similar.

Run the command 'rclone version' and share the full output of the command.

Seen using all the following:

rclone v1.69.1
- os/version: nixos 25.05 (64 bit)
- os/kernel: 6.12.34 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.24.3
- go/linking: dynamic
- go/tags: cmount
- os/version: nixos 25.05 (64 bit)
- os/kernel: 6.12.34 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.24.4
- go/linking: dynamic
- go/tags: cmount
rclone 1.68.2
- os/version: nixos 24.11 (64 bit)
- os/kernel: 6.6.31 (aarch64)
- os/type: linux
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.23.8
- go/linking: dynamic
- go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

OneDrive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone lsf -vv onedrive:

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[onedrive]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal

[XXX]
type = webdav
url = XXX
vendor = nextcloud
user = XXX
pass = XXX
### Double check the config for sensitive info before posting publicly

A log from the command that you were trying to run with the -vv flag

$ rclone lsf -vv onedrive:
2025/06/22 21:05:56 DEBUG : rclone: Version "v1.69.1" starting with parameters ["/home/adam/.nix-profile/bin/rclone" "lsf" "-vv" "onedrive:"]
2025/06/22 21:05:56 DEBUG : Creating backend with remote "onedrive:"
2025/06/22 21:05:56 DEBUG : Using config file from "/home/adam/.config/rclone/rclone.conf"
2025/06/22 21:05:57 DEBUG : pacer: low level retry 1/10 (error generalException: An assertion failed while processing this request.)
2025/06/22 21:05:57 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2025/06/22 21:05:58 DEBUG : pacer: low level retry 2/10 (error generalException: An assertion failed while processing this request.)
2025/06/22 21:05:58 DEBUG : pacer: Rate limited, increasing sleep to 40ms
2025/06/22 21:05:58 DEBUG : pacer: low level retry 3/10 (error generalException: An assertion failed while processing this request.)
2025/06/22 21:05:58 DEBUG : pacer: Rate limited, increasing sleep to 80ms
2025/06/22 21:05:58 DEBUG : pacer: low level retry 4/10 (error generalException: An assertion failed while processing this request.)
2025/06/22 21:05:58 DEBUG : pacer: Rate limited, increasing sleep to 160ms
2025/06/22 21:05:58 DEBUG : pacer: low level retry 5/10 (error generalException: An assertion failed while processing this request.)
2025/06/22 21:05:58 DEBUG : pacer: Rate limited, increasing sleep to 320ms
2025/06/22 21:05:58 DEBUG : pacer: low level retry 6/10 (error generalException: An assertion failed while processing this request.)
2025/06/22 21:05:58 DEBUG : pacer: Rate limited, increasing sleep to 640ms
2025/06/22 21:05:58 DEBUG : pacer: low level retry 7/10 (error generalException: An assertion failed while processing this request.)
2025/06/22 21:05:58 DEBUG : pacer: Rate limited, increasing sleep to 1.28s
2025/06/22 21:05:59 DEBUG : pacer: low level retry 8/10 (error generalException: An assertion failed while processing this request.)
2025/06/22 21:05:59 DEBUG : pacer: Rate limited, increasing sleep to 2s
2025/06/22 21:06:00 DEBUG : pacer: low level retry 9/10 (error generalException: An assertion failed while processing this request.)
2025/06/22 21:06:02 DEBUG : pacer: low level retry 10/10 (error generalException: An assertion failed while processing this request.)
2025/06/22 21:06:02 ERROR : : error listing: couldn't list files: generalException: An assertion failed while processing this request.
2025/06/22 21:06:02 DEBUG : 6 go routines active
2025/06/22 21:06:02 NOTICE: Failed to lsf with 2 errors: last error was: error in ListJSON: couldn't list files: generalException: An assertion failed while processing this request.

welcome to the forum,

what is that?


rclone lsf onedrive: -vv
DEBUG : rclone: Version "v1.70.1" starting with parameters ["rclone" "lsf" "onedrive:" "-vv"]
DEBUG : Creating backend with remote "onedrive:"
DEBUG : Using config file from "d:\\data\\rclone\\rclone.conf"
DEBUG : OneDrive root '': Token expired but no uploads in progress - doing nothing
DEBUG : onedrive: Loaded invalid token from config file - ignoring
DEBUG : Saving config "token" in section "onedrive" of the config file
DEBUG : Keeping previous permissions for config file: -rw-rw-rw-
DEBUG : onedrive: Saved new token in config file
file.ext
zork/

Apologies, that is me failing to competently redact an unrelated remote. I've edited the original post to have the actual config with some extra redactions, and copied it below, too.

[onedrive]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal

[XXX]
type = webdav
url = XXX
vendor = nextcloud
user = XXX
pass = XXX
### Double check the config for sensitive info before posting publicly

Okay, it spontaneously started working again today. I'm not sure what went wrong; it might be that there was some rate limit with a 48-hour lock-out, or it might be something else. Certainly there were no useful error messages without adding any -v arguments, and with those arguments it wasn't clear to me whether the problem was the "generalException" or the apparent rate limit.