# "There has been an error publishing this post to Discourse."

**URL:** <https://meta.discourse.org/t/there-has-been-an-error-publishing-this-post-to-discourse/76844>\
**Category:** WordPress\
**Created:** [27 Dicembre 2017, 9:48pm UTC](https://meta.discourse.org/t/there-has-been-an-error-publishing-this-post-to-discourse/76844 "2017-12-27T21:48:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [27 Dicembre 2017, 9:54pm UTC](https://meta.discourse.org/t/there-has-been-an-error-publishing-this-post-to-discourse/76844/2 "2017-12-27T21:54:49Z")

</div>

Have you set your Discourse username on your WordPress profile page? It needs to match the username that’s used on your Discourse account. That is the most likely cause of the 403 error you are getting. I meant to update the error message for when a 403 error is returned, but forgot to add that to the last update of the plugin.

If you enable the Send Email Notification on Publish Failure setting (found on the wp-discourse Publishing settings tab) you will be emailed a fairly detailed error message if a post fails to publish.

---

_[View the full topic](https://meta.discourse.org/t/there-has-been-an-error-publishing-this-post-to-discourse/76844)._
