# Error while fetching data from Object Store

**URL:** <https://discuss.ray.io/t/error-while-fetching-data-from-object-store/13920>\
**Category:** Ray Core\
**Created:** [March 6, 2024, 4:07am UTC](https://discuss.ray.io/t/error-while-fetching-data-from-object-store/13920 "2024-03-06T04:07:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shyampatel](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@shyampatel](https://discuss.ray.io/u/shyampatel)\
**Post date:** [March 6, 2024, 4:07am UTC](https://discuss.ray.io/t/error-while-fetching-data-from-object-store/13920/1 "2024-03-06T04:07:34Z")

</div>

**How severe does this issue affect your experience of using Ray?**

- High: It blocks me to complete my task.

I am putting image into object store via `ray.put()` and passing the reference to another actor. When I tried to access it, for some frames I am receiving following error:

```auto
Failed to retrieve object 001d81a1e0baa01dade71591650d689f2dec4a52010000008ae3f505. To see information about where this ObjectRef was created in Python, set the environment variable RAY_record_ref_creation_sites=1 during `ray start` and `ray.init()`.
(ResultExtractor pid=2803196) 
(ResultExtractor pid=2803196) The object has already been deleted by the reference counting protocol. This should not happen.

```

Can anyone please suggest, what could be the issue?

---

<div class="post-metadata">

**Author:** ![jjyao](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/jjyao/32/1799_2.png) [@jjyao](https://discuss.ray.io/u/jjyao)\
**Post date:** [March 17, 2024, 5:03am UTC](https://discuss.ray.io/t/error-while-fetching-data-from-object-store/13920/2 "2024-03-17T05:03:24Z")

</div>

Hi @shyampatel,

Could you share the repro script? How do you pass the reference to another actor?

---

<div class="post-metadata">

**Author:** ![shyampatel](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@shyampatel](https://discuss.ray.io/u/shyampatel)\
**Post date:** [March 27, 2024, 6:42am UTC](https://discuss.ray.io/t/error-while-fetching-data-from-object-store/13920/3 "2024-03-27T06:42:49Z")

</div>

Thanks for your reply @jjyao.

I could not reproduce the same via simple script, but it’s occurring in our pipeline.

> [@jjyao](#):
>
> How do you pass the reference to another actor?

What we are doing is, to pass image from one actor to another, first I am putting image into object store via `img_ref = ray.put(img)`, and passing this reference with some other information via a class instance of `Frame` to another actor:

```auto
class Frame:
    def __init__ (self, img_ref, dets):
        self.img_ref = img_ref
        self.dets = dets

```

---

<div class="post-metadata">

**Author:** ![jjyao](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/jjyao/32/1799_2.png) [@jjyao](https://discuss.ray.io/u/jjyao)\
**Post date:** [March 27, 2024, 10:28pm UTC](https://discuss.ray.io/t/error-while-fetching-data-from-object-store/13920/4 "2024-03-27T22:28:52Z")

</div>

How do you pass `Frame` to the other actor?

---

<div class="post-metadata">

**Author:** ![shyampatel](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@shyampatel](https://discuss.ray.io/u/shyampatel)\
**Post date:** [March 28, 2024, 8:52am UTC](https://discuss.ray.io/t/error-while-fetching-data-from-object-store/13920/5 "2024-03-28T08:52:51Z")

</div>

We are passing Frame instance to another actor via ray queue.

---

<div class="post-metadata">

**Author:** ![shyampatel](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@shyampatel](https://discuss.ray.io/u/shyampatel)\
**Post date:** [May 2, 2024, 3:44am UTC](https://discuss.ray.io/t/error-while-fetching-data-from-object-store/13920/6 "2024-05-02T03:44:39Z")

</div>

@jjyao Can you please suggest, where things could be going wrong ?
