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
- Seed db
hello there... is this correct way to seed appwrite
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...