Difficult to work out reason for Http 422 error in api

When publishing posts to Discourse with the API, you can set the skip_validations parameter to true to avoid 422 errors for posts that would be disallowed by your site’s settings.