HTTP Status Codes

Quick reference for HTTP response status codes — search by code, reason phrase, or description

1xx1xx Informational

  • 100
    ContinueContinue — the client should continue with the request body
  • 101
    Switching ProtocolsSwitching Protocols — the server agrees to switch protocols (e.g. WebSocket)
  • 102
    ProcessingProcessing — request received but not yet completed (WebDAV)
  • 103
    Early HintsEarly Hints — preload hints sent before the final response

2xx2xx Success

  • 200
    OKOK — the request succeeded
  • 201
    CreatedCreated — the request succeeded and a new resource was created
  • 202
    AcceptedAccepted — the request was accepted but not yet processed
  • 203
    Non-Authoritative InformationNon-Authoritative Information — metadata from a copy, not the origin
  • 204
    No ContentNo Content — success with no response body
  • 205
    Reset ContentReset Content — tells the client to reset the document view
  • 206
    Partial ContentPartial Content — range request succeeded (resumable downloads)
  • 207
    Multi-StatusMulti-Status — multiple independent statuses (WebDAV)
  • 208
    Already ReportedAlready Reported — members already enumerated, avoid repetition (WebDAV)
  • 226
    IM UsedIM Used — server completed instance manipulations on the resource

3xx3xx Redirection

  • 300
    Multiple ChoicesMultiple Choices — the resource has multiple representations
  • 301
    Moved PermanentlyMoved Permanently — the resource has a new permanent URL
  • 302
    FoundFound — the resource is temporarily at a different URL
  • 303
    See OtherSee Other — fetch another URI with GET
  • 304
    Not ModifiedNot Modified — the cached version is still valid
  • 307
    Temporary RedirectTemporary Redirect — redirect while keeping the method
  • 308
    Permanent RedirectPermanent Redirect — permanent redirect keeping the method

4xx4xx Client Error

  • 400
    Bad RequestBad Request — the server could not understand the request
  • 401
    UnauthorizedUnauthorized — authentication is required
  • 402
    Payment RequiredPayment Required — reserved status code
  • 403
    ForbiddenForbidden — the server refuses to fulfill the request
  • 404
    Not FoundNot Found — the requested resource does not exist
  • 405
    Method Not AllowedMethod Not Allowed — the method is not supported for this resource
  • 406
    Not AcceptableNot Acceptable — cannot produce a response matching Accept headers
  • 407
    Proxy Authentication RequiredProxy Authentication Required — authenticate with the proxy first
  • 408
    Request TimeoutRequest Timeout — the server timed out waiting for the request
  • 409
    ConflictConflict — the request conflicts with the current resource state
  • 410
    GoneGone — the resource has been permanently removed
  • 411
    Length RequiredLength Required — a Content-Length header is required
  • 412
    Precondition FailedPrecondition Failed — a request-header precondition was not met
  • 413
    Payload Too LargePayload Too Large — the request body exceeds the limit
  • 414
    URI Too LongURI Too Long — the request URI exceeds the limit
  • 415
    Unsupported Media TypeUnsupported Media Type — the request body format is not supported
  • 416
    Range Not SatisfiableRange Not Satisfiable — the requested range cannot be served
  • 417
    Expectation FailedExpectation Failed — the Expect header could not be met
  • 418
    I'm a TeapotI'm a Teapot — an April Fools' joke status code (RFC 2324)
  • 421
    Misdirected RequestMisdirected Request — the server cannot produce a response for this request
  • 422
    Unprocessable EntityUnprocessable Entity — well-formed but semantically invalid
  • 423
    LockedLocked — the resource is locked (WebDAV)
  • 424
    Failed DependencyFailed Dependency — failed because a previous request failed (WebDAV)
  • 425
    Too EarlyToo Early — the server is unwilling to risk replaying the request
  • 426
    Upgrade RequiredUpgrade Required — the client must switch to a different protocol
  • 428
    Precondition RequiredPrecondition Required — the request must be conditional
  • 429
    Too Many RequestsToo Many Requests — rate limit reached
  • 431
    Request Header Fields Too LargeRequest Header Fields Too Large — headers exceed the limit
  • 451
    Unavailable For Legal ReasonsUnavailable For Legal Reasons — blocked for legal reasons

5xx5xx Server Error

  • 500
    Internal Server Error
  • 501
    Not ImplementedNot Implemented — the server does not support the feature
  • 502
    Bad GatewayBad Gateway — an upstream server returned an invalid response
  • 503
    Service UnavailableService Unavailable — the server is overloaded or under maintenance
  • 504
    Gateway TimeoutGateway Timeout — an upstream server did not respond in time
  • 505
    HTTP Version Not Supported
  • 506
    Variant Also NegotiatesVariant Also Negotiates — content negotiation is misconfigured
  • 507
    Insufficient StorageInsufficient Storage — not enough space to complete the request (WebDAV)
  • 508
    Loop DetectedLoop Detected — an infinite loop was detected (WebDAV)
  • 510
    Not ExtendedNot Extended — further extensions to the request are required
  • 511
    Network Authentication RequiredNetwork Authentication Required — authenticate with the network (e.g. captive portal)

Related tools