Not a bug Posting new thread with API

Status
Not open for further replies.

placiu

New member
Affected version
2.2.11
Hi,

I'm trying to post a new thread through API and passing this data as post fields (based on documentation):

'node_id' => 1,
'title' => 'test',
'message' => 'test',
'api_bypass_permissions' => 1,

I'm getting this error:

"errors": [
{
"code": "please_enter_valid_name",
"message": "Please enter a valid name.",
"params": []
}
]

What's the name I'm missing? According to the API https://xenforo.com/community/pages/api-endpoints/#route_post_nodes_ only 'node_id', 'title' and 'message' are required
 
If you require support, you will need to associate your forum user name with your license, then post in the relevant forum.
 
Status
Not open for further replies.
Top Bottom