# User API key instead of Admin API key?

**URL:** <https://meta.discourse.org/t/user-api-key-instead-of-admin-api-key/59713>\
**Category:** WordPress\
**Created:** [March 22, 2017, 8:39pm UTC](https://meta.discourse.org/t/user-api-key-instead-of-admin-api-key/59713 "2017-03-22T20:39:39Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jamescobalt](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamescobalt/32/69009_2.png) [@jamescobalt](https://meta.discourse.org/u/jamescobalt)\
**Post date:** [March 23, 2017, 1:48am UTC](https://meta.discourse.org/t/user-api-key-instead-of-admin-api-key/59713/3 "2017-03-23T01:48:18Z")

</div>

I changed it back to the user API but this time I removed all the Discourse publishing names from the Wordpress users. I figured this would reduce or remove any conflict between my user publishing another user’s post on another user’s API key. Same behavior as before though… at first.

I also noticed that the connection message wasn’t consistent. Sometimes it said I am connected, and other times it said “You are not connected to a Discourse forum. Please check your settings”. It went back and forth between that and “connected” as I switched between tabs or reloaded the page. It did this whether or not I was using the Admin API key or User API key, but at least it worked with the Admin key.

After I updated a bunch of WP plugins (including the Discourse plugin), I noticed the message was consistently “connected”. I tried it again with the User key, and now it… returns a 502 error. BUT the posts do publish on Discourse regardless! So maybe that 502 is a server config issue on my part. _shrug_

---

_[View the full topic](https://meta.discourse.org/t/user-api-key-instead-of-admin-api-key/59713)._
