Running backend code on published site

Hey there!
I created a site using Velo which practically gets a json response (getJSON) from an external RestAPI in the backend and loads it to a dataset and then to a table (and allows filtering it with user input).

Everything that’s written in the Home js page is running fine (including the filtering of the dataset), instead of the code that is imported from the Backend.

In Preview mode the site works flawlessly so I’m very confused about what’s happening.

I tried activating sandbox at the dataset and it didn’t help.

Thank you very much!

Can you see any error on the backend? You can use site monitoring with Wix so you can receive error logs on Google Operations.

Check dataset (and database) permission, sometimes you set it as Admin only so you can use on preview but not real site visitor

Btw, you posted for 2 times in the forum, so I closed another post. (Maybe you double clicked the publish button😅

@certified-code Probably what happened lol, I was in a weak-signal area and everything was really slow…

Sad to hear that (this happened to some of users recently) no worries! Keep up the good job :clap:

@certified-code I couldn’t see an Error jumping up to Chrome’s console. I’ll check up the monitoring option.

About the permissions- first thing I checked… I changed it to “viewable” for all and it didn’t help :frowning:

Can you post your website url here?