sendgrid / sendgrid-python

The Official Twilio SendGrid Python API Library
https://sendgrid.com
MIT License
1.55k stars 714 forks source link

"Your single send cannot be sent until an issue with your handlebars code is resolved" #911

Closed Fd12 closed 4 years ago

Fd12 commented 4 years ago

Issue Summary

Trying to send out a single send campaign via sendgrid, while selecting the single send, clicking on the send button, I am getting an error while sending the campaign "Your single send cannot be sent until an issue with your handlebars code is resolved"

Steps to Reproduce

  1. Choose the single send
  2. Click send
  3. Error will occur.

Code Snippet

<html>
<head>
    <title></title>
</head>
<body>
<p></p>
<!-- [if gte mso 9]>
    <xml>
        <o:OfficeDocumentSettings>
        <o:AllowPNG/>
        <o:PixelsPerInch>96</o:PixelsPerInch>
        </o:OfficeDocumentSettings>
    </xml>
    <![endif]--><!-- [if !mso]><!--><!--<![endif]--><!-- [if gte mso 9]>
    <style type="text/css" media="all">
        sup { font-size: 100% !important; }
    </style>
    <![endif]-->

<table bgcolor="#f4f4f7" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tbody>
        <tr>
            <td align="center" valign="top"><!-- Header --><!-- END Header --><!-- Mian -->
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tbody>
                    <tr>
                        <td align="center">
                        <table border="0" cellpadding="0" cellspacing="0" class="mobile-shell" width="650">
                            <tbody>
                                <tr>
                                    <td class="td" style="width: 650px; min-width: 650px; font-size: 0pt; line-height: 0pt; padding: 0; margin: 0; font-weight: normal;"><!-- Main -->
                                    <table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
                                        <tbody>
                                            <tr>
                                                <td class="main" style="padding: 0px 0px 0px 0px;">
                                                <table border="0" cellpadding="0" cellspacing="0" width="100%"><!-- Intro -->
                                                    <tbody>
                                                        <tr>
                                                            <td style="padding-bottom: 38px;">
                                                            <div class="fluid-img" style="font-size: 0pt; line-height: 0pt; text-align: left;"></div>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="content" style="padding: 0px 20px 10px 20px;">
                                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                <tbody>
                                                                    <tr>
                                                                        <td style="padding-bottom: 25px;">
                                                                        <div class="h2" style="color: #212124; font-family: 'Noto Sans', Arial,sans-serif; font-size: 34px; line-height: 44px; text-align: center;">
                                                                        <p><a href="https://app.adjust.com/pjp14eq_3cntj8l" target="_self"><img alt="" src="https://appboy-images.com/appboy/communication/assets/image_assets/images/5ee1e518078b9d533cee1925/original.jpeg?1591862552" style="width: 650px; height: 2600px;" /></a></p>
                                                                        </div>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td style="padding-bottom: 36px;">
                                                                        <div class="text" style="color: #6e6e70; font-family: 'Noto Sans', Arial,sans-serif; font-size: 14px; line-height: 24px;">
                                                                        <div style="text-align:left;">
                                                                        <p style="text-align: center;"> 2020 © All rights reserved | * Terms & Condition apply<br />
                                                                        <a href="{{${set_user_to_unsubscribed_url}}}" target="_blank">Unsubscribe</a></p>
                                                                        </div>
                                                                        </div>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td style="padding-bottom: 36px;"></td>
                                                                    </tr>
                                                                </tbody>
                                                            </table>
                                                            </td>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                                <!-- END Footer --></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <!-- END Mian --></td>
                    </tr>
                </tbody>
            </table>
            </td>
        </tr>
    </tbody>
</table>
</body>
</html>

Exception/Log

# paste exception/log here

Technical details: