So I am making a project management demo app for my portfolio. I am using appwrite auth, database. I have set up an auth component as authorization.tsx and a database component as database.tsx which act as a context provider for any other component to extract and use their functions. The comment feature on my webapp faces some errors in the console and the main error being the 401 unauthorised error. NOTE:- the user can successfully login from the /login route but here it faces some issues. And when the user clicks on 'continue' another error pops up. Below is the image of those errors. The first error shows up while the initial loading of the page and the second error shows up when you try to push your code to the main DB. Here is the link for my repo https://github.com/rutdvaj/PMwebapp.
Check permissions, it says the current user is not authorised
Where to check for permissions ?
On appwrite console
Recommended threads
- API key without database.read/write
I had some issues with my previous API key and I deleted it then I wanted to create a new one and discovered the database checkbook has no database.read/write j...
- dynamic key missing scopes for database ...
Here are the scopes listed, I get permission errors for reading row and document. Appears to be missing since last time i checked. Database 6 Scopes policies....
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?