Skip to content
Back

Blocked by CORS Policy header 'Access-Control-Allow-Origin' contains multiple values

  • 0
  • Cloud
devgosling
7 Sep, 2025, 12:48

I receive the error Access to fetch at 'https://fra.cloud.appwrite.io/v1/account' from origin 'http://localhost:5173' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values 'http://localhost:5173, *', but only one is allowed. Have the server send the header with a valid value. and I changed nothing, the next day the error was there.

TL;DR
Developers encountering a CORS error due to multiple values in the Access-Control-Allow-Origin header. Server needs to send the header with a single valid value, not multiple ones. The error persisted even though no changes were made.
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