# Adding Hostgroup

**URL:** <https://forum.ansible.com/t/adding-hostgroup/26302>\
**Category:** AWX Project\
**Created:** [December 15, 2017, 4:05pm UTC](https://forum.ansible.com/t/adding-hostgroup/26302 "2017-12-15T16:05:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tom\_Zurita](https://avatars.discourse-cdn.com/v4/letter/t/d07c76/32.png) [@Tom\_Zurita](https://forum.ansible.com/u/Tom_Zurita)\
**Post date:** [December 15, 2017, 4:05pm UTC](https://forum.ansible.com/t/adding-hostgroup/26302/1 "2017-12-15T16:05:19Z")

</div>

Keep getting this for one particular hostgroup:

data : [object Object] status : 400 headers : function (name){if(headersObj||(headersObj=parseHeaders(headers)),name){var value=headersObj[lowercase(name)];return void 0===value&&(value=null),value}return headersObj} config : [object Object] statusText : Bad Request xhrStatus : complete

Thoughts?

---

<div class="post-metadata">

**Author:** ![Tom\_Zurita](https://avatars.discourse-cdn.com/v4/letter/t/d07c76/32.png) [@Tom\_Zurita](https://forum.ansible.com/u/Tom_Zurita)\
**Post date:** [December 15, 2017, 4:39pm UTC](https://forum.ansible.com/t/adding-hostgroup/26302/2 "2017-12-15T16:39:05Z")

</div>

Just a little more info. Here is what I did:

Clicked:  
Inventories  
 → MyInventoryName  
 → Groups  
 → +ADD GROUP  
 → erp-hostgroup \*\*FAILS

I can add erp, erp-group, etc but erp-hostgroup fails with the error posted.

---

<div class="post-metadata">

**Author:** ![jmitchel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jmitchel/32/10148_2.png) [@jmitchel](https://forum.ansible.com/u/jmitchel)\
**Post date:** [December 15, 2017, 5:04pm UTC](https://forum.ansible.com/t/adding-hostgroup/26302/3 "2017-12-15T17:04:07Z")

</div>

It seems very strange that you can add other manual groups, but an even with this particular name fails. I tried adding a group with `erp-hostgroup` and everything worked fine.

Would you try refreshing when you are on the groups add page and try adding again? Also can you tell us if there are any errors in the JS console (available in the chrome or firefox debugger tools) and paste those?

---

<div class="post-metadata">

**Author:** ![jmitchel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jmitchel/32/10148_2.png) [@jmitchel](https://forum.ansible.com/u/jmitchel)\
**Post date:** [December 15, 2017, 5:04pm UTC](https://forum.ansible.com/t/adding-hostgroup/26302/4 "2017-12-15T17:04:34Z")

</div>

a group with this particular name\* (sorry, typo)

---

<div class="post-metadata">

**Author:** ![Tom\_Zurita](https://avatars.discourse-cdn.com/v4/letter/t/d07c76/32.png) [@Tom\_Zurita](https://forum.ansible.com/u/Tom_Zurita)\
**Post date:** [December 18, 2017, 1:02pm UTC](https://forum.ansible.com/t/adding-hostgroup/26302/5 "2017-12-18T13:02:24Z")

</div>

Sotty for the slow response. I was gone for the weekend :). At any rate, here is what I am getting in the console.

[![](https://lh3.googleusercontent.com/-V4ZduTLsRV8/Wje8XINc8OI/AAAAAAAAHuE/YQP2s8RRmOQaDoF728YPloNNKWEAqN7JACLcBGAs/s320/Screen%2BShot%2B2017-12-18%2Bat%2B8.01.23%2BAM.png)](https://lh3.googleusercontent.com/-V4ZduTLsRV8/Wje8XINc8OI/AAAAAAAAHuE/YQP2s8RRmOQaDoF728YPloNNKWEAqN7JACLcBGAs/s1600/Screen%2BShot%2B2017-12-18%2Bat%2B8.01.23%2BAM.png)
