# Elastic Aggregation

**URL:** <https://discuss.elastic.co/t/elastic-aggregation/154369>\
**Category:** Elasticsearch\
**Created:** [October 29, 2018, 3:17am UTC](https://discuss.elastic.co/t/elastic-aggregation/154369 "2018-10-29T03:17:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaralErdene\_Tumursuh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maralerdene_tumursuh/32/73137_2.png) [@MaralErdene\_Tumursuh](https://discuss.elastic.co/u/MaralErdene_Tumursuh)\
**Post date:** [October 29, 2018, 3:17am UTC](https://discuss.elastic.co/t/elastic-aggregation/154369/1 "2018-10-29T03:17:17Z")

</div>

Hello Guys,

Does anyone had this error?

Two sibling aggregations cannot have the same name:

---

<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:** [October 29, 2018, 3:46am UTC](https://discuss.elastic.co/t/elastic-aggregation/154369/2 "2018-10-29T03:46:42Z")

</div>

We aren't all guys 🙂

Please show the complete query as well as the complete error. Please use the `</>` button to format the code so it's easy to read.

---

<div class="post-metadata">

**Author:** ![MaralErdene\_Tumursuh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maralerdene_tumursuh/32/73137_2.png) [@MaralErdene\_Tumursuh](https://discuss.elastic.co/u/MaralErdene_Tumursuh)\
**Post date:** [October 30, 2018, 1:24am UTC](https://discuss.elastic.co/t/elastic-aggregation/154369/3 "2018-10-30T01:24:18Z")

</div>

Thank's man,

I resolved the problem. So problem is added two same aggregation in a request.

---

<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:** [November 27, 2018, 1:33am UTC](https://discuss.elastic.co/t/elastic-aggregation/154369/4 "2018-11-27T01:33:07Z")

</div>

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