5xx server errors
Locate intermittent 5xx failures by route, host, and deployment; fix the source, protect key pages, and verify recovery in logs and Search Console.
A 5xx response means the server failed to complete a request. Google slows its crawling after 5xx responses, ignores their content, and drops URLs that persistently return a server error from the index. Correlate affected URLs and timestamps with origin, CDN, application, and deployment logs, restore 2xx responses for pages that should exist, then check Googlebot activity and indexing separately.
Where does your site stand?
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
- Free audit in 60 seconds
- Fixes drafted for your review
- ChatGPT, Perplexity, Gemini and AI Overviews tracked
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
- Re-check after big site changes
- Keep this page for reference
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
- Follow the steps below
- Top-traffic pages first
- Check again in a month
Find whether the failure is widespread or route-specific
| Response | Common place to investigate | Check |
|---|---|---|
| 500 | Application exception or unhandled dependency failure | Stack traces, error rates, and changes around the first failure |
| 502 | Proxy or gateway received an invalid upstream response | Origin health, connection resets, and upstream protocol |
| 503 | Temporary overload or scheduled maintenance, or deliberate throttling | Capacity, maintenance window, CDN rules, and recovery behavior |
| 504 | Gateway waited too long for an upstream response | Slow queries, dependency latency, queueing, and timeout settings |
- 01
Check the status from outside your browser
Request affected URLs with an HTTP client or browser network panel and record each response, redirect, timestamp, and time to first byte. A page that works for you can still fail intermittently at the origin, edge, or for a particular region.
- 02
Group Search Console evidence
Review Crawl Stats host availability and response-code examples, then inspect representative URLs in URL Inspection. Crawl Stats aggregates requests, so its error percentage is not a count of unique failed URLs.
- 03
Correlate logs across layers
Match request IDs and timestamps across the CDN, load balancer, application, database, and deploy history. Compare Googlebot requests with normal user requests; validate crawler identity from network ranges or reverse DNS when it affects the diagnosis.
- 04
Map errors to affected templates
Separate homepage, product, category, article, API, and asset requests. A shared origin failure has a different repair from one broken route or one slow database query.
Restore availability at the source
Retry-After header with a date or a number of seconds to suggest how long to wait. Do not serve a 200 status for an error page; Google may report it as a soft 404.Prioritize URLs with customer value and search demand: product and checkout entry pages for stores, lead-generation pages for service businesses, and top documentation or articles for publishers and SaaS companies. Fix a shared template or dependency before manually testing hundreds of similar URLs.
Verify recovery and watch for a second failure
- 1
Test key URLs from multiple paths
Check representative pages through the public hostname and, where possible, directly at the origin. Confirm stable successful responses, expected content, and no redirect loop.
- 2
Compare errors by layer
Use request IDs to verify the repaired requests reached the origin and returned correctly through the CDN. A single successful browser reload is not evidence that an intermittent issue is resolved.
- 3
Watch crawl response patterns
Monitor Search Console Crawl Stats and server logs over subsequent crawls. Google says that once the server starts responding with a 2xx status code, it gradually increases the crawl rate for the site.
- 4
Recheck indexed state later
Use URL Inspection for important URLs and review the Page Indexing report after Google recrawls them. Availability recovery does not immediately restore indexing or guarantee it.
If responses succeed but are consistently slow, investigate slow TTFB. For client-side missing routes, compare 4xx errors and soft 404 errors.
Every fact, linked and dated.
google.com
rfc-editor.org
- 01How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-10-24
- 02Troubleshoot crawling errors in Google Searchdevelopers.google.com · checked 2026-10-24
- 03Crawl Stats reportsupport.google.com · checked 2026-10-24
- 04RFC 9110: HTTP Semanticsrfc-editor.org · checked 2026-10-24
Asked a lot.
3 questions people ask next, answered from the sources on this page.
01Do 5xx errors affect Google crawling?
Yes. Google says 5xx and 429 server errors prompt its crawlers to temporarily slow down. For a 500, the crawl rate decrease is proportionate to the number of individual URLs returning a server error. Once the server responds with 2xx again, Google gradually increases the crawl rate.
02How long can a site return 503 to Googlebot?
Google's overcrawl guidance says Googlebot retries 503 and 429 URLs for about 2 days, and that returning them for more than 2 days will cause Google to drop those URLs from the index. Use them only temporarily, while your server is overloaded.
03Does a 500 error mean a page is deindexed immediately?
No. For Google Search, already indexed URLs that return a 5xx are preserved in the index but eventually dropped, and the indexing pipeline removes URLs that persistently return a server error. Restore reliable 200 responses, then check URL Inspection after Google recrawls the page.
Tools point. Agencies advise. This one ships.
Run the free audit, then approve the fixes. Every change can be undone.
- 46 fixes shipped without a ticket Brightpipe
- 0→7 ChatGPT citations in six weeks Paylane