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
- Auth broken after update from 1.8.0 to 1...
So ive been having issues creating, deleting or updating users on my appwrite instance after i updated from 1.8.0 to version 1.9.0. When trying to create a user...
- Magic Link woes/noob
Magic Link is working; it sends the link to my email. But the link itself always leads to "Page Not Found. The page you're looking for doesn't exist". Clicking ...
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...