Script that sets JSON content is difficult to debug

When using a script to set a rich text field with JSON content, often the only error log available is ‘internal server error’, without any debugging pointers. Can this be improved?

2 Likes