Hi there,
I'm trying to create and approve an email template via Marketo API. I can create the email template fine, but when I try to approve the email template, I get two different errors:
1 - 611- System Error
This one happens when I try to approve the email template with an API call that happens right after I create the template.
2 - 611 - 1196 Unable to approve email template
This one happens when I call the endpoint a few seconds later of creating the email template.
If I go the Marketo Design Studio UI, I can approve the template without any errors, but I need to do this programmatically.
The template I'm using is marketo-template.html · GitHub if helps. Is this a known error? Anything I can do about?
Thanks
Solved! Go to Solution.
Alright, I figured the problem. My `class="mktEditable" id="body"` were in the <body> element, and that was making the approval fail. For some reason, using the UI works.
Creating a div inside the body and putting the content over there made it work.
Alright, I figured the problem. My `class="mktEditable" id="body"` were in the <body> element, and that was making the approval fail. For some reason, using the UI works.
Creating a div inside the body and putting the content over there made it work.