# Bug with a collection not picking up a variable change

**URL:** <https://community.weweb.io/t/bug-with-a-collection-not-picking-up-a-variable-change/1286>\
**Category:** How do I?\
**Created:** [October 13, 2022, 11:38am UTC](https://community.weweb.io/t/bug-with-a-collection-not-picking-up-a-variable-change/1286 "2022-10-13T11:38:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tjmcdonough](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@tjmcdonough](https://community.weweb.io/u/tjmcdonough)\
**Post date:** [October 13, 2022, 11:38am UTC](https://community.weweb.io/t/bug-with-a-collection-not-picking-up-a-variable-change/1286/1 "2022-10-13T11:38:22Z")

</div>

Fails when I hit test through the action, but passes when I hit fetch collection. Very strange …

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/8/80b08eb61c65af748444debd860d89e566f2efca.png)

Before I hit fetch but after I hit test action

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/0/0f8062a5fcfc39caa7418d7d4b6e26c62958beab.png)

After I hit fetch

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/e/e3805cbee87c2954e954d0ebbdb71d305431e722.png)

---

<div class="post-metadata">

**Author:** ![kyanaloe](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/kyanaloe/32/1076_2.png) [@kyanaloe](https://community.weweb.io/u/kyanaloe)\
**Post date:** [October 13, 2022, 11:59am UTC](https://community.weweb.io/t/bug-with-a-collection-not-picking-up-a-variable-change/1286/2 "2022-10-13T11:59:18Z")

</div>

I experienced the same thing last night, actually. Figured it was on my end - maybe not

---

<div class="post-metadata">

**Author:** ![Mael](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/mael/32/13246_2.png) [@Mael](https://community.weweb.io/u/Mael)\
**Post date:** [October 14, 2022, 7:44am UTC](https://community.weweb.io/t/bug-with-a-collection-not-picking-up-a-variable-change/1286/3 "2022-10-14T07:44:56Z")

</div>

Hi @tjmcdonough as we discuss in crisp, we are working on your issue (it seems to be something global, not only you). I will let you know when I have information

---

<div class="post-metadata">

**Author:** ![Mael](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/mael/32/13246_2.png) [@Mael](https://community.weweb.io/u/Mael)\
**Post date:** [October 14, 2022, 10:38am UTC](https://community.weweb.io/t/bug-with-a-collection-not-picking-up-a-variable-change/1286/4 "2022-10-14T10:38:47Z")

</div>

It’s fixed!

---

<div class="post-metadata">

**Author:** ![tjmcdonough](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@tjmcdonough](https://community.weweb.io/u/tjmcdonough)\
**Post date:** [October 14, 2022, 11:11am UTC](https://community.weweb.io/t/bug-with-a-collection-not-picking-up-a-variable-change/1286/5 "2022-10-14T11:11:35Z")

</div>

I set up a workaround by making an API request then storing the data in an array. I can now revert back 🙂

---

<div class="post-metadata">

**Author:** ![tjmcdonough](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@tjmcdonough](https://community.weweb.io/u/tjmcdonough)\
**Post date:** [October 17, 2022, 3:45pm UTC](https://community.weweb.io/t/bug-with-a-collection-not-picking-up-a-variable-change/1286/6 "2022-10-17T15:45:56Z")

</div>

This is still broken
