Back to home

HTTP Status Codes

Look up status codes by number or keyword, with what usually causes them

78 codes
1xx Informational100–1994
  • 100

    Continue

    Continue. The client should keep sending the request body.

  • 101

    Switching Protocols

    Switching Protocols. The server agrees to switch protocols as requested by Upgrade.

  • 102

    Processing

    Processing. The request was received and is being handled, no result yet.

  • 103

    Early Hints

    Early Hints. Sends headers before the final response so clients can preload.

2xx Success200–29910
  • 200

    OK

    OK. The request succeeded and the body carries the result.

  • 201

    Created

    Created. A new resource was created; its URL is usually in the Location header.

  • 202

    Accepted

    Accepted. The request is queued for processing and is not finished yet.

  • 203

    Non-Authoritative Information

    Non-Authoritative Information. Metadata came from a cached copy, not the origin.

  • 204

    No Content

    No Content. Succeeded with no body, typical for DELETE and PUT.

  • 205

    Reset Content

    Reset Content. Asks the client to reset the document view, such as clearing a form.

  • 206

    Partial Content

    Partial Content. A byte range of the resource, used for resumable downloads.

  • 207

    Multi-Status

    Multi-Status. WebDAV response carrying several sub-request statuses.

  • 208

    Already Reported

    Already Reported. WebDAV hint that a resource was listed in an earlier response.

  • 226

    IM Used

    IM Used. The server applied delta updates to the resource.

3xx Redirection300–3998
  • 300

    Multiple Choices

    Multiple Choices. The resource has several representations to pick from.

  • 301

    Moved Permanently

    Moved Permanently. The resource moved for good; caches and indexes should update.

  • 302

    Found

    Found. Temporary redirect for this request; keep using the original URL.

  • 303

    See Other

    See Other. Fetch the result at Location with GET.

  • 304

    Not Modified

    Not Modified. The cached copy is still valid, so no body is sent.

  • 305

    Use Proxy

    Use Proxy. Access must go through the given proxy (deprecated).

  • 307

    Temporary Redirect

    Temporary Redirect. Like 302 but the request method must not change.

  • 308

    Permanent Redirect

    Permanent Redirect. Like 301 but the request method must not change.

4xx Client error400–49933
  • 400

    Bad Request

    Bad Request. Malformed syntax or invalid parameters.

  • 401

    Unauthorized

    Unauthorized. Credentials are missing or invalid; authenticate first.

  • 402

    Payment Required

    Payment Required. Reserved; some APIs use it for exhausted quota.

  • 403

    Forbidden

    Forbidden. The identity is known but not allowed.

  • 404

    Not Found

    Not Found. The resource does not exist, or is hidden on purpose.

  • 405

    Method Not Allowed

    Method Not Allowed. The resource exists but not for this HTTP method.

  • 406

    Not Acceptable

    Not Acceptable. The server cannot produce anything matching the Accept header.

  • 407

    Proxy Authentication Required

    Proxy Authentication Required. Authenticate with the proxy first.

  • 408

    Request Timeout

    Request Timeout. The client did not finish sending in time.

  • 409

    Conflict

    Conflict. The request clashes with the resource's current state.

  • 410

    Gone

    Gone. The resource existed but is permanently unavailable.

  • 411

    Length Required

    Length Required. The request is missing Content-Length.

  • 412

    Precondition Failed

    Precondition Failed. A condition such as If-Match did not hold.

  • 413

    Content Too Large

    Content Too Large. The request body exceeds the server limit.

  • 414

    URI Too Long

    URI Too Long. The URL is longer than the server accepts.

  • 415

    Unsupported Media Type

    Unsupported Media Type. The request Content-Type is not accepted.

  • 416

    Range Not Satisfiable

    Range Not Satisfiable. The requested byte range is outside the resource.

  • 417

    Expectation Failed

    Expectation Failed. The Expect header cannot be met.

  • 418

    I'm a Teapot

    I'm a Teapot. An April Fools' code, widely used as an easter egg.

  • 421

    Misdirected Request

    Misdirected Request. This connection cannot serve that host.

  • 422

    Unprocessable Content

    Unprocessable Content. Syntax is fine but the semantics are wrong; common for form validation.

  • 423

    Locked

    Locked. The target resource is locked (WebDAV).

  • 424

    Failed Dependency

    Failed Dependency. This request failed because a previous one did.

  • 425

    Too Early

    Too Early. The server declines to process a request that might be replayed.

  • 426

    Upgrade Required

    Upgrade Required. The client should switch to a newer protocol.

  • 428

    Precondition Required

    Precondition Required. The server wants If-Match and friends to avoid lost updates.

  • 429

    Too Many Requests

    Too Many Requests. Rate limited; retry later.

  • 431

    Request Header Fields Too Large

    Request Header Fields Too Large. Header size exceeds the limit.

  • 451

    Unavailable For Legal Reasons

    Unavailable For Legal Reasons. Blocked for legal or censorship reasons.

  • 420

    Enhance Your CalmNon-standard

    Enhance Your Calm. Twitter's old rate-limit code; not standard.

  • 444

    No ResponseNon-standard

    No Response. nginx closes the connection without replying.

  • 449

    Retry WithNon-standard

    Retry With. Microsoft's hint to retry with more information.

  • 499

    Client Closed RequestNon-standard

    Client Closed Request. Logged by nginx when the client hangs up first.

