When attempting to connect my personal OneDrive account to Cryptomator, I get the following error:
The operation couldn't be completed. (CryptomatorCloudAccessCore.One-DriveError error 0.)
This did work at one time, maybe 18 moths ago, but I noticed when switching phones and never bothered to dig into it. I have multiple personal and work accounts that work without issue but one account - for which both personal and work versions exist using the same email - is causing this issue. If I had to guess, it’s that namespace collision that’s causing the issue.
I tested by deleting the existing Cryptomator account integration on the OneDrive side (Sign in to your Microsoft account) and attempted to re-authenticate using Cryptomator. It immediately failed after login and did not prompt me with an integration request (as my other accounts do).
Here’s the excerpt from the log that makes me suspect a namespace collision:
2025/01/15 16:12:13:998 Error: SQLite error 19: UNIQUE constraint failed: accountListPosition.position, accountListPosition.cloudProviderType - while executing `UPDATE "accountListPosition" SET "position"=?, "accountUID"=? WHERE "rowid"=?`
2025/01/15 16:12:45:474 --> GET https://graph.microsoft.com/v1.0/me/drive/items/root/children?$top=1000
2025/01/15 16:12:45:474 --> END GET
2025/01/15 16:12:45:723 <-- 400 bad request https://graph.microsoft.com/v1.0/me/drive/items/root/children?$top=1000
Wondering if my hunch might be correct here and what additional troubleshooting I can do to help resolve this.
thanks!