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.