Edwin Schravesande6028557
Posts: 0
Joined: Tue Jul 09, 2013 2:44 pm

DBSG254 - You don't have permission to access system collections.

Could you please help me on this problem.

My app was running with a login set up for week that now suddenly fails. I didn't change no code, so I guess it has something to do with an update on the 'system collections'.

So my login construction is pretty straightforward:
I got this login service that perfectly checks password and returns session token and user-id
Next I do a query on the same user table, trying to retrieve the details of this user, but this call fails and returns
DBSG254 - You don't have permission to access system collections.
The call is constructed like this:
https://api.appery.io/rest/1/db/colle...

I tried to add acl settings to particular users, but that doesn't seem to make any difference. Nor is including the sessiontoken in the request.

My app will be used again on thursday, so I'm sort of woried (no pressure ;-))
The something that happened, happened somewhere in the last two weeks.

Thanx again!

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

DBSG254 - You don't have permission to access system collections.

Hi Edwin, and if you test your query with X-Appery-Master-Key header what happens?
:: http://docs.appery.io/documentation/b...

Edwin Schravesande6028557
Posts: 0
Joined: Tue Jul 09, 2013 2:44 pm

DBSG254 - You don't have permission to access system collections.

The solution Max provided totally works. I wonder where I picked up that other URL, and why it was working before. Might be a forum post somewhere instead of a manual, but there might be some place on your site mentioning this old solution.
Anyway, thanks a lot, made my day before it even started.

Return to “Issues”