# Why does this Db Error occur?

**URL:** <https://forums.ankiweb.net/t/why-does-this-db-error-occur/31109>\
**Category:** Help\
**Created:** [June 11, 2023, 10:41am UTC](https://forums.ankiweb.net/t/why-does-this-db-error-occur/31109 "2023-06-11T10:41:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mimon](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@Mimon](https://forums.ankiweb.net/u/Mimon)\
**Post date:** [June 11, 2023, 10:41am UTC](https://forums.ankiweb.net/t/why-does-this-db-error-occur/31109/1 "2023-06-11T10:41:37Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/5/533f4b88db1b8371da3ccb0afbf69278c84c68b1.jpeg)

---

<div class="post-metadata">

**Author:** ![AquafinaWaterBottle](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/aquafinawaterbottle/32/12314_2.png) [@AquafinaWaterBottle](https://forums.ankiweb.net/u/AquafinaWaterBottle)\
**Post date:** [June 11, 2023, 9:52pm UTC](https://forums.ankiweb.net/t/why-does-this-db-error-occur/31109/2 "2023-06-11T21:52:13Z")

</div>

To ask the obvious question, did you check if your have enough space on your device?

---

<div class="post-metadata">

**Author:** ![Mimon](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@Mimon](https://forums.ankiweb.net/u/Mimon)\
**Post date:** [June 11, 2023, 10:10pm UTC](https://forums.ankiweb.net/t/why-does-this-db-error-occur/31109/3 "2023-06-11T22:10:13Z")

</div>

Yes I have enough free storage on the device and on icloud as well

---

<div class="post-metadata">

**Author:** ![Mimon](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@Mimon](https://forums.ankiweb.net/u/Mimon)\
**Post date:** [June 11, 2023, 10:11pm UTC](https://forums.ankiweb.net/t/why-does-this-db-error-occur/31109/4 "2023-06-11T22:11:32Z")

</div>

It occurs seemingly randomly and goes away after closing the app a few times and syncing

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [June 12, 2023, 7:15am UTC](https://forums.ankiweb.net/t/why-does-this-db-error-occur/31109/5 "2023-06-12T07:15:23Z")

</div>

iCloud storage is unrelated here - it’s only the free space on your local device that matters. Is it near full? Perhaps Anki is running out of space when it tries to create a backup.

---

<div class="post-metadata">

**Author:** ![Mimon](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@Mimon](https://forums.ankiweb.net/u/Mimon)\
**Post date:** [June 12, 2023, 7:54am UTC](https://forums.ankiweb.net/t/why-does-this-db-error-occur/31109/6 "2023-06-12T07:54:13Z")

</div>

56 GB out of 60 are full. That should be enough no? If I look at the apps it shows me 1.3 GB for Anki.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [June 13, 2023, 1:59pm UTC](https://forums.ankiweb.net/t/why-does-this-db-error-occur/31109/7 "2023-06-13T13:59:46Z")

</div>

It should be sufficient (backups for most users will be much smaller than 4GB), but the fact that you’re getting the error intermittently seems to imply that the amount of the free space is fluctuating. I’d recommend you try free up a few gigs of space and see if that makes the problem go away.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [July 13, 2023, 2:00pm UTC](https://forums.ankiweb.net/t/why-does-this-db-error-occur/31109/8 "2023-07-13T14:00:21Z")

</div>

Closed on July 13, 2023, 2:00pm UTC

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