# Query just return the last emitted event, even if more events have been emitted

**URL:** <https://forum.thegraph.com/t/query-just-return-the-last-emitted-event-even-if-more-events-have-been-emitted/2939>\
**Category:** Questions & Feedback\
**Tags:** developer\
**Created:** [January 22, 2022, 7:37pm UTC](https://forum.thegraph.com/t/query-just-return-the-last-emitted-event-even-if-more-events-have-been-emitted/2939 "2022-01-22T19:37:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![FranLossless](https://avatars.discourse-cdn.com/v4/letter/f/838e76/32.png) [@FranLossless](https://forum.thegraph.com/u/FranLossless)\
**Post date:** [January 22, 2022, 7:37pm UTC](https://forum.thegraph.com/t/query-just-return-the-last-emitted-event-even-if-more-events-have-been-emitted/2939/1 "2022-01-22T19:37:35Z")

</div>

Hello, I am having an extrange issue quering my hosted service on the graph. For some reason, my query just return the last event emitted. Could anyone please help?

---

<div class="post-metadata">

**Author:** ![Slimchance](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.thegraph.com/slimchance/32/409_2.png) [@Slimchance](https://forum.thegraph.com/u/Slimchance)\
**Post date:** [January 24, 2022, 10:41am UTC](https://forum.thegraph.com/t/query-just-return-the-last-emitted-event-even-if-more-events-have-been-emitted/2939/2 "2022-01-24T10:41:19Z")

</div>

Hi.

A common cause for “missing entities” is trying to save multiple entities with the same ID. This will cause the previous entry to be overwritten.

The best place to get help with subgraph development is in the official discord server [graphprotocol](https://discord.gg/vtvv7FP). Here you will find dedicated channels for `Questions + Support`. 🙂
