Answers.Body: <p>Had a typo in my template directory.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-21T16:00:40.360Z
Answers.Text: 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.
Answers.UserDisplayName: Ben Parizek
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-21T12:03:50.903Z
Answers.LastActivityDate: 2016-03-21T12:03:50.903Z
Answers.UserDisplayName: Jan
Body: <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>
  
Tags: <emails><plugin-sproutemail>
Title: Sprout E-mail: 400: HTML Content URL Required - Campaign Monitor
ThreadText: # 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.  
  
  ---
  
  