Error: You have exceeded the character limit for the HTML field

Modified on: Wed, 31 May, 2023 at 4:18 PM

Scope

What is the character limit on the HTML field for email notifications?


Solution
The character limit is 65,535. If the text length of the HTML code you've provided is lower than 65,535 characters, then check the code; it could be that the HTML string is parsed and converted into an HTML document, which in turn increases the size of the final HTML value to > 65,535 characters.


Hence, since the HTML character count should be less than 65,535 characters in the code that you've provided, you could remove a few lines, like the commented lines, from the code (around 6000–8000 characters) and pass it. It will pass through.

Reach out to 
support@chargebee.com
 if the issue persists.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
×