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

Thanks, the username was the issue. But I still have a problem that the comments are not synced even though i created the hook, verified that it is active and has post_event and that the secret key is the same.