# 404 error loading comments

**URL:** <https://meta.discourse.org/t/404-error-loading-comments/153615>\
**Category:** WordPress\
**Created:** [June 2, 2020, 7:56pm UTC](https://meta.discourse.org/t/404-error-loading-comments/153615 "2020-06-02T19:56:32Z")\
**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:** [June 2, 2020, 8:14pm UTC](https://meta.discourse.org/t/404-error-loading-comments/153615/2 "2020-06-02T20:14:49Z")

</div>

> [@kimikelku](#):
>
> The blog post itself loads a div like so:  
> `<div class="wpdc-comments-loading" id="wpdc-comments" data-post-id="544"></div>`

It looks like you have enabled the “Load Comments With Ajax” option. That option is found near the top of the [WP Discourse](https://github.com/discourse/wp-discourse) Comment Settings tab. I’m not sure that it will make a difference, but could you temporarily try disabling that setting to see if you’re still getting a `404` response?

Also, make sure you are using an All Users API Key for the plugin’s API Key setting, and that you have set the Publishing Username setting to the name of the system user on your site. Unless you have changed it, that username will be `system`

I’m going to update the copy on the plugin’s Connection settings page to make it clear how to generate the API Key. When you create the key, you should see something like this:

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/3/5391c6e1290f72351ec6f877eab024c36e936637.png)

Let me know if you’re still having trouble getting this to work.

---

_[View the full topic](https://meta.discourse.org/t/404-error-loading-comments/153615)._
