OneDrive sync fail after few minutes

I've got an issue with a rclone sync command on a OneDrive personal account.

Everything seems to work fine but after few minutes I've got an error InvalidAuthenticationToken: Unable to initialize RPS and rclone finally stop with a failed to sync error.
When I relaunch the sync, it continue to sync but stop again after few minutes.
My directory has lot of small files, could it be the reason of the fail? Is there a specific settings to handle that?

Thanks for your help.

Here's an extract of the log when it start to fail:

2019/09/19 13:13:26 INFO  : node/twistjs/client/lib/enyo-ilib/ilib/locale/zoneinfo/Mexico/BajaSur.json: Copied (new)
2019/09/19 13:13:26 INFO  : node/twistjs/client/lib/enyo-ilib/ilib/locale/zoneinfo/Indian/Mauritius.json: Copied (new)
2019/09/19 13:13:26 INFO  : node/twistjs/client/lib/enyo-ilib/ilib/locale/zoneinfo/Indian/Mahe.json: Copied (new)
2019/09/19 13:13:27 INFO  : node/twistjs/client/lib/enyo-ilib/ilib/locale/zoneinfo/Pacific/Apia.json: Copied (new)
2019/09/19 13:13:27 INFO  : node/twistjs/client/lib/enyo-ilib/ilib/locale/zoneinfo/Pacific/Auckland.json: Copied (new)
2019/09/19 13:13:27 INFO  : node/twistjs/client/lib/enyo-ilib/ilib/locale/zoneinfo/Pacific/Chatham.json: Copied (new)
2019/09/19 13:13:27 INFO  : node/twistjs/client/lib/enyo-ilib/ilib/locale/zoneinfo/Pacific/Bougainville.json: Copied (new)
2019/09/19 13:13:27 ERROR : node/twistjs/client/lib/enyo-ilib/ilib/locale/zoneinfo/Pacific/Enderbury.json: Failed to copy: InvalidAuthenticationToken: Unable to initialize RPS
2019/09/19 13:13:27 ERROR : node/twistjs/client/lib/enyo-ilib/ilib/locale/zoneinfo/Pacific/Fakaofo.json: Failed to copy: InvalidAuthenticationToken: Unable to initialize RPS
2019/09/19 13:13:27 ERROR : node/twistjs/client/lib/enyo-ilib/ilib/locale/zoneinfo/Pacific/Fiji.json: Failed to copy: InvalidAuthenticationToken: Unable to initialize RPS

Check the time is correct on the computer running rclone - maybe it isn't renewing the token in time.

You could also try reauthenticating rclone config reconnect on a new rclone.

The time is correct on my computer.
BTW sounds to work after reauthenticating and launching again rclone.
Thanks for your help and for this great tool :clap:

1 Like