Back

[Solved]Third party services cant access my files in bucket

  • 0
  • Storage
Franco van Vuuren(u21463702)
3 Feb, 2024, 18:14

I am using the link to files in my bucket to send media messages over twilio, this is the response from twilio:

Msg

Attempt to retrieve media failed.

httpResponse

404

EmailNotification

false

url

https://cloud.appwrite.io/v1/storage/buckets/6548e01aaff5125599a8/files/92376d5c/view?project=647daf122410cc99f248&mode=admin

LogLevel

ERROR

Is there a way to allow them access?

TL;DR
Title: [Solved] Third party services unable to access files in bucket Message: The issue was caused by adding the mode=admin parameter. Removing it should resolve the problem. Additionally, check the permissions on your bucket and file.
Steven
3 Feb, 2024, 18:23

You shouldn't add the mode=admin param. Also, what are the permissions on the bucket and file?

Franco van Vuuren(u21463702)
3 Feb, 2024, 18:28
Franco van Vuuren(u21463702)
3 Feb, 2024, 18:29

only added the mode=admin after it didnt work

Steven
3 Feb, 2024, 18:34

This should work fine. I was able to fetch the file without the mode

Franco van Vuuren(u21463702)
3 Feb, 2024, 18:47

aah thanks for the help, its working now. Was the mode=admin that was the problem. was just being stupid

Franco van Vuuren(u21463702)
3 Feb, 2024, 18:47

[Resolved]Third party services cant access my files in bucket

Franco van Vuuren(u21463702)
3 Feb, 2024, 18:48

[Solved]Third party services cant access my files in bucket

Steven
3 Feb, 2024, 18:59

Technically, it should have still worked with the any permission

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more