hey iam uploading my files in my website then i was unable to store my files in appwrite i have also used appwrite authentication iam getting "Failed to load resource: the server responded with a status of 401 ()" error and my exception is "AppwriteException: The current user is not authorized to perform the requested action."
@Binyamin could you please help me
check if your user has permission on the storage
Has the current user have any permission to upload the files?
Exactly
thank you soo much you are really helpfull for me you are really a good human being
and thank you @rafagazani
👍
this community is one of the best I know, everyone trying to help each other.
please mark as [SOLVED]
Ok
[solved]401 error....
@rafagazani iam getting another error should I create a new post or else let's continue here
if by reference the permission, let's continue here
No I another one
Which is better storage or database
To get files from user and to store
for files better storage
i just now got to know that appwrite also have document section in database
i want to store as per user uploads
Now that you've solved your permissions problem, I think a new topic would be better for another topic. I'll be happy to help
ok sure
Recommended threads
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...