Hi, I realized that after setting up a custom domain for appwrite, the file views no longer work.
I use appwrite cloud and a domain on aruba.com.
I set the cname and confirmed on appwrite console, all ok, the rest of the functionality works fine.
However, when I try to open an image view from a bucket, using cloud.appwrite.io I can see it, using my domain I get:
{"message":"The current user is not authorized to perform the requested action.","code":401,"type":"user_unauthorized","version":"1.6.0"}
this work fine:
https://cloud.appwrite.io/v1/storage/buckets/6XXXXXXX12f/files/66XXXXXX56f/view?project=66XXXXX
this not
https://backend.mydomain./v1/storage/buckets/6XXXXXXX12f/files/66XXXXXX56f/view?project=66XXXXX
Anyway, this is the security bucket configuration:
I tried opening the url from both the web console and the web sdk. Same problem.
Recommended threads
- Finding job
Hi. I am a full-stack developer with experience in developing scalable and user-friendly web applications. I handle both front-end and back-end development, im...
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...
- CDN not delivering correct bundle
My site 69b4cd410035893573dc is not delivering the latest deployed version via CDN, it seems stuck on versions from previoiu days, alternative links for the lat...