Referência de Códigos de Status HTTP

Referência de Códigos de Status HTTP

Referência completa de códigos de status HTTP — todos os códigos 1xx, 2xx, 3xx, 4xx e 5xx explicados com significados, casos de uso e impacto no SEO.

Atualizado em maio de 2026

100 INFO

Continue

The server has received the request headers and the client should proceed to send the request body.

101 INFO

Switching Protocols

The server agrees to switch protocols as requested by the client via the Upgrade header.

102 INFO

Processing

The server has received and is processing the request, but no response is available yet.

103 INFO

Early Hints

Used to return response headers before the final HTTP message, allowing the browser to start preloading resources.

200 SUCCESS

OK

The request succeeded. The server returned the requested resource. Required for a page to be indexed by Google.

201 SUCCESS

Created

The request succeeded and a new resource was created. Commonly used in REST APIs after a POST request.

202 SUCCESS

Accepted

The request has been accepted for processing, but processing has not been completed yet.

203 SUCCESS

Non-Authoritative Information

The request succeeded but the returned metadata is from a local or third-party copy, not the origin server.

204 SUCCESS

No Content

The request succeeded but there is no content to return. Common for DELETE or PATCH API responses.

205 SUCCESS

Reset Content

The server fulfilled the request and asks the client to reset the document view (e.g., clear a form).

206 SUCCESS

Partial Content

The server is delivering only part of the resource due to a Range header. Used in streaming and resumable downloads.

207 SUCCESS

Multi-Status

Conveys information about multiple resources in situations where multiple status codes might be appropriate. Used in WebDAV.

208 SUCCESS

Already Reported

The members of a DAV binding have already been enumerated in a preceding part of the response.

226 SUCCESS

IM Used

The server fulfilled a GET request and the response is a representation of the result of one or more instance-manipulations.

300 REDIRECT

Multiple Choices

The request has more than one possible response. The user agent or user should choose one.

301 REDIRECT

Moved Permanently

The resource has permanently moved to a new URL. Passes full link equity — use for all permanent redirects and HTTPS migrations.

302 REDIRECT

Found

The resource has temporarily moved. Google passes signals through 302s but use 301 for permanent moves to avoid canonical confusion.

303 REDIRECT

See Other

The server redirects the client to a different resource using a GET request. Often used after a POST to prevent form resubmission.

304 REDIRECT

Not Modified

The resource has not changed since the last request. The browser should use its cached version. Reduces bandwidth on repeat visits.

307 REDIRECT

Temporary Redirect

Like 302, but explicitly preserves the HTTP method. Use when method preservation is required for temporary redirects.

308 REDIRECT

Permanent Redirect

Like 301, but preserves the HTTP method. Used in APIs that need to permanently redirect POST requests.

400 CLIENT ERROR

Bad Request

The server cannot process the request due to malformed syntax or invalid parameters. Common in APIs with missing or invalid fields.

401 CLIENT ERROR

Unauthorized

Authentication is required and has not been provided or is invalid. Means "Who are you?" — not to be confused with 403.

402 CLIENT ERROR

Payment Required

Reserved for future use. Originally intended for digital payment systems; now used by some APIs to signal quota limits.

403 CLIENT ERROR

Forbidden

The server understood the request but refuses to authorize it. The client is known but lacks permission. Distinct from 401.

404 CLIENT ERROR

Not Found

The server cannot find the requested resource. The most common error on the web. Redirect important 404 pages with a 301.

405 CLIENT ERROR

Method Not Allowed

The HTTP method used is not allowed for the requested resource. The response must include an Allow header listing valid methods.

406 CLIENT ERROR

Not Acceptable

The server cannot produce a response matching the list of acceptable values in the request's Accept headers.

407 CLIENT ERROR

Proxy Authentication Required

Authentication with the proxy server is required before the request can be fulfilled.

408 CLIENT ERROR

Request Timeout

The server timed out waiting for the request. The client may repeat the request without modifications.

409 CLIENT ERROR

Conflict

The request conflicts with the current state of the target resource. Common when trying to create a duplicate record.

410 CLIENT ERROR

Gone

The resource is permanently removed and will not return. Stronger removal signal than 404 — Google processes 410 faster for URL de-indexing.

411 CLIENT ERROR

