
Hey guys I am working on a react project with appwrite backend services on a blog website, but I am constantly receiveing the error " Failed to load resource: the server responded with a status of 401 ()" , I also tried configuring cors , in the platforms section in appwrite but still I am getting the same error, can anyone please help me solve this problem , just let me know if you need any more details to solve the error .

401 means you’re unauthorized to do whatever you’re doing.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401
Check permissions for whatever collection you’re trying to pull from is correct.

I have allowed the permissions


That’s for users, are you logged in before making the request?
Recommended threads
- URL attribute in "processing" state
Good day everyone! I just started learning React/Vite. In my current database right now I have these 4 attributes, and the URL attributes seems to still be in ...
- Google sign in wont allow you to choose ...
Hi, this is still unsolved, Appwrite's SDK won't let you specify prompt=select_account param, so a user cannot signin with a desired account, in chrome is just ...
- Console ErrorAppwriteException: User (ro...
AppwriteException: User (role: guests) missing scope (account) at Client.eval (webpack-internal:///(app-pages-browser)/./node_modules/appwrite/dist/esm/sdk....
