# Exception on certain Maps URLs

**URL:** <https://meta.discourse.org/t/exception-on-certain-maps-urls/65218>\
**Category:** Bug\
**Created:** [2017 年 6 月 27 日午後 6:17 UTC](https://meta.discourse.org/t/exception-on-certain-maps-urls/65218 "2017-06-27T18:17:17Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![glebm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/glebm/32/120891_2.png) [@glebm](https://meta.discourse.org/u/glebm)\
**Post date:** [2017 年 6 月 27 日午後 7:17 UTC](https://meta.discourse.org/t/exception-on-certain-maps-urls/65218/3 "2017-06-27T19:17:17Z")

</div>

That’s right

It tries to onebox it but fails with this exception:

```plaintext
ActionView::Template::Error: odd number of arguments for Hash

/gems/onebox-1.8.11/lib/onebox/engine/google_maps_onebox.rb:122 in []
/gems/onebox-1.8.11/lib/onebox/engine/google_maps_onebox.rb:122 in resolve_url!
/gems/onebox-1.8.11/lib/onebox/engine/google_maps_onebox.rb:41 in initialize
/gems/onebox-1.8.11/lib/onebox/preview.rb:71 in new
/gems/onebox-1.8.11/lib/onebox/preview.rb:71 in engine
/gems/onebox-1.8.11/lib/onebox/preview.rb:15 in to_s

```

Originally reported here: [Exception when using certain Google Map URLS · Issue #598 · thredded/thredded · GitHub](https://github.com/thredded/thredded/issues/598)

---

_[View the full topic](https://meta.discourse.org/t/exception-on-certain-maps-urls/65218)._
