I am using the latest WordPress version together with latest wordpress plugin. Upon posting automagically from WP into Discourse, I get this error:
A post has failed to publish on Discourse from your site [netzwissen.de]. The post '@netzwissen.de Migration erledigt' was published on WordPress by autor01, on 2024-01-01 13:34:14. [<https://www.netzwissen.de/2024/01/01/netzwissen-de-migration-erledigt/>](https://www.netzwissen.de/2024/01/01/netzwissen-de-migration-erledigt/)
Reason for failure: A 422 response code was returned from Discourse. Embed url wird bereits verwendet If you're having trouble with the WP Discourse plugin, you can find help at: [<https://meta.discourse.org/c/support/wordpress>](https://meta.discourse.org/c/support/wordpress)
Despite this error, the post appears in Discourse, but with some empty <div> ...</div> blocks which come from the Divi theme framework in WordPress (Divi — The Ultimate WordPress Theme & Visual Page Builder). Shouldn’t such html/css code be removed automatically processing into the bbcode/md scheme at Discourse?
Hey Thomas, my initial thought is that the error is occurring because the post is being sent to Discourse twice and the HTML issue is separate. Let’s start with the double-publishing issue. Could you confirm a few things for me:
Where are you seeing this error? In the Logs Viewer in the WP Discourse plugin?
Do you see this on all posts being published to Discourse or only some?
Are you scheduling the posts?
Which Wordpress composer are you using to compose the posts (classic or gutenberg)?
Are you using any other theme or plugin or customisation that affects the way you post in Wordpress?
Hey! I have the exact same problem atm and can’t solve it by my own. Everytime I publish an article, it doesn’t connect it with the discourse topic. Same error code as above. Would love to hear if you found a solution.