So Im trying to get an image preview out of a bucket. im using a nextjs api to provide file data to my frontend, including a preview url. from other posts I gathered that i need to "construct" the url myself which i did and that worked ("endpoint/storage/buckets/[id]/files/[id]/preview?project=[id]"). my issue now is that the image tag in my component cant get the preview because it returns with 401. im kinda idea-less on how to work around this / fix this in a proper way.
Recommended threads
- Export, Import or Migration giving this ...
As you can see in yhe screenshot i am not able to export any data or export the data from tables. Also it is affecting the migration from appwrite to appwrite h...
- Project auto-blocked after load testing ...
Hi team π My project has been automatically blocked with the message: "Project is currently blocked β Access to this project is restricted. Contact support if...
- App build crashing with "Internal error"
Hello Appwrite team! π We are trying to deploy a Next.js application on Appwrite Cloud, but our builds are consistently failing. The deployment log successful...