# How to look up a user based on a user\_id?

**URL:** <https://meta.discourse.org/t/how-to-look-up-a-user-based-on-a-user-id/43739>\
**Category:** Product Support\
**Created:** [05.Май.2016 15:09:04 UTC](https://meta.discourse.org/t/how-to-look-up-a-user-based-on-a-user-id/43739 "2016-05-05T15:09:04Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![SkritterJosh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/skritterjosh/32/121854_2.png) [@SkritterJosh](https://meta.discourse.org/u/SkritterJosh)\
**Post date:** [05.Май.2016 15:09:04 UTC](https://meta.discourse.org/t/how-to-look-up-a-user-based-on-a-user-id/43739/1 "2016-05-05T15:09:04Z")

</div>

I’ve been looking at sidekiq and noticing an abnormally high number of failed Jobs::UserEmail jobs. Looking into the arguments almost all of them seem to be coming from the same user id. _It’s import to note that all other emails are sending normally._

`{"type"=>"digest", "user_id"=>398, "current_site_id"=>"default"}`

`Jobs::HandledExceptionWrapper: Wrapped Net::SMTPServerBusy: 401 4.1.3 Bad recipient address syntax`

I’m unable to actually find the user by id to figure out where all these failed attempts are coming from. Any thoughts?

---

_[View the full topic](https://meta.discourse.org/t/how-to-look-up-a-user-based-on-a-user-id/43739)._
