# V20.11-rc1 version, ratel got an error

**URL:** <https://discuss.dgraph.io/t/v20-11-rc1-version-ratel-got-an-error/11416>\
**Category:** Dgraph\
**Tags:** dgraph\
**Created:** [November 11, 2020, 3:57am UTC](https://discuss.dgraph.io/t/v20-11-rc1-version-ratel-got-an-error/11416 "2020-11-11T03:57:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Valdanito](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/valdanito/32/1381_2.png) [@Valdanito](https://discuss.dgraph.io/u/Valdanito)\
**Post date:** [November 11, 2020, 3:57am UTC](https://discuss.dgraph.io/t/v20-11-rc1-version-ratel-got-an-error/11416/1 "2020-11-11T03:57:30Z")

</div>

```auto
Unsupported Content-Type. 
Supported content types are application/json, application/graphql+-,application/dql

```

---

<div class="post-metadata">

**Author:** ![JatinDevDG](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/jatindevdg/32/3417_2.png) [@JatinDevDG](https://discuss.dgraph.io/u/JatinDevDG)\
**Post date:** [November 11, 2020, 4:26am UTC](https://discuss.dgraph.io/t/v20-11-rc1-version-ratel-got-an-error/11416/2 "2020-11-11T04:26:43Z")

</div>

Hi @Valdanito, Can you please specify what query/mutation you ran or if you use `Curl` command then what was the Content-Type ??

---

<div class="post-metadata">

**Author:** ![Valdanito](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/valdanito/32/1381_2.png) [@Valdanito](https://discuss.dgraph.io/u/Valdanito)\
**Post date:** [November 11, 2020, 6:56am UTC](https://discuss.dgraph.io/t/v20-11-rc1-version-ratel-got-an-error/11416/3 "2020-11-11T06:56:16Z")

</div>

@JatinDevDG

default query request header is text/plain.

When I run a query, I need to add the request header of dql or graphql±, and the request header of json will get the same error.

No problem with state and health requests.

---

<div class="post-metadata">

**Author:** ![JatinDevDG](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/jatindevdg/32/3417_2.png) [@JatinDevDG](https://discuss.dgraph.io/u/JatinDevDG)\
**Post date:** [November 11, 2020, 9:39am UTC](https://discuss.dgraph.io/t/v20-11-rc1-version-ratel-got-an-error/11416/4 "2020-11-11T09:39:56Z")

</div>

This is the bug related to ratel when it’s not able to find a version of the running dgraph instance. It happens when git information is not available for the dgraph instance, for example when you directly download source code instead of git clone.  
If you clone dgraph and go to release tag by `git checkout release/v20.11-rc1`, then you will be able to use ratel.

@dmai, i guess we should have a fix for this so that version number or other information is made available to ratel by other means.
