ERROR STORAGE_CREATE Failed to load the OneDrive

The whole error is

2019-05-27 14:05:24.618 ERROR STORAGE_CREATE Failed to load the OneDrive storage at one://duplicacy: invalid character ‘}’ after top-level value

Help?

1 Like

My one drive token had an extra closing } at the end of it somehow. I definitely didn’t modify it – my backups have been working fine for a few weeks.

Could this be the same thing as the issue in your other thread here?

My first thought was also that it could have been caused by multiple threads attempting to refresh the token file at the same time, but I found that there is already a lock in place to prevent this:

So maybe this was caused by ioutil.WriteFile not calling Sync(): src/io/ioutil/ioutil.go - The Go Programming Language

I have the same issue now on duplicacy 2.7.2
Is there a fix for it?

I also have this issue now. I’m using Duplicacy web but I did update the cli binary to the latest 3.2.4 version after I saw the error. Updating to 3.2.4 didn’t solve the issue.

I’m using OneDrive as well. If you delete the token file and download a new one, then it works for a few days but it eventually breaks again with that same message. This is on macOS Sequoia. I’m also using a OneDrive student account.

Also, I definitely do not have more than one instance of Duplicacy running at the same time (just the web version). But it’s possible that I have some jobs with overlapping schedules.I’ll change the schedule timing to see if maybe that is the issue.