[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
- Invalid token passed in the request
Hello, I have an issue using updateMagicURLSession. I send the email using sendMagicLink, which works fine. When i click the link in the email i get the invali...
- Storage Bucket Permissions
Hey folks, when enabling CRUD on the bucket level for the role any, should the bucket be accessible when using a session client?
- how can i make a relationship between a ...
i want to relate the $id from users auth table in appwrite with other column in my table user_profile. because is the same user... how can i have exactly the s...