# Read 1 object, but datasource is still empty

**URL:** <https://community.appfarm.io/t/read-1-object-but-datasource-is-still-empty/2111>\
**Category:** Bug reports\
**Created:** [October 26, 2025, 10:28am UTC](https://community.appfarm.io/t/read-1-object-but-datasource-is-still-empty/2111 "2025-10-26T10:28:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/daniel/32/2882_2.png) [@daniel](https://community.appfarm.io/u/daniel)\
**Post date:** [October 26, 2025, 10:28am UTC](https://community.appfarm.io/t/read-1-object-but-datasource-is-still-empty/2111/1 "2025-10-26T10:28:19Z")

</div>

I am not sure if this is a bug, or if I am overlooking something. I have a problem with a data source sometimes shows too many, and sometimes too few objects when it is filtered. Most of the time it works as expected.

I opened the log, to see what happens when the filtered data source showed too few objects. It seems like 1 object is read to the runtime datasource (which is correct), but the datasource still shows 0 objects both in the UI table and in devtools.

Could this be caused by some kind of race condition in Appfarm?

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/2/276f768284a7f18b098fc32bc65c8340164b228b.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/f/f957a25e02d8e41cd751699842ab7b97febf326a.png)

---

<div class="post-metadata">

**Author:** ![kristian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/kristian/32/58_2.png) [@kristian](https://community.appfarm.io/u/kristian)\
**Post date:** [October 26, 2025, 11:43am UTC](https://community.appfarm.io/t/read-1-object-but-datasource-is-still-empty/2111/2 "2025-10-26T11:43:36Z")

</div>

Hi,

Do you have i client filter on that runtime only datasource you read into?

---

<div class="post-metadata">

**Author:** ![daniel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/daniel/32/2882_2.png) [@daniel](https://community.appfarm.io/u/daniel)\
**Post date:** [October 26, 2025, 11:48am UTC](https://community.appfarm.io/t/read-1-object-but-datasource-is-still-empty/2111/3 "2025-10-26T11:48:59Z")

</div>

Hi,

Thanks for the quick reply!

No, I do not have a client filter on.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/0/0ba24826b99e0a5e683725d94ebad7e704168f3e.png)

---

<div class="post-metadata">

**Author:** ![kristian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/kristian/32/58_2.png) [@kristian](https://community.appfarm.io/u/kristian)\
**Post date:** [October 26, 2025, 11:55am UTC](https://community.appfarm.io/t/read-1-object-but-datasource-is-still-empty/2111/4 "2025-10-26T11:55:53Z")

</div>

Ok, strange. And this just happens sometimes? Not consequently reproducable?

---

<div class="post-metadata">

**Author:** ![daniel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/daniel/32/2882_2.png) [@daniel](https://community.appfarm.io/u/daniel)\
**Post date:** [October 26, 2025, 12:05pm UTC](https://community.appfarm.io/t/read-1-object-but-datasource-is-still-empty/2111/5 "2025-10-26T12:05:59Z")

</div>

I will see if I can find a reproducible pattern, but I have not found one yet. Just now I ran into this issue, which prevents me from testing the app:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/b/b17b135373a15ca3cbf5dbba146eefd0949c7160.png)

I wonder if this is somehow related to the action described in “[Data source contains objects that should be filtered away](https://community.appfarm.io/t/data-source-contains-objects-that-should-be-filtered-away/2112)” which runs it self.

---

<div class="post-metadata">

**Author:** ![daniel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/daniel/32/2882_2.png) [@daniel](https://community.appfarm.io/u/daniel)\
**Post date:** [October 26, 2025, 12:29pm UTC](https://community.appfarm.io/t/read-1-object-but-datasource-is-still-empty/2111/6 "2025-10-26T12:29:51Z")

</div>

A potensial cause for the issue:

We were reading to the data source several times, in a parallel block using “add to data source (merge duplicates)”. One of the reads had, “replace all objects”. I fixed that, and have not seen the issue since, but I am not confident that it has disappeared because it only occurred sometimes.

If this was the cause, the log did not show the action node log in the order that the action nodes were completed.

---

<div class="post-metadata">

**Author:** ![kristian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/kristian/32/58_2.png) [@kristian](https://community.appfarm.io/u/kristian)\
**Post date:** [October 27, 2025, 9:29am UTC](https://community.appfarm.io/t/read-1-object-but-datasource-is-still-empty/2111/7 "2025-10-27T09:29:03Z")

</div>

Hi,

Can this be related to the other issue / post your had?

---

<div class="post-metadata">

**Author:** ![daniel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/daniel/32/2882_2.png) [@daniel](https://community.appfarm.io/u/daniel)\
**Post date:** [October 27, 2025, 9:59am UTC](https://community.appfarm.io/t/read-1-object-but-datasource-is-still-empty/2111/8 "2025-10-27T09:59:14Z")

</div>

Yes, the issue occurs in the same datasources and action. This issue is either resolved or less frequent than the other.
