# Badges not being assigned

**URL:** <https://meta.discourse.org/t/badges-not-being-assigned/38220>\
**Category:** Product Support\
**Created:** [January 20, 2016, 12:32am UTC](https://meta.discourse.org/t/badges-not-being-assigned/38220 "2016-01-20T00:32:18Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [January 20, 2016, 9:33pm UTC](https://meta.discourse.org/t/badges-not-being-assigned/38220/7 "2016-01-20T21:33:05Z")

</div>

You have a query that is targetting posts there no? If not, you need to be selecting distinct user ids, looks like you are selecting dupes.

---

_[View the full topic](https://meta.discourse.org/t/badges-not-being-assigned/38220)._