Length Required

The server refuses to accept the request without a defined Content-Length header.

412 CLIENT ERROR

Precondition Failed

The server does not meet one or more preconditions set in the request headers.

413 CLIENT ERROR

Content Too Large

The request body is larger than the server is willing to process. The server may close the connection.

414 CLIENT ERROR

URI Too Long

The URI requested by the client is longer than the server is willing to interpret.

415 CLIENT ERROR

Unsupported Media Type

The media format of the requested data is not supported by the server. Check the Content-Type header.

416 CLIENT ERROR

Range Not Satisfiable

The server cannot serve the requested ranges. The Range header field value is outside the resource's actual size.

417 CLIENT ERROR

Expectation Failed

The server cannot meet the expectations indicated by the Expect request-header field.

418 CLIENT ERROR

I'm a Teapot

The server refuses to brew coffee because it is, permanently, a teapot. An April Fools' joke from RFC 2324 (1998), now a web easter egg.

421 CLIENT ERROR

Misdirected Request

The request was directed at a server that is not able to produce a response for the combination of scheme and authority.

422 CLIENT ERROR

Unprocessable Content

The request is syntactically valid but semantically incorrect. Common in REST APIs with strict field validation.

423 CLIENT ERROR

Locked

The resource being accessed is locked. Used in WebDAV to indicate the resource is locked.

424 CLIENT ERROR

Failed Dependency

The request failed because it depended on another request that failed. Used in WebDAV.

425 CLIENT ERROR

Too Early

The server is unwilling to risk processing a request that might be replayed, to prevent replay attacks.

426 CLIENT ERROR

Upgrade Required

The client should switch to a different protocol. The server sends an Upgrade header indicating the required protocol.

428 CLIENT ERROR

Precondition Required

The origin server requires the request to be conditional. Prevents the "lost update" problem in REST APIs.

429 CLIENT ERROR

Too Many Requests

The client has sent too many requests in a given time (rate limiting). If Googlebot receives 429s, crawl budget is reduced.

431 CLIENT ERROR

Request Header Fields Too Large

The server refuses to process the request because its header fields are too large.

451 CLIENT ERROR

Unavailable For Legal Reasons

The server cannot legally provide the requested resource. Named after Fahrenheit 451. Used for censorship or legal blocks.

500 SERVER ERROR

Internal Server Error

A generic server-side failure. Persistent 500s cause Google to lower crawl frequency and may trigger de-indexing. Monitor in Search Console.

501 SERVER ERROR

Not Implemented

The server does not support the functionality required to fulfill the request. The method is not recognized or implemented.

502 SERVER ERROR

Bad Gateway

The server received an invalid response from an upstream server. Common with Nginx or Cloudflare when the app server crashes or is overloaded.

503 SERVER ERROR

Service Unavailable

The server is temporarily unavailable — overloaded or under maintenance. Include a Retry-After header to prevent Google de-indexing.

504 SERVER ERROR

Gateway Timeout

The gateway did not receive a timely response from the upstream server. Common when a database query or API call takes too long.

505 SERVER ERROR

HTTP Version Not Supported

The server does not support the HTTP version used in the request.

506 SERVER ERROR

Variant Also Negotiates

The server has an internal configuration error: the chosen variant resource is configured to engage in content negotiation itself.

507 SERVER ERROR

Insufficient Storage

The server cannot store the representation needed to complete the request. Used in WebDAV.

508 SERVER ERROR

Loop Detected

The server detected an infinite loop while processing the request. Used in WebDAV.

510 SERVER ERROR

Not Extended

Further extensions to the request are required for the server to fulfill it.

511 SERVER ERROR

Network Authentication Required

The client needs to authenticate to gain network access. Used by captive portals (hotel Wi-Fi, etc.) to intercept HTTP requests.

Referência de Códigos de Status HTTP — Guia Completo para Devs e SEOs

Toda resposta HTTP vem acompanhada de um código de três dígitos que informa ao cliente — e aos crawlers como o Googlebot — o que aconteceu com a requisição. Se você está depurando um erro 502 bad gateway, decidindo entre um redirecionamento 301 ou 302, ou projetando a resposta de uma API REST, esta referência traz o significado, os casos de uso e as notas práticas de cada código.

