Wordpress create post (to a buddyboss or buddypress topic post type) fails

:bullseye: What is your goal?

Create a post to a post type ‘topic’. This is a post type found in any wordpress system which includes either buddypress or buddyboss. In short, allow creating a new topic/activity within the newsfeed.

:thinking: What is the problem & what have you tried?

Fails with an error.

I’ve tried enabling the log on the make wordpress plugin, but its devoid of helpful information. Only thing I’ve not tried is enabling post tracing within apache (last resort)

But I’d think this is just a permission issue or a dependency issue on needing certain params set for creating the post type ‘topic’ ???

:clipboard: Error messages or input/output bundles

[400] Invalid parameter(s): auto_approve_assignment (error code: rest_invalid_param)
auto_approve_assignment: auto_approve_assignment is not of type boolean.

Please provide screenshots of your module fields, and link to your Wordpress URL.

required fields are filled in with valid data, sorry but due to privacy issues, I can’t provide a link to the site.

Here’s the input to the wordpress ‘create a post’ module

[
    {
        "type": "sfwd-topic",
        "title": "TEST title",
        "content": "Test content of this silly little thingy of this stuff is silly to test with "
    }
]

Unfortunately, that isn’t sufficient information to diagnose the issue. If the information is private or not suitable for posting on this forum, may I suggest getting private assistance as described below?

Do you require urgent / private support?

Is this topic going back-and-forth too slowly, or with no resolution yet? You can use the Hire a Pro > Hire Help category to request for 1-to-1 assistance to help you get the issue resolved faster, especially if it is urgent or if your automation contains sensitive information that you can’t share here.

It is important to post your request in the Hire a Pro > Hire Help category, as other forum members are not allowed to advertise services in other categories like here. Posting in the Hire a Pro > Hire Help category will also expedite your request as other members can assist you over other forms of communication like direct messages, emails, and screenshare.

@samliew

Thank-you for your reponse, but I’m not looking to hire someone.

To the rest of you out there… here’s more

…the problem may be a bit more subtle, namely the post-type ‘topics’ as defined in the json input data “type”: “sfwd-topic”, may be referring to a post type I didn’t mean to choose.

While inspecting the make plugin ‘custom api fields’ is this collection

That ‘post type’ is NOT the buddyboss/press post type related to the forums or activity posts, in short its just one I selected since that ‘looked right’

I think make is not reading ‘all’ post types within my wordpress site… possibly related to this topic on stack exchange

I suspect the post-type I want to access is not available to be chosen, because I need to tell wordpress to expose it (via a minor mode to functions.php)

I will update this conversation when I find out.