Web Developer
Hello, I am attempting to receive fetch data from databases.listDocuments with each of its env parameter data for it to be shown on a NextJS project. However I keep stumbling on a series of error messages such "the current user is not authorized to perform the requested action.] " and "{
code: 401,
type: 'user_unauthorized',
response: '{"message":"The current user is not authorized to perform the requested action.","code":401,"type":"user_unauthorized","version":"1.7.4"}'
}"
.
I set up the permissions on it's usage, I have the .env content variables, and even attempted to setup document security. What seems to not to be working?