Error saving on Folder 27

integrationsbee
Level 1

Hi,
we developed one integration with Marketo Engage.
By using the create email template API, we save the email templates in the folder with id=27 and type="Folder". To date, Folder - 27 is one system and default folder for all users.
But in same cases we got the error: 711 - 27 Folder is not an email template folder. Why?
Any help is welcomed.
Thanks in advance


2 REPLIES 2
Michael_Florin
Level 10

Not sure this helps, but here's what I'm seeing: 

 

https://experience.adobe.com/#/NAME_AND_MUNCHKIN/marketo-engage/ds/emailtemplates/27 is indeed the ID of the "Email Template" folder in your default workspace. 28 is the Archive folder underneath 27. And I can create templates in exactly these two folders. Any other ID creates the error you're seeing:

    "success": false,
    "warnings": [],
    "errors": [
        {
            "code": "711",
            "message": "29 Folder is not an email template folder"
        }
    ]
}

 

If you're sure that your API call used the value pair "folder : {"id":27,"type":"Folder"}" and you're still getting that error, I'd talk to Marketo Support. 

integrationsbee
Level 1

Thanks for your response.
"folder : {"id":27,"type":"Folder"}" is fixed in the request.
I'm waiting Marketo Support response .