Appwrite storage upload returns 401 unauthorized #11997
-
|
I’m trying to upload a file to Appwrite storage from my frontend, but I keep getting a 401 unauthorized error. I’ve already initialized the SDK and can connect to the project, but uploads fail every time. Do I need to configure something specific for permissions or authentication? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
yeah this usually ends up being permissions or auth a few things to check:
quick debug: |
Beta Was this translation helpful? Give feedback.
-
|
thanks will try |
Beta Was this translation helpful? Give feedback.
yeah this usually ends up being permissions or auth
a few things to check:
role:allfor testingquick debug:
login → set
role:all→ try upload → if it works, it’s permissions