Internal Server error while trying to publish my project for unity essentials

Hi, I was following the unity essentials pathway and am getting an HTTP/1.1 500 Internal Server Error after building the project in the publish tab. Then I press the publish button and it loads all the way the 100 percent and ends up throwing the error. any solutions for this ??