
401 unauthorised How to resolve it

What is the response body?


This means you're not logged in. Did you create a session?

But i access all in collection

What are the permissions settings for your collection?

All

Means not only users

Well then that explains why you can access all documents....

So how i resolve this query?

What do you mean?

How this can be resolved?

Guidelines or steps to follow?

It's expected so there's nothing to resolve 🧐

You're calling account.get() but you haven't created a session...so it's expected

So how i create account first 😂

?

How to create session?


Ok thanks
Recommended threads
- How to ByPass the Hostname restriction f...Hello, Im hosting my React application in a stateless server environment, where the IP of the client keeps changing for the server. How do I bypass the hostname... 
- Email templates partially broken in non-...Good afternoon! Non-english locales are missing some variables introduced in recent releases. That makes the sent emails look bad. The issue has been raised a... 
- Fail to access the hosted siteHi there I am facing an issue with the sites. My site is properly hosted on Appwrite but the issue is that when accessing the site from this URL https://instant... 
