Error When Publishing Product Updates
Written By Tom van den Heuvel
Last updated 5 days ago
You click Publish all changes in the AI Product Optimizer and see "There was an error when publishing." This almost always means the StoreRank app embed isn't active.
How to fix it
In Shopify, go to Online Store → Themes → Customize.
Open App embeds in the left sidebar.
Switch on StoreRank AI Search Optimizer.
Click Save (top right). Toggling it on isn't enough, it only activates once saved.
Go back to the AI Product Optimizer and publish again.
Still getting the error? Refresh the theme editor, save once more, and try again. If that doesn't help, message us via live chat.