Saving a template for single-send API

I’ve created a template that I intend to use with the single-send API. However, I can’t save it for single-send because of the following error:

“Emails that include deal personalization tokens can’t be converted. Consider deleting any modules with deal tokens in them.”

However, as best as I can tell, I’m not using any personalization tokens at all. Below is the code.

Any help would be much appreciated!

<!--
 templateType: email
 isAvailableForNewContent: true
-->
<!doctype html>
<html>
 <head>
 <title>🛥️ What to expect when you’re expecting a Legend</title>
 <style type="text/css" id="hs-inline-css">
 /*<![CDATA[*/
 /* everything in this style tag will be inlined onto matching elements */
 @import url('https://fonts.googleapis.com/css2?family=Figtree:wght@500;700&display=swap');
 body {
 background-color: #2f2f2f;
 font-family: Gotham, Figtree, arial;
 }
 .clearfix {
 display: inline-block;
 width: 100%;
 clear: both;
 overflow: auto;
 }
 hr {
 border: 0;
 border-top: 1px solid #0fb6f1;
 }
 .wrap {
 width: 700px;
 margin: 1em auto;
 }
 .btn {
 padding: 0.5em 2.5em;
 border-radius: 2em;
 background-color: #000;
 color: #fff;
 text-decoration: none;
 }
 #view_as_web {
 color: #eee;
 text-align: center;
 font-size: 0.8em;
 }
 #view_as_web a {
 color: #ccc;
 }
 #main {
 margin: 1em 0;
 background: #fff;
 }
 #header {
 background-image: url('https://1817712.fs1.hubspotusercontent-na1.net/hubfs/1817712/Post-Sale/dock.jpg');
 background-color: #fff;
 height: 885px;
 text-align: center;
 padding: 3em 3em;
 }
 #header #logo {
 width: 250px; 
 }
 #header h1 { 
 text-transform: uppercase;
 margin: 1em 0;
 font-size: 42px;
 font-weight: 900;
 line-height: 1.3;
 color: #2f2f2f;
 font-weight: bold;
 }
 #header p {
 font-size: 21px
 }
 #intro {
 padding: 1em;
 }
 #intro h2 {
 font-size: 2em;
 color: #2f2f2f;
 letter-spacing: -1px;
 }
 #intro p {
 font-weight: 100;
 padding: 0 0.5em;
 }
 #process {
 position: relative;
 margin: 2em 1em;
 }
 #process .step {
 padding-top: 1em;
 }
 #process .step div {
 float: left;
 }
 #process .step .number {
 border: 1px solid #0fb6f1;
 border-radius: 100%;
 width: 2em;
 height: 2em;
 text-align: center;
 line-height: 2em;
 margin: 1em 1em 1em 0;
 font-weight: bold;
 color: #0078a5;
 }
 #process .step .desc {
 width: 400px;
 margin: 0 3em 0 0;
 }
 #process #step2 .desc {
 width: 380px;
 }
 #process #step4 .desc {
 width: 360px;
 }
 #process #step5 .desc {
 width: 360px;
 }
 #process .step .desc h3 {
 color: #0078a5;
 }
 #process .step .desc p {
 font-size: 0.9em;
 }
 #process .step .thumbnail img {
 max-width: 200px;
 }
 #process #step2 .thumbnail img {
 max-width: 180px;
 padding-top: 1em;
 }
 #process #step4 .thumbnail img {
 padding-top: 4em;
 }
 #process #post-step {
 padding: 0 4em;
 text-align: center;
 }
 #process #post-step p {
 padding: 2em 0;
 }
 #process #post-step hr {
 width: 20%;
 border-width: 2px;
 padding: 2em 0 0 0;
 }
 #orientation {
 background-color: #ecf8ff;
 position: relative;
 padding: 2em 1em;
 }
 #orientation p#orientation-video {
 text-align: center
 }
 #orientation p#orientation-video img {
 max-width: 500px;
 padding: 2em;
 }
 #orientation p#video-tag {
 padding: 0 8em;
 text-align: center;
 }
 #orientation p#video-btn {
 padding: 2em 0 0 0;
 text-align: center;
 }
 #close {
 padding: 4em 2em;
 }
 .image_w_caption {
 text-align: center;
 margin: 2em 0;
 }
 .image_w_caption img {
 max-width: 500px;
 }
 .image_w_caption p {
 margin: 0;
 padding: 0 6em;
 }
 #footing {
 text-align: center;
 padding: 0 0 5em 0;
 }
 #footing img {
 max-width: 280px;
 }
 #socials {
 background-color: #0fb6f1;
 }
 #socials ul {
 list-style: none;
 text-align: center;
 }
 #socials li {
 display: inline;
 }
 #socials a {
 display: inline-block;
 padding: 1em;
 }
 #socials img {
 width: 1.5em;
 height: 1.5em;
 }
 #footer {
 font-size: 0.8em;
 color: #ccc;
 text-align: center;
 }
 #footer a {
 color: #ccc;
 }
 /*]]>*/
 </style>
 </head>
 <body>
 <div class="wrap">
 <!-- Preview text (text which appears right after subject in certain email clients) -->
 <div id="preview_text" style="display:none!important">{% text "preview_text" label="Preview Text <span class=help-text>This will be used as the preview text that displays in some email clients</span>", value="", no_wrapper=True %}</div>
 <!-- View as webpage link -->
 {% if content.create_page %}
 <div id="view_as_web">
 Not rendering correctly? <a class="hubspot-mergetag" data-viewaswebpage="true" href="{{ view_as_page_url }}">View this email as a web page</a>.
 </div>
 {% endif %}
 <div id="main">
 <!-- Insert body here -->
 <div id="header">
 <img src="https://1817712.fs1.hubspotusercontent-na1.net/hubfs/1817712/Brand/legendboats_oneclr-black.png" id="logo" />
 <h1>
 {% inline_text field="text_field" value="Welcome to the family!" %}
 </h1>
 <p>
 On behalf of the entire Legend Boats team, we'd like to thank you for your business and welcome 
 you to the Legend Boats family.
 </p>
 </div>
 <div id="intro">
 <h2>
 What to Expect
 </h2>
 <p>
 Between now and the day you pick up your boat, we'll be checking in with information about how 
 it's coming, introducing you to the team, and making sure you know what to expect and when.
 </p>
 <p>
 We're dedicated to ensuring that our customers have the most enjoyable experience possible,
 with no surprises along the way. Here is a bit about the process:
 </p>
 </div>
 <div id="process">
 <div class="step" id="step1">
 <div class="number">
 1
 </div>
 <div class="desc">
 <h3>
 Pick Up 
 </h3>
 <p>
 Your pick-up date will be scheduled upon product availability. As soon as we receive your
 boat and accessories from our manufacturing facilities, we will set that date and be in touch
 to confirm that this date would work with you as well.
 </p>
 </div>
 <div class="thumbnail">
 <img src="https://1817712.fs1.hubspotusercontent-na1.net/hubfs/1817712/Post-Sale/step1-phone.png" />
 </div>
 </div>
 <div class="clearfix"></div>
 <hr />
 <div class="step" id="step2">
 <div class="number">
 2
 </div>
 <div class="desc">
 <h3>
 Add-ons and Accessories 
 </h3>
 <p>
 With the excitement of the big day approaching, many customers have requests regarding exciting
 add-ons and accessories. Your Legend Boats representative is there to aid you in this process.
 </p>
 <p>
 Between now and two weeks prior to your pick-up date, you'll have plenty of opportunity to consider
 and discuss such additions, based on availability.
 </p>
 </div>
 <div class="thumbnail">
 <img src="https://1817712.fs1.hubspotusercontent-na1.net/hubfs/1817712/Post-Sale/step2a.jpg" />
 </div>
 </div>
 <div class="clearfix"></div>
 <hr />
 <div class="step" id="step3">
 <div class="number">
 3
 </div>
 <div class="desc">
 <h3>
 Don't Sweat It 
 </h3>
 <p>
 We will be sending out an email to remind you about your Orientation, including date, time, directions,
 and more details regarding your pickup.
 </p>
 </div>
 <div class="thumbnail">
 <img src="https://1817712.fs1.hubspotusercontent-na1.net/hubfs/1817712/Post-Sale/step3-phone.png" />
 </div>
 </div>
 <div class="clearfix"></div>
 <hr />
 <div class="step" id="step4">
 <div class="number">
 4
 </div>
 <div class="desc">
 <h3>
 We Value Your Feedback 
 </h3>
 <p>
 <strong>When you drive off with your boat, we hope it's with a big smile on your face.</strong>
 </p>
 <p>
 We will be sending out a short survey to see how we did from Day 1 through Orientation day. We're striving 
 for a perfect 10, but if you feel we fall short in any areas we want to hear about it. We appreciate
 you helping us evolve as a company.
 </p>
 </div>
 <div class="thumbnail">
 <img src="https://1817712.fs1.hubspotusercontent-na1.net/hubfs/1817712/Post-Sale/step4-rating.png" />
 </div>
 </div>
 <div class="clearfix"></div>
 <hr />
 <div class="step" id="step5">
 <div class="number">
 5
 </div>
 <div class="desc">
 <h3>
 We care about your boat, even after it leaves the lot. 
 </h3>
 <p>
 To help protect your investment all year round, we also offer winterixation and storage services. It's 
 important to make sure your boat is prepared for any season, especially during Canada's cold winter
 months.
 </p>
 </div>
 <div class="thumbnail">
 <img src="https://1817712.fs1.hubspotusercontent-na1.net/hubfs/1817712/Post-Sale/step5-WinterizationFlatLay_final-square.jpg" />
 </div>
 </div>
 <div class="clearfix"></div>
 <div id="post-step">
 <p>
 At any time through this process, feel free to connect with your Memory Maker, Business Manager, Boat 
 Specialist, or any other member of our team. They're here to ensure the process is as smooth as possible.
 </p>
 <hr/>
 </div>
 </div>
 <div id="orientation">
 <h2>
 "What should I do in the meantime?"
 </h2>
 <p>
 We're so glad you asked. Between now and your pick-up date is a great time to seize the opportunity and dive
 into our Legend Boats Orientation Videos. With them, you'll be fully equipped to learn everything you need
 to know to master the waters.
 </p>
 <p id="orientation-video">
 <a href="https://support.legendboats.com/s/orientation-videos?language=en_US">
 <img src="https://1817712.fs1.hubspotusercontent-na1.net/hubfs/1817712/Post-Sale/jake-welcome.png" />
 </a>
 </p>
 <p id="video-tag">
 We have a complete library of digital Orientation videos to help you feel prepared.
 </p>
 <p id="video-btn">
 <a class="btn" href="https://support.legendboats.com/s/orientation-videos?language=en_US">
 View orientation videos
 </a>
 </p>
 </div>
 <div id="close">
 <p>
 Of course, if you have any questions after reviewing the orientation videos, give us a shout! Your memory
 maker and boat specialist are here to help ensure your boating experience is as amazing as it can be.
 </p>
 <p>
 <strong>We can't wait to see you on the water!</strong> Be sure to wave :)
 </p>
 <div class="image_w_caption">
 <a href="https://youtu.be/Z43KMma3Bs4?t=139">
 <img src="https://1817712.fs1.hubspotusercontent-na1.net/hubfs/1817712/Post-Sale/talarico.png" 
 alt="Len Talarico, waving to a fellow angler." />
 </a>
 <p>
 <small>Still taken from "<a href="https://www.youtube.com/watch?v=Z43KMma3Bs4">Fall Fishing with Len 
 Talarico</a>", available on our YouTube channel.</small>
 </p>
 </div>
 <p>
 From all of us here at Legend Boats, THANK YOU again. We look forward to years of creating memories together.
 </p>
 <p>
 <em>Yours in boating,</em>
 </p>
 <p>
 The Legend Boats Team
 </p>
 </div>
 <div id="footing">
 <img src="https://1817712.fs1.hubspotusercontent-na1.net/hubfs/1817712/Brand/legendboats_full-clr.png" alt="Legend Boats logo" />
 </div>
 <div id="socials">
 <ul>
 <li>
 <a href="https://www.facebook.com/LegendBoats/">
 <img src="https://1817712.fs1.hubspotusercontent-na1.net/hubfs/1817712/Post-Sale/f_logo_RGB-White_144.png" 
 alt="Our Facebook Page" />
 </a>
 </li>
 <li>
 <a href="https://www.instagram.com/legendboats">
 <img src="https://1817712.fs1.hubspotusercontent-na1.net/hubfs/1817712/Post-Sale/IG-icon-white.png" 
 alt="Our Instagram Account" />
 </a>
 </li>
 <li>
 <a href="https://www.youtube.com/user/LegendBoatsCA">
 <img src="https://1817712.fs1.hubspotusercontent-na1.net/hubfs/1817712/Post-Sale/yt_icon_mono_dark.png" 
 alt="Our YouTube Account" />
 </a>
 </li>
 <li>
 <a href="https://ca.linkedin.com/company/legend-boats">
 <img src="https://1817712.fs1.hubspotusercontent-na1.net/hubfs/1817712/Post-Sale/In-White-128.png" 
 alt="Our LinkedIn Page" />
 </a>
 </li>
 </ul>
 </div>
 </div>
 <!-- Office location information and unsubscribe links -->
 <p id="footer">
 {{ site_settings.company_name }} 
 {{ site_settings.company_street_address_1 }} 
 {{ site_settings.company_street_address_2 }} 
 {{ site_settings.company_city }} 
 {{ site_settings.company_state }} 
 {{ site_settings.company_zip }} 
 {{ site_settings.company_country }} 
 </p>
 </div>
 </body>
</html>

Hey, @MParise :waving_hand: Thanks for your question. This one is a bit mysterious. I couldn’t find the offending token either. Were you able to get this resolved?

If not, I have a few questions to help the community to help you better:

  • Have you tried clearing your cache and saving your template again? (basic but sometimes helps when things are being weird)
  • Have you tried to inspect your code for any hidden HTML elements?
  • Double-check that that none of the modules are utilizing deal personalization tokens

Thank you! — Jaycee