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

It didn’t change anything when I turned the Sync off.
It is worth noting that looking at the wordpress meta data, at least some fields are correct:
discourse_comments_count shows the correct number of comments
discourse_permalink shows correct url
Perhaps also worth noting, that before the self hosted Discourse, i did the hosted Discourse trial and then comments synced very well both with and without ajax