# \`DataExplorer::ValidationError: Missing parameter\` when running Data Explorer queries with \[params\] via API

**URL:** https://meta.discourse.org/t/dataexplorer-missing-parameter-when-running-data-explorer-queries-with-params-via-api/223812
**Category:** Data & reporting
**Tags:** rest-api, sql-query
**Created:** [April 9, 2022, 7:40pm UTC](https://meta.discourse.org/t/dataexplorer-missing-parameter-when-running-data-explorer-queries-with-params-via-api/223812 "2022-04-09T19:40:15Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![md-misko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/md-misko/32/126315_2.png) [@md-misko](https://meta.discourse.org/u/md-misko)
#### Post date: [April 10, 2022, 5:17am UTC](https://meta.discourse.org/t/dataexplorer-missing-parameter-when-running-data-explorer-queries-with-params-via-api/223812/4 "2022-04-10T05:17:06Z")

</div>

> [@michaeld](#):
>
> What is the complete command you’re using?  
> Are you supplying `-X POST` and all the required headers?

The one from [How to run Data Explorer queries with the Discourse API](https://meta.discourse.org/t/how-to-run-data-explorer-queries-with-the-discourse-api/120063/1) complete with `-X POST` and all the required headers.

This is not a syntax issue, if you check the last line from the OP you’ll see that curl returns a success, it’s just that the result is incorrect.

> [@pfaffman](#):
>
> It’s improbable that you are describing a big if discourse.

Jay, I don’t understand the meaning of this sentence. Did you by any chance try and repro the issue using the minimal examples provided in the OP?

* * *

@michaeld, @pfaffman  
I’m hesitating to write this part, mainly because I admire and respect your dedication and expertise in providing free support to the community, I know I benefited from your insights on numerous occasions before. But this time I have a feeling that neither of you read past the first few lines of the report (I’m very careful to research and test thoroughly before I post in the support category, and I always try to include _detailed repro steps_).

The thing is, in my experience, when support request receives a response like this—assuming a user error without trying to actually repro the issue using the provided steps (especially from such experienced members as yourselves)—the real issue is less likely to be picked up by the Discourse team.

On the other hand, if your response would either validate or invalidate the _actual repro steps_, this would lend weight to the claim (or point to some other cause) which will more likely attract attention from the team and lead to the eventual fix.

I know that probably 99% of cases are just users failing to read the instructions (I should know, I’ve been there before). But knowing this, we probably shouldn’t make the same mistake trying to answer support issues quickly, rather than thoroughly?

---

_[View the full topic](https://meta.discourse.org/t/dataexplorer-missing-parameter-when-running-data-explorer-queries-with-params-via-api/223812)._
