2 Replies Latest reply on Apr 17, 2018 2:08 PM by Sergey Belogoruv

    REST API unable to approve Landing Page Template

    Sergey Belogoruv

      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?