Dashboard no longer displaying data

I’m having trouble with
I created a dashboard to monitor orders. It was working fine and then the other day the dashboard is blank. I get The current user does not have permissions to read on the WholesaleOrders collection. WDE0027

Working in
It works in edit and preview mode. What is weird is edit mode now shows live data, where as before it only showed placeholder text

What I’ve tried so far
Ive contacted support and they arent able to resolve. i have asked AI and it cant figure out what happened either

Extra context
So a couple of things. I did log in from another machine around the time it stopped working. Not sure if related. I have logged out of all machines and that didnt clear it up. I did change the email associated with the account as well. Not sure if something didnt sync.

Please help. Im stuck

WDE0027 specifically means Wix received the data request but decided that the current user is not authorised to read.

The reason it works in Preview is Wix treats you as an admin in preview mode.

Have you actually checked the roles and permissions since changing the email ?

is the WholesaleOrders collection a custom CMS. check the permissions on this also.

I think your dashboard has not broken. Wix is now resolving your logged-in Dashboard session under a different permission context following the account/email change.

I have checked those and the email is tied to the account and shows owner. The CMS are custom but permissions havent changed and are correct. I even tried building a new test dashboard and it hits the same error. WIX support says they cant see why its not working either. Im getting all the error logs in google cloud, but they dont really give a clear definition in order to fix. Im completely stuck. Im also so confused why edit mode now shows live data instead of the placeholder information.

how are you linking to the dashboard page ? maybe a backend file can be used to check the permissions.

Stop auditing your permissions. You have already proved they are fine, and there
is a second report of this exact error.

Why the permission hunt is a dead end: dashboard page code runs under the Wix
user identity, not a visitor and not a member. Wix’s documentation is explicit
that a person takes on the Wix user identity only in administrative contexts like
the dashboard and editor, and that authorization for it is resolved from the
account role. You are the owner, which is the top role. A brand-new test
dashboard reproducing the same error rules out the original page’s code. So
either your role is not being resolved at request time, or the collection
permission check is returning the wrong answer. Neither is fixable from the
permissions panel.

The second report is thread 79767, “Custom Dashboards errors,” posted about a day
before yours. Same error code, same surface - custom dashboard pages against
custom CMS collections. That poster restored backups from months earlier with
unchanged code and still hit it, and found the dashboards only work when the
collection permissions are opened to “Everyone.” Your details line up: worked
before, nothing changed, and edit mode now shows live data where it previously
showed placeholder text. That last one is a change in Wix’s behaviour, not
something your account did.

Two independent reports of the same error code on the same surface inside
twenty-four hours is not two coincidental misconfigurations. Treat it as platform
side. The email change is very likely a red herring, since the other report has
no email change behind it.

To unblock today, move the read out of frontend dashboard code into a backend web
module and elevate that single call so it is not subject to the collection
permission check. Elevation only works in backend code. Keep it narrow - one
query returning only what the dashboard renders - and leave your collection
permissions alone. Do not open the collection to “Everyone” to make the error go
away, because that exposes the data on your live site.

When you go back to support, give them the error code, the fact that a brand-new
dashboard reproduces it, that you are the account owner, and thread 79767 as a
second occurrence. “My dashboard is blank” gets triaged as a site issue. “WDE0027
on the Wix user identity in custom dashboard pages, two reports, reproducible on
a fresh page” gets it to the right team.

FYI,

I was the other poster getting the permissions error, I will probably adjust my code as @Webhil suggested. But I did just check if there issue was still there. And it now seems to be working as expected. Hopefully its now fully fixed