Busque pelo número do código ou por palavra-chave, ou filtre por classe usando os botões acima.

Classes de Códigos de Status HTTP — O Que o Primeiro Dígito Significa

O primeiro dígito define a classe do código. Entender as cinco classes é a forma mais rápida de diagnosticar qualquer erro HTTP:

Classe Intervalo Significado Impacto no SEO
1xx 100–199 Informacional — requisição recebida Mínimo — raramente visto por crawlers
2xx 200–299 Sucesso — requisição concluída Crítico: 200 obrigatório para indexação
3xx 300–399 Redirecionamento — ação adicional necessária Alto: 301 passa link equity; 302 não consolida
4xx 400–499 Erro do cliente — requisição inválida ou recurso não encontrado Alto: 404/410 removem páginas do índice
5xx 500–599 Erro do servidor — falha interna Alto: 5xx persistente reduz rastreamento e causa desindexação

Os Códigos de Status HTTP Mais Importantes Explicados

2xx — Códigos de Sucesso

200 OK é o código base. A requisição foi bem-sucedida e o servidor retornou o recurso solicitado. Este é o único código que torna uma página elegível para indexação pelo Google. Fique atento aos "soft 404s" — páginas que retornam 200 mas exibem conteúdo vazio ou mensagens de erro, que o Google trata como páginas ausentes desperdiçando crawl budget.

201 Created é a resposta correta após uma requisição POST que criou um novo recurso em uma API REST. Não é visto por crawlers em páginas HTML públicas.

204 No Content sinaliza sucesso sem corpo na resposta. Use em endpoints DELETE e PATCH quando não é necessário retornar dados atualizados.

3xx — Códigos de Redirecionamento

301 Moved Permanently é o redirecionamento permanente. Ele consolida sinais de ranqueamento — incluindo link equity e PageRank — da URL antiga para a nova. Use para reestruturação de URLs, migração HTTP para HTTPS, mudanças de domínio e qualquer cenário onde a URL antiga não voltará. Redirecionamentos 301 são armazenados em cache pelos navegadores de forma agressiva — teste com cuidado antes de implantar em escala.

302 Found é o redirecionamento temporário. O Google também passa sinais de ranqueamento por 302s na implementação atual, mas manter um 302 por longo prazo cria ambiguidade de canonical e impede o Google de atualizar o índice. Use o 302 para testes A/B, redirecionamentos geográficos e páginas de promoções temporárias.

304 Not Modified instrui o navegador a usar a versão em cache. O recurso não mudou desde a última requisição. Reduz o consumo de banda e acelera visitas recorrentes sem impacto negativo no SEO.

4xx — Códigos de Erro do Cliente

401 Unauthorized significa que a autenticação é necessária e não foi fornecida ou é inválida. O usuário precisa fazer login ou fornecer uma chave de API. Diferente do 403 — 401 significa "Quem é você?" enquanto 403 significa "Sei quem você é, mas não pode entrar."

403 Forbidden significa que o servidor entendeu a requisição, mas se recusa a autorizá-la. A identidade do cliente é conhecida, mas falta permissão. Do ponto de vista do SEO, se o Googlebot receber um 403 em uma página anteriormente indexada, ela pode eventualmente ser removida dos resultados.

404 Not Found é o erro mais comum na web. Um número moderado de 404s é normal — eles só se tornam um problema quando páginas importantes retornam 404 sem redirecionamento, desperdiçando link equity. Redirecione 404s valiosos com um 301 para a alternativa mais relevante.

410 Gone é o sinal de remoção permanente. Mais forte e mais rápido que o 404 — o Google processa o 410 para remoção de URL muito mais rapidamente. Use quando você retira intencionalmente um conteúdo que nunca voltará.

429 Too Many Requests sinaliza limitação de taxa. Se o Googlebot receber respostas 429, ele reduz a velocidade de rastreamento, diminuindo seu crawl budget. Implemente rate limiting com cuidado para não bloquear crawlers de forma agressiva.

5xx — Códigos de Erro do Servidor

500 Internal Server Error é uma falha genérica no servidor. Monitore 500s no Google Search Console — erros 500 persistentes em uma URL fazem o Google reduzir a frequência de rastreamento e podem causar desindexação.

