#Database permission issue
8 messages · Page 1 of 1 (latest)
const promise = databases.getDocument('66297275000fdd77a26f', '662972bf00173ab3d363', '6629781f002d752eb79f')
promise.then((response) => {
return response;
}, (error) => {
console.log(error)
});```
code
I idealy want it so only logged in users can view it, however doing this for troubleshooting
Any relationships on the db?
Yes I do have a couple relationships
I am getting permission errors now with teams, so may not be related with the databases entirely
Now I added all users to be able to view the database relations, and im getting this error The current user is not authorized to perform the requested action.
I am logged in
Does the logged in user have access? Can you try doing it on a table without any relations?