I'm currently working on a project where we're looking to implement Lottie animations.
Following this thread, we've managed to get the animations working across most of our slices.
For one particular slice, we are experiencing issues with saving the JSON data. This is the only slice where we are using the JSON field in an 'item', rather than in the 'primary' are of the slice. We've managed to add the JSON data for one of the items, but for subsequent items I'm continuously getting an error that says "Error while saving your changes - Click to retry" (see screenshot).
Is there any way for this issue to be investigated? I suspect we could be hitting some sort of limit on the amount of text that can be contained within the slices' items?
I don't believe it's a network issue as we've tried this with two different users, multiple times, hours apart and we're getting the same error message.
We have a slice which contains items which have JSON fields (for Lottie animations).
For an instance of the slice in one of our documents, I was able to add the JSON code to the JSON field and save without an issue.
There are two other items in the slice which also have JSON fields that we want to populate, but whenever we do that, we are getting the save error. The process we are following:
Select all of the JSON code from the existing item and copy
Go to the next item along and select the JSON field, paste the data
Hello @david.al.fox, thanks for sending that over. I've managed to reproduce the error, and I've raised this to the relevant team. They'll review it as soon as possible.
In the meantime, I can recommend you add the JSON as a file in the Media Library or create a designated Custom Type only for JSON files. This way, the text limit length isn't reached as easily. Then, you can add a Content Relationship field instead of a Rich Text field in the JSON Animation Data Field in the Splash Section Slice of the Landing Page Custom Type.