Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi there, so i am working for a client and they wanted to have the option to change text. So i changed some sections from fully static page to "dynamic", i added schema to them. I managed to do this on maybe 6 section, and all of them combined they had a lot of blocks in them. But after that i ALWAYS get this error when i tried to save in customize: "Online Store editor session can't be published". I tried clearing cache, i tried it on other device, on other browser, etc... nothing worked.
So i saw somewhere that there might be some limit of how much json you can write and that this may be the problem?
Something interesting i tried: So i had 4 empty textarea fields in Customize, and i wrote something in 3 of them and it still saved. When i tried to write something to the fourth field it said this error "Online Store editor session can't be published". Then i erased text from textarea 1 and again wrote something to textarea 4 and saved and it saved it.
Or another example: i tried removing 2 blocks from the section before and than i again could save all 4 teaxarea with text in them...
Is there a way to solve this?
Did you ever figure this out? I'm having the same issue.
It's definitely something about the specific theme I'm trying to save (as other themes/shops work fine), but I can't tell which field Shopify doesn't like.
Yeah i figured it out. As i said above the json file hit the max space limit, so i tried to remove as much text as possible from Customization fields, to the actual code, especially if you have some SVG code in customization.
Interesting! Pruning the JSON file did indeed resolve the issue in my shop. Thank you for the tip!
Strangely though .. my settings_data.json was only 22 KB, even less when minified .. which I thought surely wasn't too large.
Alas, deleting all the "Presets" objects that came with the Debut theme got me down to 17 KB, and now I can use the theme customizer again.
I'm inclined to dig deeper to better understand the mechanics of this .. but I guess it's a non-issue now that Theme 2.0 is the norm and the settings can be more "distributed".
Anecdotally: I have a JSON page template well over 100KB (different store / Theme 2.0) and have never had issues saving it.
Strange indeed. If you do find any other solution later on, please do share 🙂
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025