# Report Query Parameter Error

**URL:** <https://forum.inductiveautomation.com/t/report-query-parameter-error/19382>\
**Category:** Ignition\
**Created:** [August 23, 2018, 2:35pm UTC](https://forum.inductiveautomation.com/t/report-query-parameter-error/19382 "2018-08-23T14:35:12Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [August 23, 2018, 5:25pm UTC](https://forum.inductiveautomation.com/t/report-query-parameter-error/19382/4 "2018-08-23T17:25:59Z")

</div>

> [@Report DataSet Table](https://forum.inductiveautomation.com/t/report-dataset-table/18408/3):
>
> Reports are executed and built on the gateway, so you don't have access to client tags' values

Just found this ☹

I was using executeAndDistribute, but wasn't passing an overriding parameter to fill in the client tag parameter. Once I filled in that parameter into the function it worked fine. Thanks @KathyApplebaum

> [@Report DataSet Table](https://forum.inductiveautomation.com/t/report-dataset-table/18408/4):
>
> You can't use client tags directly in a report, because reports are generated in the gateway.
> 
> What you'll need to do is use your client tag to override an existing parameter for your report in either the report viewer or through system.report.executeAndDistribute()

---

_[View the full topic](https://forum.inductiveautomation.com/t/report-query-parameter-error/19382)._