5xx Server error500–59923
  • 500

    Internal Server Error

    Internal Server Error. The server threw; check its logs.

  • 501

    Not Implemented

    Not Implemented. The server does not support this method.

  • 502

    Bad Gateway

    Bad Gateway. A gateway got an invalid response from upstream.

  • 503

    Service Unavailable

    Service Unavailable. Overloaded or in maintenance; often includes Retry-After.

  • 504

    Gateway Timeout

    Gateway Timeout. The upstream did not respond in time.

  • 505

    HTTP Version Not Supported

    HTTP Version Not Supported.

  • 506

    Variant Also Negotiates

    Variant Also Negotiates. The content negotiation config loops.

  • 507

    Insufficient Storage

    Insufficient Storage. WebDAV cannot store the representation.

  • 508

    Loop Detected

    Loop Detected. WebDAV hit an infinite loop.

  • 510

    Not Extended

    Not Extended. Further extensions to the request are required.

  • 511

    Network Authentication Required

    Network Authentication Required. Typical of a public WiFi captive portal.

  • 509

    Bandwidth Limit ExceededNon-standard

    Bandwidth Limit Exceeded. cPanel hosts use this when the monthly quota is gone.

  • 520

    Unknown ErrorNon-standard

    Unknown Error. Cloudflare got an empty or malformed response from the origin.

  • 521

    Web Server Is DownNon-standard

    Web Server Is Down. Cloudflare cannot connect to the origin.

  • 522

    Connection Timed OutNon-standard

    Connection Timed Out. The TCP handshake with the origin timed out.

  • 523

    Origin Is UnreachableNon-standard

    Origin Is Unreachable. Usually a DNS or routing problem.

  • 524

    A Timeout OccurredNon-standard

    A Timeout Occurred. Connected, but the origin did not answer within 100 seconds.

  • 525

    SSL Handshake FailedNon-standard

    SSL Handshake Failed. The TLS negotiation with the origin failed.

  • 526

    Invalid SSL CertificateNon-standard

    Invalid SSL Certificate. The origin certificate is expired, mismatched or untrusted.

  • 527

    Railgun ErrorNon-standard

    Railgun Error. The Railgun connection broke (deprecated).

  • 530

    Site is FrozenNon-standard

    Site is Frozen. Pantheon uses this for a suspended site.

  • 598

    Network Read TimeoutNon-standard

    Network Read Timeout. A proxy timed out reading upstream; not standard.

  • 599

    Network Connect TimeoutNon-standard

    Network Connect Timeout. A proxy timed out connecting upstream; not standard.

Status codes fall into five classes: 1xx informational, 2xx success, 3xx redirect, 4xx client error, 5xx server error. Codes marked non-standard are vendor or server private (Cloudflare, nginx, cPanel) and are not in the IANA registry.