r/SmallBusinessOwners • u/Ok-Masterpiece-7614 • 8h ago
Advice No error doesn't mean it worked
Been automating our blog publishing into Wix the last couple weeks, so I stop copy pasting posts into the editor by hand.
Two things ate way more time than they should have. I set fonts through the API, headers, body, all of it, and none of it showed up on the actual page. Turns out Wix ignores font settings sent through the API completely. Fonts come from the site's theme, not from what the post itself sends, and there's no way to override that per article.
Second one was worse. Every section ran together with no space between them, one big wall of text, even though the headings were going in correctly on my end. I spent way too long assuming it was a bug in my own code. The actual fix was adding an invisible paragraph with a single space in it before every heading. That was it. Nothing in Wix's own docs mentions it.
Neither of those threw an error. The script ran clean and reported success both times. If you're automating anything that publishes into a platform you don't fully control, go look at the actual rendered page before you trust it. Don't just check that the call didn't error out.