# Publishing post to discourse not working

**URL:** https://meta.discourse.org/t/publishing-post-to-discourse-not-working/115329
**Category:** WordPress
**Created:** [4월 17, 2019, 6:08오후 UTC](https://meta.discourse.org/t/publishing-post-to-discourse-not-working/115329 "2019-04-17T18:08:59Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bobdude](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bobdude](https://meta.discourse.org/u/bobdude)
#### Post date: [4월 17, 2019, 6:08오후 UTC](https://meta.discourse.org/t/publishing-post-to-discourse-not-working/115329/1 "2019-04-17T18:08:59Z")

</div>

Error: Your post could not be published to Discourse. Check that your Discourse Username is set correctly on your WordPress profile page.

I have Just installed(1 week ago) and enabled SSO with WP as the provider. The sso is working but I get this error when trying to publish to Discourse. I’m not forcing the usernames to change to the WP username. However I have made sure they match on the writing account.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [4월 17, 2019, 6:31오후 UTC](https://meta.discourse.org/t/publishing-post-to-discourse-not-working/115329/2 "2019-04-17T18:31:11Z")

</div>

Can you double check the value of the Discourse Username field on your WordPress user profile page? It is in the profile page’s Contact Info section. The Discourse Username needs to exactly match your username on Discourse. Let me know if this doesn’t solve the problem.

---

<div class="post-metadata">

### Author: ![bobdude](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bobdude](https://meta.discourse.org/u/bobdude)
#### Post date: [4월 17, 2019, 7:10오후 UTC](https://meta.discourse.org/t/publishing-post-to-discourse-not-working/115329/3 "2019-04-17T19:10:03Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/3X/6/0/603e29bfccc37536ec00de71ddf4ea301a60a13b.png)

I don’t have a discourse Username field on the WP profile page.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [4월 17, 2019, 7:15오후 UTC](https://meta.discourse.org/t/publishing-post-to-discourse-not-working/115329/4 "2019-04-17T19:15:54Z")

</div>

Can you check if you have enabled the [WP Discourse](https://github.com/discourse/wp-discourse) ‘Do Not Display Discourse Name Field’ option? It is found on the plugin’s Publishing tab. If this setting is enabled, could you try disabling it? That should let you see the value of the Discourse Username on their profile page.

If you have not enabled that setting, and are still not seeing the Discourse Username field, it is quite likely a conflict with another plugin. I can take a look at that.

---

<div class="post-metadata">

### Author: ![bobdude](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bobdude](https://meta.discourse.org/u/bobdude)
#### Post date: [4월 17, 2019, 7:23오후 UTC](https://meta.discourse.org/t/publishing-post-to-discourse-not-working/115329/5 "2019-04-17T19:23:14Z")

</div>

Thanks for your help. I did have that box checked. Everything is working great now.
