Data a mix of test and live

Hi,
I am using Xano as my backend. In Weweb, I specified that production will use the Xano live datasource, while staging and the editor uses the test datasourcce.

It seems that when I try to access data in the editor, in some screens the data comes from the test source but in others it comes from the live source. All the collections in question are dynamic and not cached.

The plugin settings:

Showing live data

Showing test data

What should I do?

Hi, could you check the headers sent with the request returning the wrong data ?

You should be able to see a header named X-Data-Source. You can check the value of this header on a working request and a not working request.

If one of them has not the same value it’s probably a bug on our side. If both correctly have the value “test”, it’s probably a Xano behavior. It will help to move forward!

@Alexis
I think its actually a Xano issue. I was doing a direct database query, and it seems they have a very different way of handling direct queries to different data sources.

1 Like