rosdyana
2 years agoAce
Unable to create post using API
Hi, Recently, I got this error when trying to create a post using the API {
"status": "error",
"message": "This post contains content that is not permitted in the community. You must remov...
- 2 years ago
I don't remember the error message I received but ran into a similar problem once editing posts with the API. That turned out to be because of the HTML included in the posts. I had to make sure the users editing posts had full HTML permission. (This was a tool I made for employees only so that was ok)
Another possibility, are you adding attachments that aren't an allowed file type in your community?
Anything that might cause an error when trying to post directly on the community will likely also cause an error when doing the same with the API.