HTTP 400 errors mean there is something wrong with a script, general HTTP 500 errors indicate an issue with the server.
Quoting
WestHost:
The 500 Internal Server Error is a very general HTTP status code that means something has gone wrong on the web site's server but the server could not be more specific on what the exact problem is.