Diagnosing a 500 Internal Server Error

The 500 Internal Server Error is a very general HTTP status code that means something has gone wrong on the website's server, but the server could not be more specific on what the exact problem is. Such an error code does not mean that there is something wrong with the OnTime API or even your code. A 500 error is usually generated before the server starts execution of your code.
This error code normally indicates a problem with server configuration. To resolve this issue, check your web server's configuration and ensure that it is able to properly serve your code file.
For example, if you are attempting to run a PHP code file, are you certain that your web server (either local or remote) is properly configured to execute PHP files? If the web server is not configured properly, a 500 server error may appear.
 You might encounter a 500 error displayed in one of the following ways:
  • 500 Internal Server Error
  • HTTP 500 - Internal Server Error
  • Temporary Error (500)
  • Internal Server Error
  • HTTP 500 Internal Error
  • 500 Error
  • HTTP Error 500
  • 500. That's an error