Access Denied Error I can't solve

Hey
Today I just added a table which should list some items in my ProductCategories Data Collection. The permissions in the Data Collection is set to Read => Anyone. The page is set to Members Only of the Administrator Role I created and the page is marked for that role.

Something gives me this and the table just keeps on “Loading…” with no end.

This XML file does not appear to have any style information associated with it. The document tree is shown below.

AccessDenied Access Denied 2419927843EBC100 evcaaZxw0Xt7YjwQpreRwGbCQsINt7X62sTKj12yD2NFLHezChiE/8JvGbyYVpqaXm+MMUZzoB0=

Any ideas?

ADDED:
This happens in both PREVIEW MODE and on Published Site. It doesn’t matter what permission I add or change on page and Data Collecion. Still says Access Denied as above.

Hello Andreas.
Can you please add a link to your site?

Can give to the page in the editor, the public page needs you to register and login. https://editor.wix.com/html/editor/web/renderer/edit/b7a03b1d-72ca-4cd4-ab09-550ad53bc072?metaSiteId=fd9dfa7e-39ea-4092-9aa4-3d4c4e4e80e2&editorSessionId=7d206004-f25f-5889-99d3-6fd2886b3a2e

Any luck solving this? This is crucial for my client and I have to do 28 pages like this today :frowning:

Sorry, didn’t have enough time to test all things. The simplest solution that i see, is to use wix-data to get all needed items, and then set this items as a table.rows.

So you don’t recommend me using Datasets together with Tables? I don’t think that is a solution, using datasets in admin pages is the core thing that makes it fast to do them. If I need to use wix-data instead of Datasets I will a lot of hours. I have never gotten the 403 access denied this way.

Are you sure there is no bug in between the new roles shipped in Wix with Data Collection Permissions?

Hi Andreas,

Still can’t find the reason, but I want to keep testing it… can you please, for now, use wixData API?

I’ll take it further with the staff…

Liran.

Ok I will try that but that would not be a great solution in the long run because using the datasets in this pages saves me tons of time. But will try hook up Wix-Data now.

That worked asap so I guess there is some unknown bug using the dataset.

Hi Andreas,

Can you check it now please, I see the relevant data in Preview mode without any errors

Strange I don’t when I take away the wix-data function fillTable I created to use wix-data as Liran told me.

Hi, by ignoring the whole page code - dataset is working, data loaded - checking why it’s happened with code. The problem is here:

  $w("#dashboarButton").style.backgroundColor = "#ad9867";

Workaround, change the color to: rgb(173, 152, 103) this format.