The HTTP 500 error code is caused by an internal server error. The web host is not necessarily responsible for this error, it is most likely due to a file or a directory of the website.
When the web server encounters a difficulty finding a URL, it displays the error 500 (at this point the source of the problem has not been identified).
The administrators of the server must then search for the source of the problem. They analyze logs to get more information about the error. The 500 error can also occur during a maintenance of a website.