
hello !
i'm trying to play a video stored on a storage bucket, where the bucket has the read permissions only for user with the premium label. I'm authenticated everything is working, i see the labels using account.get().
const url = storage.getFileView("videos", file_id);
this call is working, i can get the url with url.href
but when fetching it i get a 401 unauthorized.
Looking at the request (see attachment), no cookies or header to authenticate are sent, so it's normal that i get a 401.
everything was working before the cloud upgrade to v1.15, and i'm using createemailpasswordsession to auth.
how can i fetch the video file ?
thanks !

How do you fetch it? manually?

If so, because you're on localhost
you won't get the cookies
Recommended threads
- can't send emails
i explored the docs and it says Messaging.CreateEmail() but this function does not exist , i installed appwrite on next js env everything works fine except thi...
- approve deployment do not work
In https://github.com/cennso/cennso-website/pull/2 I see failing and when I go to https://cloud.appwrite.io/console/git/authorize-contributor?projectId=68f64b7b...
- Function execution stuck in "Processing"...
Hey! Is there any way to stop function execution? I know, I can set a timeout in seconds and I did. This particular function have 900 seconds timeout set in Clo...
