You need to have either a <$title$> or <$description$> tag

Hi there,

I've been trying to use the Template.Update API method, and I'm passing it through a link to a page that looks like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<html lang="en">
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>Lorem ipsum dolor sit</title>
    <div id="title">
    <div id="unsubscribe">
    <p>This is my template</p>
    <ul id="news">
        <li><a href="#">Item 1</a></li>

This is just basic html for testing, so it contains nothing but the essentials.

But it just gives me the 4101: No Description Or Repeater error. The <$title$> tag is there, and the same template uploads fine from within campaign monitor. Any ideas?

Jason Jason, 7 years ago

Hey taktak,

Looking at your code, there doesn't seem to be anything wrong with this, and if it uploads fine from within the app, it definitely should from the API. The validation error that it's throwing actually uses the same code in both, so it's a bit of a mystery exactly what's happening here.

If it's possible to contact us directly at support, mention your post here, and also include your api code as you are using it, we'll be able to help you out.

Join 150,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free