Issue
Solution
Issue Resolution
Even though this is not mentioned in the doc, there is a character limit for the string value. The limit is 2,000. However, the way it is stored in the backend is a bit different from UI. Therefore, it is possible that you have exceeded the limit even though it doesn't look like so.