# What does this error message mean? "oldest pinned transaction ID rolled back for eviction"

**URL:** https://community.appfarm.io/t/what-does-this-error-message-mean-oldest-pinned-transaction-id-rolled-back-for-eviction/1465
**Category:** Bug reports
**Created:** [October 22, 2024, 12:07pm UTC](https://community.appfarm.io/t/what-does-this-error-message-mean-oldest-pinned-transaction-id-rolled-back-for-eviction/1465 "2024-10-22T12:07:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Sondre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/sondre/32/105_2.png) [@Sondre](https://community.appfarm.io/u/Sondre)
#### Post date: [October 22, 2024, 12:07pm UTC](https://community.appfarm.io/t/what-does-this-error-message-mean-oldest-pinned-transaction-id-rolled-back-for-eviction/1465/1 "2024-10-22T12:07:49Z")

</div>

Hi,

We have a service that deletes old data every night, some have cascade delete, for instance order/orderlines relation.

Then i got this error message last night:  
“Caused by :: -31800: oldest pinned transaction ID rolled back for eviction :: Please retry your operation or multi-document transaction.”

Seems like an error related to Mongo DB write conflict with “multi-document transaction” however this is solely deletes using data connectors.

Any help decifering what happens would be nice 🙂

---

<div class="post-metadata">

### Author: ![Shahitha](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/shahitha/32/66_2.png) [@Shahitha](https://community.appfarm.io/u/Shahitha)
#### Post date: [October 23, 2024, 7:57am UTC](https://community.appfarm.io/t/what-does-this-error-message-mean-oldest-pinned-transaction-id-rolled-back-for-eviction/1465/2 "2024-10-23T07:57:00Z")

</div>

Hi!

This can happen in cases where the filter is returning too many objects. A way to decipher it could be to make your filter condition more specific to reduce the number of matching objects and see if the error persists.

Let us know how this goes.

---

<div class="post-metadata">

### Author: ![Sondre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/sondre/32/105_2.png) [@Sondre](https://community.appfarm.io/u/Sondre)
#### Post date: [October 23, 2024, 11:56am UTC](https://community.appfarm.io/t/what-does-this-error-message-mean-oldest-pinned-transaction-id-rolled-back-for-eviction/1465/3 "2024-10-23T11:56:01Z")

</div>

Thank you! It worked 🙂
