Title: code 400 sendgrid
Last modified: September 11, 2023

---

# code 400 sendgrid

 *  Resolved [Antonio Augusto](https://wordpress.org/support/users/antonio24073/)
 * (@antonio24073)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/code-400-2/)
 * Hi,
 * When I send a test email, I receive:
 *     ```wp-block-code
       Code: 400, Message: Bad Request, Body: {"errors":[{"message":"Unless a valid template_id is provided, the content parameter is required. There must be at least one defined content block. We typically suggest both text/plain and text/html blocks are included, but only one block is required.","field":"content","help":"http://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html#message.content"}]}
       ```
   
 * I think when somebody erase sendgrid api key and create another, and replace 
   in the plugin, it crashes.
 * I thing it’s an old problem. I have another topic with the same problem. I don’t
   know how I solved in the past.
 * Best regards.
    -  This topic was modified 2 years, 9 months ago by [Antonio Augusto](https://wordpress.org/support/users/antonio24073/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [smakazmi15](https://wordpress.org/support/users/smakazmi15/)
 * (@smakazmi15)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/code-400-2/#post-17041219)
 * Hi [@antonio24073](https://wordpress.org/support/users/antonio24073/),
 * I hope you are doing well.
 * Reconfigure the settings and then test it again. Still the problem exists do 
   let us know.
 * Thanks and Regards,
   Support Team-WP Experts.
 *  Thread Starter [Antonio Augusto](https://wordpress.org/support/users/antonio24073/)
 * (@antonio24073)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/code-400-2/#post-17045858)
 * I already do the wizard many times, tried to configure in the settings page, 
   tried to see the debug tools, tried to import the settings from a new site, tried
   many things, it’s my last resort. kkkk
 *  [smakazmi15](https://wordpress.org/support/users/smakazmi15/)
 * (@smakazmi15)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/code-400-2/#post-17048634)
 * Hi [@antonio24073](https://wordpress.org/support/users/antonio24073/),
 * I hope you are doing well. 
   Could you please reach out to us through our [Extension support here](https://objectsws.atlassian.net/servicedesk/customer/portal/16)?
   This way, our team can gather further information about the problem and provide
   you with appropriate guidance and potential solutions.
 * Thanks and Regards,
 * Support Team-WP Experts.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘code 400 sendgrid’ is closed to new replies.

 * ![](https://ps.w.org/post-smtp/assets/icon-128x128.gif?rev=3209655)
 * [Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App](https://wordpress.org/plugins/post-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/post-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-smtp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [smakazmi15](https://wordpress.org/support/users/smakazmi15/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/code-400-2/#post-17048634)
 * Status: resolved