AnsweredAssumed Answered

REST API unable to approve Landing Page Template

Question asked by b7cf67545ccaa22169784878c3f2a4a5f81b8efd on Apr 13, 2018
Latest reply on Apr 17, 2018 by b7cf67545ccaa22169784878c3f2a4a5f81b8efd

Hi, I'm trying to update freeForm landing page templates via REST API, I'm able to post template content but can't approve it via API always getting the same error:

 

curl -X POST -H 'Authorization: Bearer XXXXXXX:lon' https://090-KUT-257.mktorest.com/rest/asset/v1/landingPageTemplate/1002/approveDraft.json
{"requestId":"819#162c181d688","success":false,"errors":[{"code":"611","message":"1002 Unable to approve landing page template"}]}

 

What's weird if I login into design studio and click Edit Draft I can "approve & close" without any errors and it works fine.

 

I've tried with different accounts and have the same issue, able to push valid draft content but unable to approve it.

 

Am I doing something wrong or it might be a bug?

Outcomes