[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
- Storage usage keeps going up
I have a self-hosted instance running in production for over a year now. The deployment has seen multiple updates and migrations of Appwrite versions. What I ha...
- SSR Image Previews
I am using the SSR guide (with SvelteKit) to use Appwrite on both the server and the client. I do this by also passing the cookie back to the client and creatin...
- Multiple Set-Cookie headers collapsed on...
Iβm deploying a Next.js 15 app to Appwrite β Deploy β Sites. In app/api/auth/login/route.ts I try to set 3 cookies. Variant A (manual headers): const headers ...