# Non-compliant license for \[geohash\_grid aggregation on geo\_shape fields\]

**URL:** https://discuss.elastic.co/t/non-compliant-license-for-geohash-grid-aggregation-on-geo-shape-fields/297702
**Category:** Elasticsearch
**Tags:** license
**Created:** [February 20, 2022, 6:31pm UTC](https://discuss.elastic.co/t/non-compliant-license-for-geohash-grid-aggregation-on-geo-shape-fields/297702 "2022-02-20T18:31:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Pyppe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pyppe/32/3531_2.png) [@Pyppe](https://discuss.elastic.co/u/Pyppe)
#### Post date: [February 20, 2022, 6:31pm UTC](https://discuss.elastic.co/t/non-compliant-license-for-geohash-grid-aggregation-on-geo-shape-fields/297702/1 "2022-02-20T18:31:37Z")

</div>

Hi!

Topic says it all. I'm trying to run a query to aggregate geo\_shape field on geohash\_grid. However, getting an error about non-compliant license:

```json
{
  "type": "security_exception",
  "reason": "current license is non-compliant for [geohash_grid aggregation on geo_shape fields]",
  "license.expired.feature": "geohash_grid aggregation on geo_shape fields"
}

```

Where can I find information about this restriction? And is there a way to to bypass it? I tried googling it, but found nothing. Thanks!

I'm using Elasticsearch `8.0.0`.

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [February 20, 2022, 8:53pm UTC](https://discuss.elastic.co/t/non-compliant-license-for-geohash-grid-aggregation-on-geo-shape-fields/297702/2 "2022-02-20T20:53:42Z")

</div>

Hi @Pyppe

The Feature / Subscription Level can be found here.

> **[Subscriptions | Elastic Stack Products & Support | Elastic](https://www.elastic.co/subscriptions)**
>
> See subscription levels, pricing, and tiered features for on-prem deployments of the Elastic Stack (Elasticsearch Kibana, Beats, and Logstash), Elastic Cloud, and Elastic Cloud Enterprise.

Those geo aggregations are a commercial licensed feature.

> [@Pyppe](#):
>
> And is there a way to to bypass it?

Please do not attempt to bypass the subscription/license as that is a violation of the license agreement.

You can try the trial license under Stack Management - License and decide if the value is there for you to purchase a license or perhaps to run it in Elastic Cloud.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [February 20, 2022, 9:52pm UTC](https://discuss.elastic.co/t/non-compliant-license-for-geohash-grid-aggregation-on-geo-shape-fields/297702/3 "2022-02-20T21:52:24Z")

</div>

The "bypass" would be to use Elastic Cloud, as it'd include that feature by default 🙂

---

<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: [March 20, 2022, 9:53pm UTC](https://discuss.elastic.co/t/non-compliant-license-for-geohash-grid-aggregation-on-geo-shape-fields/297702/4 "2022-03-20T21:53:21Z")

</div>

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