<p>Had a typo in my template directory.</p>

CC BY-SA 3.0
2016-03-21T16:00:40.360Z
It's also worth noting that Campaign Monitor requires that your content be public.  So, while live preview may work for your email locally, when submitting the email code to the Campaign Monitor API you will need to have your code in a web accessible location.
Ben Parizek
CC BY-SA 3.0
2016-03-21T12:03:50.903Z
2016-03-21T12:03:50.903Z
Jan
<p>I'm getting the following error when trying to send a campaign with Campaign Monitor through the Sprout E-mail plugin:</p>

<pre><code>400: HTML Content URL Required
</code></pre>

<p>I used the example templates provided by Sprout. The Api connects well (I get the list my subscription list from Campaign Monitor in Sprout). I make a new campaign and I can preview the mail in both html and text. The preview looks fine (just some hardcoded stuff). But when I try to send the mail I keep on bumping on that issue. I figured it had to do something with the template url, so I played around with the setting in the campaign:</p>

<pre><code>Entries of this type have their own URLs 
</code></pre>

<p>I tried pointing it to the template (<code>sproutemail/newsletter</code>) or the name of the entry (<code>sproutemail/{slug}</code>), both without any luck.</p>

<emails><plugin-sproutemail>
Sprout E-mail: 400: HTML Content URL Required - Campaign Monitor
# Sprout E-mail: 400: HTML Content URL Required - Campaign Monitor

(Asked by: username_0 on 2016-03-21)

I'm getting the following error when trying to send a campaign with Campaign Monitor through the Sprout E-mail plugin:
400: HTML Content URL Required

I used the example templates provided by Sprout. The Api connects well (I get the list my subscription list from Campaign Monitor in Sprout). I make a new campaign and I can preview the mail in both html and text. The preview looks fine (just some hardcoded stuff). But when I try to send the mail I keep on bumping on that issue. I figured it had to do something with the template url, so I played around with the setting in the campaign:
Entries of this type have their own URLs 

I tried pointing it to the template (sproutemail/newsletter) or the name of the entry (sproutemail/{slug}), both without any luck.

**Tags:** emails, plugin-sproutemail

---

## 1 answers

### Answer by username_0 on 2016-03-21. Score: 2

Had a typo in my template directory.

> **Comments:**
> **username_1**: It's also worth noting that Campaign Monitor requires that your content be public.  So, while live preview may work for your email locally, when submitting the email code to the Campaign Monitor API you will need to have your code in a web accessible location.  

---

