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
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Searching by attribute "name" requires a...
I have a table "products" with a few columns I'm trying to search by, but I get this error: ```json { "message": "Searching by attribute \"name\" requires a...
- Issue with usage
I have a weird problem, my project on appwrite was using avarage 5-10k reads a day, it was okay, but suddenly last 7 days, reads are about 60k a day, the code h...