I’ve been using rclone for a while, and it’s great. I’ve run across one really weird problem with one name on OneDrive for Business. To summarize:
rclone sync /source/Audio onedrive:/destination/Audio [Works fine]
rclone sync /source/Video onedrive:/destination/Video [Error*]
rclone sync /source/Video onedrive:/destination/video [Error*]
rclone sync /source/Video onedrive:/destination/Video2 [Works fine]
rclone sync /source/Video onedrive:/destination/Banana [Works fine]
*The error is ‘Failed to create file system for “onedrive:/destination/Video”: “Video”: is not a regular file’
Using ‘-vv’ the DEBUG output includes “Couldn’t decode error response: invalid character ‘{’ looking for beginning of object key string”
I thought there might be something odd about the target folder so I deleted it and recreated it. Same result.
I can upload via other means to the destination “Video” just fine (OneDrive client, website).
I tried creating the folder with another name (“DV”) and it worked just fine. However, when I renamed the folder from “DV” to “Video” it broke again with the same error. It seems to be very specific to the word “Video”, at least that’s the only word I’ve found so far.
DEBUG output:
2019/04/02 12:18:54 DEBUG : rclone: Version “v1.46” starting with parameters [“rclone” “–log-file=rclone.log” “-vv” “sync” “/data/archive/Video” “onedrive365:/Archive/Video”]
2019/04/02 12:18:54 DEBUG : Using config file from “/home/drbrynzo/.rclone.conf”
2019/04/02 12:18:56 DEBUG : Couldn’t decode error response: invalid character ‘{’ looking for beginning of object key string
2019/04/02 12:18:57 Failed to create file system for “onedrive365:/Archive/Video”: “Video”: is a not a regular file