Title: Error when saving email template
Last modified: April 21, 2023

---

# Error when saving email template

 *  Resolved [Emmanuel Kuebutornye](https://wordpress.org/support/users/emmanuelkuebu/)
 * (@emmanuelkuebu)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-when-saving-email-template/)
 * I get “Unexpected error from server.” error when i try to save an email template.
   I disabled every plugin and theme and had only this plugin Fluent CRM but the
   error persist.
    1. **Error while saving**
 * ![](https://i0.wp.com/i.imgur.com/CQzUodG.png?ssl=1)
 * **2. Console**
 * ![](https://i0.wp.com/i.imgur.com/q7l1HmG.png?ssl=1)
 * **3. When i access [https://example.com.com/wp-json/fluent-crm/v2/templates](https://example.com.com/wp-json/fluent-crm/v2/templates)**
 * ![](https://i0.wp.com/i.imgur.com/8k4hXGg.png?ssl=1)

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

 *  [Tahmid ul Karim](https://wordpress.org/support/users/tahmidulkarim/)
 * (@tahmidulkarim)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-when-saving-email-template/#post-16681442)
 * Hello [@emmanuelkuebu](https://wordpress.org/support/users/emmanuelkuebu/),
 * It seems like the Rest API is disabled from your server. Please check with your
   hosting and make sure all the Rest API methods are enabled. Also, if there are
   any server-side firewalls set then try disabling that temporarily and then test
   again.
 * Let us know your update.
 * Thank you!
 *  Thread Starter [Emmanuel Kuebutornye](https://wordpress.org/support/users/emmanuelkuebu/)
 * (@emmanuelkuebu)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-when-saving-email-template/#post-16681657)
 * PROBLEM SOLVED, below is the message from my hosting support:
 * > According to the server logs, one of Mod_security rule was triggered. Mod_security
   > is an Apache module (firewall) which reacts to certain actions on the server.
   > Sometimes it can consider valid actions as malicious ones. I have whitelisted
   > this rule. Please check if the error is fixed now.

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

The topic ‘Error when saving email template’ is closed to new replies.

 * ![](https://ps.w.org/fluent-crm/assets/icon.svg?rev=2390407)
 * [FluentCRM - Email Newsletter, Automation, Email Marketing, Email Campaigns, Optins, Leads, and CRM Solution](https://wordpress.org/plugins/fluent-crm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fluent-crm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fluent-crm/)
 * [Active Topics](https://wordpress.org/support/plugin/fluent-crm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fluent-crm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fluent-crm/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Emmanuel Kuebutornye](https://wordpress.org/support/users/emmanuelkuebu/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/error-when-saving-email-template/#post-16681657)
 * Status: resolved