Hi all, I’m trying to post a new topic via the API but keep getting the 422 error with the below message whenever I try to use plain text (rather than a form):
"**action**": "create_post",
"**errors***":[
"Title can't be blank",
"Title is too short (minimum is 5 characters)",
"Title seems unclear, most of the words contain the same letters over and over?",
"Category can't be blank"
When using the api and you see errors like “Title can’t be blank” but it looks you are actually passing in a title, this usually means that something isn’t sent to the api in the proper form and it isn’t able to read the data you are sending it. Are you sending it json instead of actual form-data?
Here is an example curl request to create a topic: