← All status codes
5xx Server Error
500 Internal Server Error

The server encountered an unexpected error.

What it means

A 500 Internal Server Error is a generic response that means something went wrong on the server, but the server cannot be more specific about what. This is one of the most common server-side errors and almost always indicates a bug, misconfiguration, or unhandled exception in the server-side code.

Common causes

  • A bug in the server-side application code.
  • A database connection failed.
  • A required environment variable or configuration is missing.
  • An unhandled exception was thrown.
  • Server permissions are misconfigured.

How to fix it

  • If you are a visitor, refresh the page or try again later.
  • If you are the site owner, check the server's error logs to find the specific cause.
  • Review recent code changes that may have introduced a bug.
  • Verify that all required services like databases and caches are running.

Test a URL and see its actual status code now.

Open the checker →