Skip to content
Back

CORS errors with storage bucket

  • 0
  • Storage
  • Cloud
lexlfav10
6 Jun, 2025, 16:05

I have a javascript file in the storage bucket and I used the view endpoint in an src attribute of a <script> tag. But I am getting the net::ERR_BLOCKED_BY_ORB error in Chrome. I have set the hostname to * in the platforms for the project. What am I doing wrong?

TL;DR
Developers are experiencing CORS errors when trying to load a JavaScript file from a storage bucket using the view endpoint in a `<script>` tag. The error `net::ERR_BLOCKED_BY_ORB` is occurring in Chrome. The issue might be due to the incorrect configuration of the CORS policy on the storage bucket. Check and ensure that the CORS policy includes the necessary permissions to allow the specific origin from where the script is being loaded.
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