# Validation API got error with highlight.(org.elasticsearch.common.ParsingException: request does not support \[highlight\]

**URL:** <https://discuss.elastic.co/t/validation-api-got-error-with-highlight-org-elasticsearch-common-parsingexception-request-does-not-support-highlight/248953>\
**Category:** Elasticsearch\
**Created:** [September 17, 2020, 9:48am UTC](https://discuss.elastic.co/t/validation-api-got-error-with-highlight-org-elasticsearch-common-parsingexception-request-does-not-support-highlight/248953 "2020-09-17T09:48:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![po3rin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/po3rin/32/41954_2.png) [@po3rin](https://discuss.elastic.co/u/po3rin)\
**Post date:** [September 17, 2020, 9:48am UTC](https://discuss.elastic.co/t/validation-api-got-error-with-highlight-org-elasticsearch-common-parsingexception-request-does-not-support-highlight/248953/1 "2020-09-17T09:48:14Z")

</div>

Hello 🙂

I tried highlight with reference to the following document.

> **[Highlighting | Elasticsearch Reference \[7.9\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/highlighting.html#_an_example_of_the_work_of_the_unified_highlighter)**

(using [docker.elastic.co/elasticsearch/elasticsearch:7.5.1](http://docker.elastic.co/elasticsearch/elasticsearch:7.5.1))

This example works fine, but when I check it with the validation api, I get an error.

```auto
GET test_index/_validate/query?explain
{
    "valid": false,
    "error": "org.elasticsearch.common.ParsingException: request does not support [highlight]"
}

```

How do I resolve this error? Can highlight not be validated with the validation API?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 15, 2020, 9:48am UTC](https://discuss.elastic.co/t/validation-api-got-error-with-highlight-org-elasticsearch-common-parsingexception-request-does-not-support-highlight/248953/2 "2020-10-15T09:48:15Z")

</div>

Closed on October 15, 2020, 9:48am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
