# 404 when trying to create an API key for system user

**URL:** <https://meta.discourse.org/t/404-when-trying-to-create-an-api-key-for-system-user/33535>\
**Category:** Bug\
**Created:** [9월 21, 2015, 6:33오후 UTC](https://meta.discourse.org/t/404-when-trying-to-create-an-api-key-for-system-user/33535 "2015-09-21T18:33:03Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![OnceWas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oncewas/32/40734_2.png) [@OnceWas](https://meta.discourse.org/u/OnceWas)\
**Post date:** [9월 21, 2015, 6:33오후 UTC](https://meta.discourse.org/t/404-when-trying-to-create-an-api-key-for-system-user/33535/1 "2015-09-21T18:33:03Z")

</div>

I am trying to create an API key for our ‘system’ user. When I click on Generate from the system user’s admin page, I get no key, and a 404 error appears in the console. There is no entry in the Discourse log.

`https://<site_url>/admin/users/-1/generate_api_key Failed to load resource: the server responded with a status of 404 (Not Found)`

I am able to generate API keys for other users.

I am running v1.4.0.beta9.

 ![](https://global.discourse-cdn.com/meta/original/3X/0/5/05db41e090f6fe25c9f06d16541f37793437119d.png)

 ![](https://global.discourse-cdn.com/meta/original/3X/d/e/dedf5b98bf69a87f34ea64b01f07cf2c31cdc675.png)

---

_[View the full topic](https://meta.discourse.org/t/404-when-trying-to-create-an-api-key-for-system-user/33535)._
