landingPage approveDraft.json not working
Hi everyone,
I’m trying to approve a Marketo Landing Page draft via the REST Asset API and I’m running into a strange issue.
When I call:
POST /rest/asset/v1/landingPage/{id}/approveDraft.jsonthe module returns [null] (and sometimes a DataError), and the landing page remains in status: "draft". There is no visible error message returned in the middleware I’m using.
What makes this confusing is that other endpoints work perfectly in the same scenario. I can retrieve the landing page (GET /landingPage/{id}.json), confirm that a draft exists (GET ...?status=draft), and I can successfully call unapprove.json on the same landing page. Form approvals and other Asset API updates (like form visibility rules and picklist updates) also work without any issue.
I’ve tested multiple variations of the approveDraft call, including different Content-Type headers (application/json and application/x-www-form-urlencoded), sending an empty body, and sending a dummy form-encoded parameter. The behavior is always the same: the module outputs null, and the draft status does not change.
I’ve also tested this with a different landing page and observed the exact same behavior. It’s nnot about permissions, as I have all the permissions for my API user.
Has anyone successfully used approveDraft.json for landing pages via the REST API,? I’m trying to determine whether this is a connector parsing issue, a subtle permission nuance specific to landing pages, or something about the draft state that blocks approval without returning a clear error.