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, 8 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.

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free