[SOLVED] getFileDownload / View / Preview error 401 (frontend localhost + appwrite self-hosting)
- 0
- Web
- Storage


Are you showing the image by using the url in an img src?

You might be facing a 3rd party cookie problem.
One thing you can do more is up update your browser to enable 3rd party cookies.
In production, your Appwrite endpoint should be a subdomain of your app. See https://appwrite.io/docs/custom-domains

I getFileDownload().href and attach it to <img src="<href>"> I'm using EDGE on Mac with default configuration I currently don't have a domain yet and connect to appwrite by IP, is it ok?

Ya this is probably a 3rd party cookie problem.
If you don't have an actual domain, you can update your hosts file to fake a domain

I'm now understand, Thank you!

[SOLVED] getFileDownload / View / Preview error 401 (frontend localhost + appwrite self-hosting)
Recommended threads
- Is my approach for deleting registered u...
A few weeks ago, I was advised not to use the registered users' id in my web app. Instead, I store the publicly viewable information such as username and email ...
- Stuck in "deleting"
my parent element have relationship that doesnt exist and its stuck in "deleting", i cant delete it gives me error: Collection with the requested ID could not b...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
