Why is my customer email update form showing an error?

I have imported customers into my Shopify store. However, some of them the payment details are not in the system. So I need to send them an email asking them to update their card information. But, when I click to send the email, I get an error. It says “Form is invalid”. I have checked the code, and tested the email (got the test email) so I am completely confused here.

The code for the email is:

{% capture email_title %}Confirm your payment information{% endcapture %}
{% capture email_greeting %}Hi {{display_name}},{% endcapture %}
{% capture email_body %}
  To keep your orders from {{ shop.name }} active, confirm your payment information.
{% endcapture %}

  
  
  
  
  
  

  
    <table>

      
        
          <table>

  
    
      

        <table>

          
            

              <table>

                <tr>

                  <td>

                    {%- if shop.email_logo_url %}
                      
                    {%- else %}
                      # 
                        {{ shop.name }}
                      
                    {%- endif %}
                  

</td>

                </tr>

              </table>

            
          
        </table>

      
    
  
</table>

          <table>

  
    
      
        <table>

          
            
              
            ## {{ email_title }}
            

{{ email_greeting }}

            

{{ email_body }}

            <table>

              <tr>

                <td>

 

</td>

              </tr>

              
                
                  <table>

                    <tr>

                      <td>

Confirm payment information

</td>

                    </tr>

                  </table>
                
              
            </table>

            
          
        </table>
      
    
  
</table>
          <table>

  
    
      
        <table>

          <tr>

            <td>

              
              

If you have any questions, reply to this email or contact us at [{{ shop.email }}](mailto:{{ shop.email }})

            

</td>

          </tr>

        </table>
      
    
  
</table>

        
      
    </table>
  

Any help, would be appreciated!