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
- NEW ERROR Invalid document structure: At...
Error: ```AppwriteException: document_invalid_structure, Invalid document structure: Attribute "pb.kmsgxPkgInfo.id_info" must be an array (400)``` I’m encounter...
- SSL certificate issuance failed:
Domain verifies but SSL cert fails, tried different subdomains like .api and .aw, used cname and CAA, no prior CAA existed on website, tried Multiple CAAs at on...
- Password check in function
Hi, is there any way now for checking if the users password is correct in a function? I am creating a delete user function and before deleting I would like to c...