InvalidAuthenticationToken: Unable to initalize RPS

Hi,

Having the same issue (rclone 1.55.0, OneDrive Personnal). I thought it was related to this :

It looks like it's not the case.

I just tried to adjust --user-agent by adding it to my usual sync command :

sudo rclone sync /var/lib/docker/volumes/nextcloud/_data/data/JS/files/Pro Cabinet: -vv --delete-excluded --log-file=/home/pi/scripts/cabinet-cron.log --create-empty-src-dirs --user-agent Cabinet

I'm still getting random errors :

2021/04/18 16:04:15 DEBUG : Dossiers/0 - Archive/XXX c MP/4 - Pièces/Copie intégrale de la procédure.pdf: Unchanged skipping
2021/04/18 16:04:15 ERROR : Dossiers/0 - Archive/XXX c MP/6 - Copies pénales/D: error reading destination directory: couldn't list files: InvalidAuthenticationToken: Unable to initialize RPS
2021/04/18 16:04:16 DEBUG : Dossiers/0 - Archive/XXX c MP/4 - Pièces/Bulletin solde décembre 2018.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)

As sweh noticed in another topic, it might be a wider issue :

https://docs.microsoft.com/en-us/answers/questions/360116/commicrosoftgraphhttpgraphserviceexception-error-c.html