502 Bad Gateway significa que o servidor recebeu uma resposta inválida de um servidor upstream. Comum com Nginx ou Cloudflare quando o servidor de aplicação cai, trava ou fica sobrecarregado após um deploy com falha.

503 Service Unavailable significa que o servidor está temporariamente indisponível. Sempre inclua um cabeçalho Retry-After para que o Google saiba quando rastrear novamente. Sem ele, 503s persistentes podem causar desindexação. Este é o código correto para retornar durante manutenção programada.

504 Gateway Timeout significa que o gateway não recebeu uma resposta a tempo do servidor upstream. Causa mais comum: uma query de banco de dados lenta, uma chamada de API travada ou um job em segundo plano que excede o timeout da requisição.

301 vs 302 — Quando Usar Cada Um

Cenário Use Motivo
Página movida permanentemente 301 Passa link equity completo para a nova URL
Migração para HTTPS 301 Permanente — consolida sinais de ranqueamento
Mudança de domínio 301 Permanente — preserva o ranqueamento
Teste A/B 302 Temporário — mantém a URL original como canonical
Página de promoção sazonal 302 Temporário — URL original retorna após a promo
Redirecionamento geográfico 302 Temporário — varia por localização do usuário
Página de manutenção 503 + Retry-After Não é redirect — servidor temporariamente indisponível

Perguntas Frequentes

Qual a diferença entre os códigos HTTP 404 e 410?

Tanto 404 Not Found quanto 410 Gone informam ao navegador e aos crawlers que uma página está indisponível. A diferença principal é permanência e intenção. Um 404 significa que o servidor não encontrou o recurso — ele pode existir novamente no futuro. Um 410 declara explicitamente que o recurso foi removido permanentemente e não vai retornar. Do ponto de vista do SEO, o Google processa o 410 mais rapidamente que o 404 para remoção de URL — use o 410 quando você retira conteúdo intencionalmente e quer que o Google o remova do índice mais rápido.

Qual a diferença entre 401 Unauthorized e 403 Forbidden?

Ambos os códigos indicam que o acesso foi negado, mas por motivos diferentes. 401 Unauthorized significa que o cliente não se autenticou — o servidor não sabe quem você é e você precisa fornecer credenciais (fazer login ou fornecer uma API key). 403 Forbidden significa que o servidor sabe quem você é, mas recusa o acesso — você está autenticado, mas não tem permissão para acessar aquele recurso. Resumindo: 401 = "Quem é você?", 403 = "Sei quem você é, mas não pode entrar."

Um redirecionamento 301 passa link equity (valor de SEO) para a nova URL?

Sim. Um redirecionamento 301 Moved Permanently consolida os sinais de ranqueamento — incluindo link equity, PageRank e autoridade de indexação — da URL antiga para a nova. O Google confirmou que redirecionamentos 301 passam link equity "completo", embora cadeias de redirecionamento (múltiplos saltos) possam causar alguma perda de sinal. Um 302 Found também passa sinais na implementação atual do Google, mas o 301 é sempre a escolha mais segura para movimentações permanentes.

Como os códigos de status HTTP afetam o rastreamento e a indexação pelo Google?

Os códigos de status determinam diretamente como o Googlebot trata cada URL. Um 200 OK torna a página elegível para indexação. Um 301 diz ao Google para atualizar o índice com a nova URL e transferir o link equity. Um 404 ou 410 indica que a página foi removida — ela eventualmente sairá do índice. Um 503 com cabeçalho Retry-After diz ao Google para tentar novamente mais tarde sem desindexar. Erros 5xx persistentes fazem o Google reduzir a frequência de rastreamento e eventualmente desindexar as páginas afetadas.

O que é um "soft 404" e por que é um problema de SEO?

Um soft 404 ocorre quando uma página retorna 200 OK, mas exibe conteúdo que parece uma página de erro — resultado vazio, "nenhum produto encontrado" ou uma mensagem genérica de "página indisponível". O Google detecta isso visualmente e trata como um 404 real, classificando a URL como conteúdo ausente. Isso desperdiça crawl budget e impede que a página seja indexada ou ranqueada. A correção é retornar um código 404 ou 410 real, ou preencher a página com conteúdo genuíno e relevante.

Recursos

Ferramentas Relacionadas