# Posts and pages aren't uploading from WP discourse plugin

**URL:** https://meta.discourse.org/t/posts-and-pages-arent-uploading-from-wp-discourse-plugin/90946
**Category:** WordPress
**Created:** [June 28, 2018, 11:41am UTC](https://meta.discourse.org/t/posts-and-pages-arent-uploading-from-wp-discourse-plugin/90946 "2018-06-28T11:41:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Zooey](https://avatars.discourse-cdn.com/v4/letter/z/c2a13f/32.png) [@Zooey](https://meta.discourse.org/u/Zooey)
#### Post date: [June 28, 2018, 11:41am UTC](https://meta.discourse.org/t/posts-and-pages-arent-uploading-from-wp-discourse-plugin/90946/1 "2018-06-28T11:41:43Z")

</div>

Hii!!

I’m trying to integrate a WP with a discourse forum, as has been done thousands of times. It is the famous plugin a lot of people is using, the one in this topic:

> [@Install and configure the WP Discourse Wordpress plugin for Discourse](https://meta.discourse.org/t/wp-discourse-plugin-installation-and-setup/50752):
>
> To get started with the [WP Discourse](https://github.com/discourse/wp-discourse) Plugin, go through each of these topics in order and watch the videos at the top of the topic. [Install the plugin](https://meta.discourse.org/t/install-the-wp-discourse-plugin/223489/1)[Connect to Discourse](https://meta.discourse.org/t/connect-wp-discourse-to-discourse/223490/1)[Set up Publishing](https://meta.discourse.org/t/wp-discourse-and-publishing-posts-to-discourse/223492/1)[Set up Commenting](https://meta.discourse.org/t/wp-discourse-and-commenting/223493/1)[Set up DiscourseConnect](https://meta.discourse.org/t/wp-discourse-and-discourseconnect/223494/1) The two main plugin features, Publishing and [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) don’t have to be used together. You can just set up Publishing (and Commenting), and not use [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true), or just set up [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true), or set up both. There’s a short description of each featu…

The problem is that, for some reason, even if everything in the connection seems correct, I can’t upload posts or pages as topics/responses to Discourse. The message “There has been an error publishing this post to Discourse.” appears.

I can see my Discourse forum categories in the “create post” part of wordpress, so I know my WP is conneted to my Discourse. I’ve tried all kinds of configurations and it is still impossible, that error message is still appearing.

I’ve installed the Query Monitor plugin and so far there are no errors of any type.

I’ve also tried to check the error logs of the Discourse forum and there’s no reference to these things happening. Browser console doesn’t yield any info. the only thing I have is this error message and the fact that things aren’t being posted in Discourse (yet they do appear in the wordpress site)…

I’m a bit lost.

What do? Thanks!!!

---

<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: [June 28, 2018, 3:50pm UTC](https://meta.discourse.org/t/posts-and-pages-arent-uploading-from-wp-discourse-plugin/90946/2 "2018-06-28T15:50:15Z")

</div>

Try enabling the [WP Discourse](https://github.com/discourse/wp-discourse) Send Email Notification on Publish Failure setting. It’s found on the Publishing tab of the plugin’s options page. When it’s enabled, you should be sent an email with some more details about why the post failed to publish.

Other things to check:

- make sure the plugin’s API key setting is using the Discourse All Users API key
- the Publishing Username should be set to the username of a Discourse admin user (try using ‘system’ if you haven’t renamed the system user)
- make sure your Discourse username is set on WordPress to be exactly the same as your username on Discourse. The Discourse Username is set on WordPress on your profile page, in the Contact Info section.
