Wix code working in preview mode but not live "UserCodeNetworkError"

When adding code to my page, everything works well under preview mode, but it cannot run in live.
Even if I remove all the code I added, same error msg appears.

Have you simply tried contacting Wix Support to see if they have any replies about it already?
https://support.wix.com/en/article/contacting-wix-support
https://support.wix.com/en/article/contacting-wix-by-phone-3491545
Wix could have a bug or it could simply be routine maintenance on their servers which will be finished soon.

Thank you for the reply. Everything works well now, while nothing is changed. Maybe it’s caused by their maintenance.