# WP Discourse "Update Discourse topic" error

**URL:** https://meta.discourse.org/t/wp-discourse-update-discourse-topic-error/88656
**Category:** WordPress
**Created:** [May 29, 2018, 1:24pm UTC](https://meta.discourse.org/t/wp-discourse-update-discourse-topic-error/88656 "2018-05-29T13:24:18Z")
**Posts on this page:** 1
**Showing post:** 24

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [June 21, 2019, 7:54am UTC](https://meta.discourse.org/t/wp-discourse-update-discourse-topic-error/88656/24 "2019-06-21T07:54:15Z")

</div>

Just a quick followup

I tried to update a post to display full post with removing any shortcodes based on the code snippet from here:

> [@WP Discourse plugin tips and tricks](https://meta.discourse.org/t/wp-discourse-plugin-tips-and-tricks/50757):
>
> This topic has a number of tips and tricks for users of the [WP Discourse](https://github.com/discourse/wp-discourse) WordPress plugin. Adjust the comments\_number sync period for WordPress archive pages To get the correct number of Discourse comments for a post, the plugin needs to periodically make an HTTP request to Discourse to get the current comments number. On single pages this period is set to be no more often than every 10 minutes. For archive pages the period is set to no more than once every 24 hours. The reason for this is to a…

Even then I get the good old error:

> A 422 response code was returned from Discourse.  
> Unprocessable Entity

---

_[View the full topic](https://meta.discourse.org/t/wp-discourse-update-discourse-topic-error/88656)._
