Hi @Maria Z,
Per my test, I could reproduce your issue with User enhanced rich text and Append changes to existing text enabled
After disable the two option, I could run the json code as expected. Please check these options in column edit.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.