# Discourse Gamification - Getting 404 / MissingAttributeError on /leaderboard route

**URL:** https://meta.discourse.org/t/discourse-gamification-getting-404-missingattributeerror-on-leaderboard-route/404855
**Category:** Bug
**Tags:** gamification
**Created:** [June 9, 2026, 3:51pm UTC](https://meta.discourse.org/t/discourse-gamification-getting-404-missingattributeerror-on-leaderboard-route/404855 "2026-06-09T15:51:00Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![glob-canard.4x](https://avatars.discourse-cdn.com/v4/letter/g/e8c25b/32.png) [@glob-canard.4x](https://meta.discourse.org/u/glob-canard.4x)
#### Post date: [June 19, 2026, 8:21pm UTC](https://meta.discourse.org/t/discourse-gamification-getting-404-missingattributeerror-on-leaderboard-route/404855/3 "2026-06-19T20:21:55Z")

</div>

@ted,

Actually, you can feel free to disregard this. I ultimately traced the issue back to a plugin that hooked into the `UserScoreSerializer` that implemented its own narrow `.select()` statement. It wasn’t apparent initially because there was no backtrace provided in `/logs` for the `MissingAttributeError`. Only after digging through and making the call manually through rails to get a full stack trace was I able to pinpoint the errant plugin.

Thanks, and sorry for the false alarm!

---

_[View the full topic](https://meta.discourse.org/t/discourse-gamification-getting-404-missingattributeerror-on-leaderboard-route/404855)._
