4 Replies Latest reply on Jun 6, 2018 8:05 PM by Edwin Afable

    Bug With Folder ID for Cloning Program via Rest API?

    Edwin Afable

      Hello Marketo Community,


      Is a Folder ID obtained from the 4~5 digit ID in the URL?


      I'm currently trying to clone a program into a folder with this endpoint, but encounter the following error:

      I'm able to successfully clone into a program, but for some reason it doesn't work when I try to clone into a folder. Here's how I'm retrieving the Form ID:


      Here's the specific JavaScript that's modified:

      I've had it say: {"id":XXXXX,"type":"Program"} for the relevant section and it successfully inserted a new program. Any ideas or thoughts would be appreciated Thanks in advance for any insight.