# Onebox URI on User Email notification error

**URL:** <https://meta.discourse.org/t/onebox-uri-on-user-email-notification-error/51815>\
**Category:** Bug\
**Created:** [October 20, 2016, 9:36pm UTC](https://meta.discourse.org/t/onebox-uri-on-user-email-notification-error/51815 "2016-10-20T21:36:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![fearlessfrog](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fearlessfrog/32/119653_2.png) [@fearlessfrog](https://meta.discourse.org/u/fearlessfrog)\
**Post date:** [October 20, 2016, 9:50pm UTC](https://meta.discourse.org/t/onebox-uri-on-user-email-notification-error/51815/3 "2016-10-20T21:50:45Z")

</div>

We think it is this but not sure how to trace back to the post from the error logs above:

```
1] pry(main)> p = Post.find(29814)
=> #<Post:0x007f60e513e5a0
 id: 29814,
 user_id: 326,
 topic_id: 2836,
 post_number: 57,
 raw:
  "Stephen - Crossfire\nhttps://www.youtube.com/watch?v=fcsDG_jVYbc\n\nJoey Pecoraro - Ellie\n<iframe style=\"border: 0; width: 100%; height: 120px;\" src=\"https://bandcamp.com/EmbeddedPlayer/album=2727050383/size=large/bgcol=ffffff/linkcol=0687f5/tracklist=false/artwork=small/track=1985738013/transparent=true/\" seamless><a href=\"http://joeypecoraro.bandcamp.com/album/discography\">Discography by Joey Pecoraro</a></iframe>\nhttps://joeypecoraro.bandcamp.com/track/ellie\n\nI'd suggest giving the whole album a listen if you like this track, I've really enjoyed it this week.",
 cooked:
  "<p>Stephen - Crossfire<br></p><div class=\"lazyYT\" data-youtube-id=\"fcsDG_jVYbc\" data-youtube-title=\"Crossfire\" data-width=\"480\" data-height=\"270\" data-parameters=\"feature=oembed&amp;wmode=opaque\"></div>\n\n<p>Joey Pecoraro - Ellie<br><iframe><a href=\"http://joeypecoraro.bandcamp.com/album/discography\">Discography by Joey Pecoraro</a></iframe><br><a href=\"https://joeypecoraro.bandcamp.com/track/ellie\" class=\"onebox\" target=\"_blank\">https://joeypecoraro.bandcamp.com/track/ellie</a></p>\n\n<p>I'd suggest giving the whole album a listen if you like this track, I've really enjoyed it this week.</p>",
 created_at: Thu, 20 Oct 2016 04:01:33 UTC +00:00,
 updated_at: Thu, 20 Oct 2016 04:01:33 UTC +00:00,

```

..

Based on a similar Sidekiq retrying error that shows the Post id:

```
default	
Jobs::UserEmail	
{"type"=>"user_posted", "user_id"=>377, "notification_id"=>56459, "notification_data_hash"=>{"topic_title"=>"What we hearing? - Mudspike plays", "original_post_id"=>29814, "original_post_type"=>1, "original_username"=>"Andrew116", "display_username"=>"Andrew116"}, "notification_type"=>"posted", "post_id"=>29814, "current_site_id"=>"default"}
Jobs::HandledExceptionWrapper: Wrapped ArgumentError: bad argument (expected URI object or URI string)

```

The post URL on our forum is here:

> **[What we hearing? - Mudspike plays](https://forums.mudspike.com/t/what-we-hearing-mudspike-plays/2836/57?u=fearlessfrog)**
>
> Stephen - Crossfire Joey Pecoraro - Ellie Discography by Joey Pecoraro I’d suggest giving the whole album a listen if you like this track, I’ve really enjoyed it this week.

Some sort of embedded player in Onebox that choked?

---

_[View the full topic](https://meta.discourse.org/t/onebox-uri-on-user-email-notification-error/51815)._
