# Can't hydrate plugin without an \`id\` error on /admin/plugins page

**URL:** https://meta.discourse.org/t/cant-hydrate-plugin-without-an-id-error-on-admin-plugins-page/26862
**Category:** Bug
**Created:** [March 27, 2015, 6:54am UTC](https://meta.discourse.org/t/cant-hydrate-plugin-without-an-id-error-on-admin-plugins-page/26862 "2015-03-27T06:54:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nileshtrivedi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nileshtrivedi/32/37212_2.png) [@nileshtrivedi](https://meta.discourse.org/u/nileshtrivedi)
#### Post date: [March 27, 2015, 6:54am UTC](https://meta.discourse.org/t/cant-hydrate-plugin-without-an-id-error-on-admin-plugins-page/26862/1 "2015-03-27T06:54:41Z")

</div>

I am on version 1.3.0.beta4 and get this JS error on /admin/plugins (logged in as admin). Server logs show “200 OK” although the URL seems incorrect:

```
Started GET "/admin//plugins?_=1427438873295" for 122.166.214.142 at 2015-03-27 06:49:46 +0000
Processing by Admin::PluginsController#index as JSON
  Parameters: {"_"=>"1427438873295"}
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)

```

Notice the double slash in “/admin//plugins”. Could this be the cause?

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [March 27, 2015, 4:03pm UTC](https://meta.discourse.org/t/cant-hydrate-plugin-without-an-id-error-on-admin-plugins-page/26862/2 "2015-03-27T16:03:05Z")

</div>

I reviewed the code and the most likely cause for this is that you have a plugin installed that doesn’t have a `name` in its metadata. The `name` field is required for that page to work.

The double slash in the path appears to be harmless from a request standpoint but it needed to be fixed:

[https://github.com/discourse/discourse/commit/88c4250df7999d23eff60d94748debe5107a0bb6](https://github.com/discourse/discourse/commit/88c4250df7999d23eff60d94748debe5107a0bb6)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [March 27, 2015, 4:08pm UTC](https://meta.discourse.org/t/cant-hydrate-plugin-without-an-id-error-on-admin-plugins-page/26862/3 "2015-03-27T16:08:01Z")

</div>


