# Joplin is trying to fetch too many items while syncing (sync seems broken)

**URL:** <https://discourse.joplinapp.org/t/joplin-is-trying-to-fetch-too-many-items-while-syncing-sync-seems-broken/13727>\
**Category:** Support\
**Created:** [8 January 2021 23:44 UTC](https://discourse.joplinapp.org/t/joplin-is-trying-to-fetch-too-many-items-while-syncing-sync-seems-broken/13727 "2021-01-08T23:44:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoplinRocks](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@JoplinRocks](https://discourse.joplinapp.org/u/JoplinRocks)\
**Post date:** [8 January 2021 23:44 UTC](https://discourse.joplinapp.org/t/joplin-is-trying-to-fetch-too-many-items-while-syncing-sync-seems-broken/13727/1 "2021-01-08T23:44:47Z")

</div>

**Joplin Version:** 1.5.14 (prod, win32)  
**OS:** Windows 10 (64bit)

I have Joplin set up on 3 devices which are synced via OneDrive and same encryption code. I was recently away from my original device (windows 10 pc) and came back to synchronise it and fetch the updates from my other two devices.

The other two devices are showing 200 items on sync but this specific device is trying to sync 2000+(2k) items and even after it's done, it does NOT retrieve the changes. What's going on?

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [9 January 2021 01:45 UTC](https://discourse.joplinapp.org/t/joplin-is-trying-to-fetch-too-many-items-while-syncing-sync-seems-broken/13727/2 "2021-01-09T01:45:23Z")

</div>

Can't say for sure, but it looks like Microsoft broke the OneDrive API again. Afaik there is no possible fix and we'll have to wait for Microsoft to fix things on their end.

Edit: I should have looked closer at the forum before replying, looks like [jonath92 created a temporary fix](https://github.com/laurent22/joplin/pull/4324) Which means this should be [fixed in the latest pre-release](https://discourse.joplinapp.org/t/since-onedrive-sync-error-this-morning-each-sync-fetches-all-items/13622/28?%E2%80%A6) (Until microsoft decides to break it again...)

---

<div class="post-metadata">

**Author:** ![JoplinRocks](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@JoplinRocks](https://discourse.joplinapp.org/u/JoplinRocks)\
**Post date:** [9 January 2021 02:00 UTC](https://discourse.joplinapp.org/t/joplin-is-trying-to-fetch-too-many-items-while-syncing-sync-seems-broken/13727/3 "2021-01-09T02:00:16Z")

</div>

That's not the issue I'm having (Althought it would be nice to prevent full resync of all items in each sync in the next update). As I mentioned in the OP, I only have 200 items to be synced (overall items not new) but Joplin is trying to fetch 2k+ items.

I have Joplin installed on both my phone (android) and a MacOS laptop too and when I try to resync on those devices, it correctly syncs the 200 saved items. Only on my windows machine Joplin tries to sync 2k+ items and when it's done, I don't see the newly added notes (one or two new new notes from other devices) in my notebook on Windows 10.

I guess my question is how is this an API issue when the two other devices are syncing properly ?

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [9 January 2021 02:05 UTC](https://discourse.joplinapp.org/t/joplin-is-trying-to-fetch-too-many-items-while-syncing-sync-seems-broken/13727/4 "2021-01-09T02:05:47Z")

</div>

> [@JoplinRocks](#):
>
> I have Joplin installed on both my phone (android) and a MacOS laptop too and when I try to resync on those devices, it correctly syncs the 200 saved items. Only on my windows machine Joplin tries to sync 2k+ items and when it's done, I don't see the newly added notes (one or two new new notes from other devices) in my notebook on Windows 10.

Have a look at the sync status, under the Help menu. Most likely you have things like note revisions, resources, etc. that also need to be synced.

---

<div class="post-metadata">

**Author:** ![JoplinRocks](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@JoplinRocks](https://discourse.joplinapp.org/u/JoplinRocks)\
**Post date:** [9 January 2021 02:28 UTC](https://discourse.joplinapp.org/t/joplin-is-trying-to-fetch-too-many-items-while-syncing-sync-seems-broken/13727/5 "2021-01-09T02:28:38Z")

</div>

I don't. 200 is including those things (I only have like 15-16 notes overall). There is something wrong with the sync

---

<div class="post-metadata">

**Author:** ![JoplinRocks](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@JoplinRocks](https://discourse.joplinapp.org/u/JoplinRocks)\
**Post date:** [9 January 2021 02:46 UTC](https://discourse.joplinapp.org/t/joplin-is-trying-to-fetch-too-many-items-while-syncing-sync-seems-broken/13727/6 "2021-01-09T02:46:53Z")

</div>

I used the developers tools and here's the error it gets in the middle of the infinite requests:

```
code: "ETIMEDOUT"
errno: "ETIMEDOUT"
message: "request to https://graph.microsoft.com/v1.0/drive/root:/Apps/Joplin/temp:/content failed, reason: connect ETIMEDOUT ***IP Address***"
name: "FetchError"
type: "system"
```

---

<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:** [8 February 2021 02:47 UTC](https://discourse.joplinapp.org/t/joplin-is-trying-to-fetch-too-many-items-while-syncing-sync-seems-broken/13727/7 "2021-02-08T02:47:07Z")

</div>

Closed on 8 February 2021 02:47 UTC

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