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
- cant resume project
Invalid console fingerprint event i try man time
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...