CORE-562 Script error when saving a response