Toolstia / consulta de códigos de status HTTP
Consulta de códigos de status HTTP
Consulte qualquer código de status HTTP, de 200 OK a 404 Not Found e 503 Service Unavailable. Pesquise por número, nome ou uma palavra-chave como redirect ou timeout, ou navegue por um grupo inteiro, como 4xx.
66 codes shown
| Code | Name | What it means | Type |
|---|---|---|---|
| 100 | Continue | The server received the request headers and the client should go ahead and send the body. | Informational |
| 101 | Switching Protocols | The server agrees to switch to the protocol the client asked for, such as WebSocket. | Informational |
| 102 | Processing | The server has accepted the request and is still working on it. Used by WebDAV. | Informational |
| 103 | Early Hints | The server sends hints, such as preload links, before the final response is ready. | Informational |
| 200 | OK | The request succeeded. The response body depends on the method that was used. | Success |
| 201 | Created | The request succeeded and a new resource was created, usually after a POST or PUT. | Success |
| 202 | Accepted | The request was accepted for processing, but the work has not finished yet. | Success |
| 203 | Non-Authoritative Information | The request succeeded, but a proxy changed the response from the origin server. | Success |
| 204 | No Content | The request succeeded and there is nothing to send back. Common for DELETE and some PUT requests. | Success |
| 205 | Reset Content | The request succeeded and the client should reset the form or view that sent it. | Success |
| 206 | Partial Content | The server is sending only part of the resource, as asked by a Range header. Used for video and resumed downloads. | Success |
| 207 | Multi-Status | The body holds several separate status codes for several operations. Used by WebDAV. | Success |
| 208 | Already Reported | The members of a WebDAV binding were already listed earlier in the response. | Success |
| 226 | IM Used | The server fulfilled a GET request and the response is the result of one or more instance manipulations. | Success |
| 300 | Multiple Choices | There is more than one possible response and the client or user should pick one. | Redirection |
| 301 | Moved Permanently | The resource has a new permanent URL. Search engines pass ranking to the new address. | Redirection |
| 302 | Found | The resource is temporarily at a different URL. Keep using the original address in the future. | Redirection |
| 303 | See Other | Get the response from another URL with a GET request. Often used after a form POST. | Redirection |
| 304 | Not Modified | The cached copy is still good, so the server sends no body. Saves bandwidth. | Redirection |
| 307 | Temporary Redirect | Like 302, but the client must repeat the request with the same method and body. | Redirection |
| 308 | Permanent Redirect | Like 301, but the client must repeat the request with the same method and body. | Redirection |
| 400 | Bad Request | The server cannot understand the request because of malformed syntax, an invalid message or bad framing. | Client error |
| 401 | Unauthorized | The request needs valid authentication. The client is not logged in or the credentials are wrong. | Client error |
| 402 | Payment Required | Reserved for future use. A few services use it to say a payment or plan upgrade is needed. | Client error |
| 403 | Forbidden | The server understood the request but refuses to allow it. Logging in again will not help. | Client error |
| 404 | Not Found | The server cannot find the requested resource. The URL may be wrong or the page was removed. | Client error |
| 405 | Method Not Allowed | The method, such as POST or DELETE, is not supported for this URL. | Client error |
| 406 | Not Acceptable | The server cannot produce a response that matches the Accept headers the client sent. | Client error |
| 407 | Proxy Authentication Required | The client must authenticate with the proxy first. | Client error |
| 408 | Request Timeout | The server gave up waiting for the client to finish sending the request. | Client error |
| 409 | Conflict | The request conflicts with the current state of the resource, for example an edit conflict. | Client error |
| 410 | Gone | The resource was removed on purpose and will not come back. Stronger than 404. | Client error |
| 411 | Length Required | The server needs a Content-Length header on the request. | Client error |
| 412 | Precondition Failed | A condition in the request headers, such as If-Match, was not met. | Client error |
| 413 | Content Too Large | The request body is bigger than the server is willing to accept. Previously called Payload Too Large. | Client error |
| 414 | URI Too Long | The URL is longer than the server is willing to process. | Client error |
| 415 | Unsupported Media Type | The server does not support the format of the request body. | Client error |
| 416 | Range Not Satisfiable | The Range header asks for a part of the resource that does not exist. | Client error |
| 417 | Expectation Failed | The server cannot meet the requirements of the Expect header. | Client error |
| 418 | I’m a teapot | A joke status from April Fools’ RFC 2324. Some servers use it to turn away unwanted bots. | Client error |
| 421 | Misdirected Request | The request was sent to a server that cannot produce a response for that host. | Client error |
| 422 | Unprocessable Content | The request is well formed but the server cannot process it, often because of validation errors. | Client error |
| 423 | Locked | The resource is locked. Used by WebDAV. | Client error |
| 424 | Failed Dependency | The request failed because an earlier request that it depends on failed. | Client error |
| 425 | Too Early | The server will not risk processing a request that might be replayed. | Client error |
| 426 | Upgrade Required | The client must switch to a different protocol, named in the Upgrade header. | Client error |
| 428 | Precondition Required | The server requires the request to be conditional to avoid lost updates. | Client error |
| 429 | Too Many Requests | The client sent too many requests in a given time. Wait for the time in the Retry-After header. | Client error |
| 431 | Request Header Fields Too Large | The headers, or one of them, are too large. | Client error |
| 451 | Unavailable For Legal Reasons | The resource is blocked for legal reasons, such as a court order or censorship law. | Client error |
| 500 | Internal Server Error | The server hit an unexpected problem. It is a general error, usually a bug or crash in the server code. | Server error |
| 501 | Not Implemented | The server does not support the feature needed to fulfil the request. | Server error |
| 502 | Bad Gateway | A gateway or proxy got an invalid response from the server behind it. | Server error |
| 503 | Service Unavailable | The server cannot handle the request right now, because of overload or maintenance. Often temporary. | Server error |
| 504 | Gateway Timeout | A gateway or proxy did not get a response from the server behind it in time. | Server error |
| 505 | HTTP Version Not Supported | The server does not support the HTTP version used in the request. | Server error |
| 506 | Variant Also Negotiates | A configuration error caused a circular reference during content negotiation. | Server error |
| 507 | Insufficient Storage | The server cannot store what is needed to finish the request. Used by WebDAV. | Server error |
| 508 | Loop Detected | The server found an infinite loop while processing the request. Used by WebDAV. | Server error |
| 510 | Not Extended | The request needs further extensions before the server can fulfil it. | Server error |
| 511 | Network Authentication Required | The client must sign in to the network, for example on a public Wi-Fi portal, before it gets access. | Server error |
| 520 | Web Server Returned an Unknown Error | A Cloudflare code. The origin server returned an empty, unknown or unexpected response. | Server error (unofficial) |
| 521 | Web Server Is Down | A Cloudflare code. The origin server refused the connection from Cloudflare. | Server error (unofficial) |
| 522 | Connection Timed Out | A Cloudflare code. Cloudflare could not connect to the origin server in time. | Server error (unofficial) |
| 523 | Origin Is Unreachable | A Cloudflare code. Cloudflare could not reach the origin server, often because of a DNS problem. | Server error (unofficial) |
| 524 | A Timeout Occurred | A Cloudflare code. The connection was made, but the origin did not reply in time. | Server error (unofficial) |
Como funciona
- Digite um código, nome ou palavra-chave.
- Ou clique em um botão de grupo, como 4xx.
- Leia o significado de cada código.
Os cinco grupos
Os códigos 1xx são informativos, os 2xx indicam sucesso, os 3xx são redirecionamentos, os 4xx são erros do cliente e os 5xx são erros do servidor.
Os códigos mais consultados
200 OK, redirecionamentos 301 e 302, 304 Not Modified, 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 429 Too Many Requests, 500 Internal Server Error, 502 Bad Gateway, 503 Service Unavailable e 504 Gateway Timeout.
301 ou 302?
Use 301 quando uma página mudou de endereço de vez, porque assim os mecanismos de busca passam a posição dela para o novo endereço. Use 302 para uma mudança temporária.
Códigos não oficiais
Os códigos 520 a 524 são exclusivos da Cloudflare e aparecem marcados como não oficiais na lista.
Perguntas
Qual é a diferença entre 401 e 403?
O 401 quer dizer que você não está logado ou que suas credenciais estão erradas. O 403 quer dizer que o servidor sabe quem você é, mas você não tem permissão para entrar.
O que um erro 5xx significa para os visitantes?
O problema está no lado do servidor. Os visitantes não conseguem resolver, e o dono do site precisa verificar o servidor ou a hospedagem.
Precisa de internet?
Não, a lista já vem dentro da página. Tudo acontece no seu navegador, e nada do que você digita é enviado para lugar nenhum.