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
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here π I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- Our Appwrite organization is suspended
Please give support regarding this , no app is working now , please solve my issue and give support , no one is replying in message section or email.