# Is there any way to fix an "unexpected difference in fileset" error other than deleting?

**URL:** <https://forum.duplicati.com/t/is-there-any-way-to-fix-an-unexpected-difference-in-fileset-error-other-than-deleting/6459>\
**Category:** Support\
**Created:** [February 28, 2019, 10:08pm UTC](https://forum.duplicati.com/t/is-there-any-way-to-fix-an-unexpected-difference-in-fileset-error-other-than-deleting/6459 "2019-02-28T22:08:25Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)\
**Post date:** [March 4, 2019, 9:09pm UTC](https://forum.duplicati.com/t/is-there-any-way-to-fix-an-unexpected-difference-in-fileset-error-other-than-deleting/6459/14 "2019-03-04T21:09:40Z")

</div>

> [@JonMikelV](#):
>
> Yes - the database thinks there should be X files but the destination has Y

Comparison is internal. Queries done below:

> <https://github.com/duplicati/duplicati/blob/356ca81d8bfa2d16a353400ce50432ca681a407d/Duplicati/Library/Main/Database/LocalDatabase.cs#L822-L825>

The `storedlist` is simple, and `expandedlist` is complex, but the counts are _supposed_ to be the same. Something went inconsistent, so you got told. Duplicati has many self-checks. This one is doing its job… What needs to happen (IMO) is to track down ways these arise, and find a suitable developer to fix them. There may be time and expertise challenges. Not everybody has the skillsets to work on core algorithms.

---

_[View the full topic](https://forum.duplicati.com/t/is-there-any-way-to-fix-an-unexpected-difference-in-fileset-error-other-than-deleting/6459)._
