Error When Publishing Product Updates
Written By Tom van den Heuvel
Last updated 4 months ago
Issue:
When clicking Publish Changes in the AI Content Optimizer, you see an error message:
“There was an error when publishing.”
Solution:
Go to Online Store → Themes → Customize.
Open the App Embeds section in the left sidebar.
Ensure StoreRank AI Search Optimizer is enabled.
Click Save at the top right.
Simply toggling it on is not enough—clicking Save activates it.
Return to the AI Content Optimizer and try publishing again.
Pro Tip: If this does not resolve the issue, try refreshing your Shopify theme editor before publishing.