# Unable to get ACS using 'query' in DAML Trigger

**URL:** <https://forum.canton.network/t/unable-to-get-acs-using-query-in-daml-trigger/6188>\
**Category:** App Development\
**Created:** [February 28, 2023, 12:03pm UTC](https://forum.canton.network/t/unable-to-get-acs-using-query-in-daml-trigger/6188 "2023-02-28T12:03:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Remy](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/remy/32/595_2.png) [@Remy](https://forum.canton.network/u/Remy)\
**Post date:** [February 28, 2023, 4:31pm UTC](https://forum.canton.network/t/unable-to-get-acs-using-query-in-daml-trigger/6188/2 "2023-02-28T16:31:35Z")

</div>

Hey @Pris17,

Could you be a bit more [specific](https://discuss.daml.com/t/how-to-ask-questions/304) ?

I will assume you meant the Trigger query returns you an empty set of contracts. I can imagine a lot of cases when that can happen, including when:

1. Your ledger is actually empty.
2. You did not register the proper templates.
3. Your trigger and you ledger use different dar files.
4. The party that runs the trigger is not an observer for the contracts of interest.

---

_[View the full topic](https://forum.canton.network/t/unable-to-get-acs-using-query-in-daml-trigger/6188)._
