Skip to content
Back

[Solved] Storage bucket not found

  • 0
  • Self Hosted
  • REST API
fafa
23 Nov, 2023, 20:04

Can someone tell me how postman can get an endpoint, but the browser shows "Storage bucket with the requested ID could not be found."? the hell is this haha

TL;DR
User had a support issue with a storage bucket not being found. They realized that the issue was related to accessing the project in admin mode through the console. The solution was to include the projectId and mode=admin behind the URL. The user also questioned why Postman could access the endpoint while the browser showed an error message. No solution was mentioned for this question.
fafa
23 Nov, 2023, 20:05

Oh.. i just noticed you need to put projectId and mode=admin behind the URL lol

fafa
23 Nov, 2023, 20:05

what's the mode for? <:2HAhaa:746401772779601930>

D5
23 Nov, 2023, 20:13

I don't think admin mode is needed for this

D5
23 Nov, 2023, 20:13

No idea what does it do. Let me check

fafa
23 Nov, 2023, 20:13

ah kk

D5
23 Nov, 2023, 20:20

Okay. Seems it's related to admin role in console. I can't find something precise related to this so no idea what's it used for in this specific case

fafa
23 Nov, 2023, 20:31

It's automatically added when you copy the file url ^^

Drake
23 Nov, 2023, 21:03

You don't need to include mode. You actually typically shouldn't include it

Drake
23 Nov, 2023, 21:04

That's because you're accessing it via the console

Drake
23 Nov, 2023, 21:05

Admin mode is used when accessing a project as a console user. So the cookie that gets used is the console cookie vs the project cookie

fafa
23 Nov, 2023, 22:02

Ahh, okay

fafa
23 Nov, 2023, 22:03

[Solved] Storage bucket not found

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