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
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...