Skip to content
Init is coming / May 19 - 23
Back

Bug: Access-Control-Allow-Origin = localhost despite correct uploadHello team

  • 0
  • Storage
clément/WAS
12 May, 2025, 19:46

I'm running into a persistent CORS issue on Appwrite Cloud (fra). When uploading a file via the REST API from my production frontend, the file uploads correctly and is marked with read("any").

But fetching the file URL returns: Access-Control-Allow-Origin: https://localhost

I've recreated a new bucket to test but still the same issue

TL;DR
Developers encountering persistent CORS issue despite correct file upload. File uploads successfully but file URL returns 'Access-Control-Allow-Origin: https://localhost' instead of expected value. Created new bucket for testing, issue persists.
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