i think its because the file is a pdf and not a zip or extracted world file, you can try using multiverse, I will send a link to a multiverse video below:
Hi,
i can't upload my lobby in minehut.
i go to the section world, I upload the file in the section upload world but he says there is an error
In the file section there is the lobby download
World download.pdf