Here is the solution for the error, when you exported the game you probably exported it in the compression format of brotli, itch.io doesn't accept that. Get into the unity editor and under project settings->player->publishing settings(Webgl) change the format from brotli to Gzip