# Granting a newly created badge with no default badge group causes errors

**URL:** https://meta.discourse.org/t/granting-a-newly-created-badge-with-no-default-badge-group-causes-errors/60346
**Category:** Bug
**Created:** [3. April 2017 um 05:06 UTC](https://meta.discourse.org/t/granting-a-newly-created-badge-with-no-default-badge-group-causes-errors/60346 "2017-04-03T05:06:58Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![dylanh724](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dylanh724/32/119642_2.png) [@dylanh724](https://meta.discourse.org/u/dylanh724)
#### Post date: [3. April 2017 um 06:15 UTC](https://meta.discourse.org/t/granting-a-newly-created-badge-with-no-default-badge-group-causes-errors/60346/5 "2017-04-03T06:15:11Z")

</div>

> [@codinghorror](#):
>
> So this is for a new badge you created?

Correct. Consolidating old topic:

> [@Granting badge via admin gives false positive err](https://meta.discourse.org/t/granting-badge-via-admin-gives-false-positive-err/60345/4):
>
> They should be at [yourdomain.com/logs](http://yourdomain.com/logs).
> 
> See this topic for all the details.

I have a feeling it has to do with this – by resolving this issue below, I bet I resolved this one, too:

> [@Granting a newly created badge with no default badge group causes errors](https://meta.discourse.org/t/user-badges-page-results-in-error-in-1-8-0-beta9-20/60346/2):
>
> No repro here or on meta.

I granted a badge that had no badge group. Since there’s no default group for badges and no warning you HAVE to have one or it’ll crash a user’s badge (if assigned), this causes both the error in this thread and the one linked above.

I recommend adding a default group for all badges that just sort of hovers to prevent this (better than warning - people dont read warnings, ehehe)

---

_[View the full topic](https://meta.discourse.org/t/granting-a-newly-created-badge-with-no-default-badge-group-causes-errors/60346)._
