# OneDrive Sync issues

**URL:** <https://discourse.joplinapp.org/t/onedrive-sync-issues/14967>\
**Category:** Support\
**Created:** [18 February 2021 14:24 UTC](https://discourse.joplinapp.org/t/onedrive-sync-issues/14967 "2021-02-18T14:24:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jschelfh](https://avatars.discourse-cdn.com/v4/letter/j/bb73d2/32.png) [@jschelfh](https://discourse.joplinapp.org/u/jschelfh)\
**Post date:** [18 February 2021 14:24 UTC](https://discourse.joplinapp.org/t/onedrive-sync-issues/14967/1 "2021-02-18T14:24:19Z")

</div>

- version: 1.7.11
- sync-destination: OneDrive Personal
- desktop-app
- windows/MacOS

I have the desktop-app installed on my Mac and I'm syncing to a OneDrive. This is working fine. The path in OneDrive is : "Apps/Joplin". - so far so good  
I installed the desktop app on windows and wanted to sync. This is failing with:  
"Error: Not a valid URL: [https://graph.microsoft.com/v1.0/drive/root:/Apps/Joplin](https://graph.microsoft.com/v1.0/drive/root:/Apps/Joplin) 1/info.json:/content"  
What I do not understand is the "/Apps/Joplin 1" - this should be "/Apps/Joplin"  
I can't seem to change this somewhere. I tried 🙂

- removing the app from windows
- deleting /Users//.config/joplin-desktop  
Reinstalled, but it still wants to go for "Joplin 1"  
Installed Mobile(android) app and tried to synchronise, but also there is goes to "Apps/Joplin 1"  
I see there are several similar reports but I'm not sure if they are exactly the same and how to recover from it.

---

<div class="post-metadata">

**Author:** ![Yann1ck](https://avatars.discourse-cdn.com/v4/letter/y/439d5e/32.png) [@Yann1ck](https://discourse.joplinapp.org/u/Yann1ck)\
**Post date:** [18 February 2021 17:34 UTC](https://discourse.joplinapp.org/t/onedrive-sync-issues/14967/2 "2021-02-18T17:34:46Z")

</div>

That seems to be an issue with the OneDrive API and how Joplin registers with OneDrive. If there is a problem with the API access, in your case that the folder `Apps/Joplin` already exists its creates a new one names `Joplin 1`.

On your Mac you are using the build in OneDrive sync right? You are not using filesystem sync to think to a OneDrive folder?

You can check here if Joplin is registered twice in your OneDrive account.  
[https://account.live.com/consent/Manage](https://account.live.com/consent/Manage)

---

<div class="post-metadata">

**Author:** ![jschelfh](https://avatars.discourse-cdn.com/v4/letter/j/bb73d2/32.png) [@jschelfh](https://discourse.joplinapp.org/u/jschelfh)\
**Post date:** [20 February 2021 21:12 UTC](https://discourse.joplinapp.org/t/onedrive-sync-issues/14967/3 "2021-02-20T21:12:06Z")

</div>

Indeed on my Mac I'm using the build-in OneDrive sync.  
I'm not sure how I ended up in this situation. I eventually did a complete fresh install/config:

- exporting my notes.
- removing the authorisation and Apps/Joplin folder in OneDrive
- removing the .config/joplin-desktop folder and on android under Apps, delete data.
- reconfigured every client 1-by-1
- imported my notes  
I now have 1 Mac, 1 windows and 2 android devices configured.

Thanks again for your help !

---

<div class="post-metadata">

**Author:** ![Yann1ck](https://avatars.discourse-cdn.com/v4/letter/y/439d5e/32.png) [@Yann1ck](https://discourse.joplinapp.org/u/Yann1ck)\
**Post date:** [20 February 2021 22:50 UTC](https://discourse.joplinapp.org/t/onedrive-sync-issues/14967/4 "2021-02-20T22:50:17Z")

</div>

> [@jschelfh](#):
>
> Indeed on my Mac I'm using the build-in OneDrive sync.

Thats the problem. If you are just syncing with the "build-in" directory Joplin is not registered with the Onedrive API. Because of that a new folder is created when you register a new device for Onedrive sync from within Joplin. The application things that `Apps/Joplin` is some user created directory that it is not allowed to change.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [22 March 2021 22:51 UTC](https://discourse.joplinapp.org/t/onedrive-sync-issues/14967/5 "2021-03-22T22:51:08Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
