# "DataExplorer::ValidationError: Missing parameter end\_date of type string

**URL:** https://meta.discourse.org/t/dataexplorer-missing-parameter-end-date-of-type-string/153001
**Category:** Support
**Created:** [May 27, 2020, 5:51pm UTC](https://meta.discourse.org/t/dataexplorer-missing-parameter-end-date-of-type-string/153001 "2020-05-27T17:51:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Alex\_Politis](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alex_politis/32/140283_2.png) [@Alex\_Politis](https://meta.discourse.org/u/Alex_Politis)
#### Post date: [May 27, 2020, 5:51pm UTC](https://meta.discourse.org/t/dataexplorer-missing-parameter-end-date-of-type-string/153001/1 "2020-05-27T17:51:12Z")

</div>

I’m trying to run a [data explorer](https://meta.discourse.org/t/32566?silent=true) query using the api, and I’m getting a missing parameter error for some strange reason?

The request has the parameter in it for sure:  
POST `/community/admin/plugins/explorer/queries/2/run?end_date=2020-5-15&duration_days=30`

Yet I still get the following “DataExplorer::ValidationError: Missing parameter end\_date of type string”

Anyone have an idea what I’m doing wrong here?

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [May 27, 2020, 7:25pm UTC](https://meta.discourse.org/t/dataexplorer-missing-parameter-end-date-of-type-string/153001/2 "2020-05-27T19:25:38Z")

</div>

Have a look at the examples in this topic: [Run Data Explorer queries with the Discourse API](https://meta.discourse.org/t/how-to-run-data-explorer-queries-with-the-discourse-api/120063). The first code example shows how to pass [Data Explorer](https://meta.discourse.org/t/32566?silent=true) parameters with the request.

---

<div class="post-metadata">

### Author: ![Alex\_Politis](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alex_politis/32/140283_2.png) [@Alex\_Politis](https://meta.discourse.org/u/Alex_Politis)
#### Post date: [May 27, 2020, 8:32pm UTC](https://meta.discourse.org/t/dataexplorer-missing-parameter-end-date-of-type-string/153001/3 "2020-05-27T20:32:34Z")

</div>

Ah yeah I figured out that I needed to pass the http params in a param named `param`. Why not take all the http params and pass them down to the backend so that callers can use standard http params? It feels kinda weird to have a param param
