Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Pre-rendering service expired or broken: how to find and fix it

SEO-146High impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Some sites build their pages in the browser with JavaScript (React, Vue, Angular and similar). Crawlers do not always run that JavaScript well. A pre-rendering service fixes this: your server detects a bot by its user agent, asks the service for a fully built HTML copy, and sends that copy to the bot. Humans still get the normal app.

Why it costs you leads or sales

If bots receive an empty shell, a 401/403 error or a 5xx error, your pages can lose their indexed content, snippets and rankings. Pages may drop out of results, and AI assistants that fetch your pages may have nothing to quote. Fewer visits means fewer leads and sales, and the drop often arrives weeks after the cause.

What a crawler sees when pre-rendering fails
  1. Bot requests pageGooglebot or an AI crawler asks for the URL
  2. Server asks pre-render serviceToken expired or service down
  3. Bot gets empty shell or errorNo content in the HTML
  4. Page indexed with contentNever happens
  5. Organic visit and leadTraffic falls

The break happens between your server and the service, so everything after it is lost.

Organic visits after the service lapsesExample numbers
Organic visits after the service lapses (example)Week 1: 1,000 visits per week; Week 2: 990 visits per week; Week 3: 900 visits per week; Week 4: 720 visits per week; Week 5: 540 visits per week; Week 6: 430 visits per week03837671,000990900720540430Week 1Week 2Week 3Week 4Week 5Week 6visits per week

Example: illustrative numbers showing a gradual decline after pre-rendering stops working in week 2.

How to check if your site has it

Request your page the way a bot does and compare it with what a normal browser gets. You are looking for real text, headings, links and a 200 status in the bot response.

Fetch a page as a crawler and as a normal visitorbash
# As a bot
curl -s -o bot.html -w "%{http_code}\n" -A "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" https://example.com/your-page/

# As a normal browser
curl -s -o human.html -w "%{http_code}\n" https://example.com/your-page/

# Does the bot copy contain your main heading?
grep -i "<h1" bot.html

# Compare sizes
wc -c bot.html human.html
Checks to run
  1. Compare the bot HTML

    Open bot.html. If it has only an empty root element such as <div id="root"></div> and script tags, pre-rendering is not working.

  2. Check the status code

    A 401, 403, 502, 503 or 504 on the bot request points to a rejected token, a plan problem or a service outage.

  3. Use Google Search Console

    In URL Inspection, run Test Live URL and open View Tested Page > HTML. Check that your content is present. Also review Settings > Crawl stats for rising error rates.

  4. Check your service dashboard

    Look for an expired plan, a revoked token, exceeded render limits, a failed recache or a list of recent errors.

  5. Check server logs

    Search for errors from your pre-render middleware or proxy rule, such as authentication failures or timeouts.

How to fix it

First restore the service, then make sure your server still routes bots to it, then refresh stale pages. The exact steps depend on how you connected the service.

Restore pre-rendering by setup
  1. Renew and re-copy the token

    Renew the plan in your pre-render provider account. If the token changed, copy the new one into your server configuration or environment variable and restart the app.

  2. Check the middleware

    Make sure the middleware (for example the prerender-node package for Express) is still installed, loaded before your routes, and set to your current token. Update it if it is outdated.

  3. Check the bot list

    Confirm the user agents you want served (Googlebot, Bingbot and AI crawlers you allow) are matched by the rule.

Example: Express middleware with the token from an environment variablejavascript
const express = require('express');
const app = express();

// Use the current token from your provider account
app.use(require('prerender-node').set('prerenderToken', process.env.PRERENDER_TOKEN));

app.use(express.static('build'));
app.listen(3000);
After the service works again
  1. Recache key pages

    In your provider dashboard, trigger a recache of your sitemap URLs so bots stop receiving old copies.

  2. Request reindexing

    In Search Console URL Inspection, request indexing for your most important pages.

  3. Consider a longer-term fix

    Server-side rendering or static generation removes the dependency on a separate service. Google describes dynamic rendering as a workaround, not a long-term solution.

How to confirm it's fixed

Confirm the fix
  • The bot curl request returns status 200
  • The bot HTML contains your H1, main text, internal links, title and canonical
  • The bot HTML matches what users see, including current prices and offers
  • Search Console Test Live URL shows the full rendered HTML
  • Crawl stats show errors falling over the next days
  • Your provider dashboard shows successful renders and no limit warnings

How to prevent it happening again

Prevention habits
  • Put the renewal date and plan limits in a shared calendar
  • Use a company billing card and a team email for the provider account, not one person's
  • Store the token in an environment variable and document where it is set
  • Run the bot curl check after every deploy, server move or CDN change
  • Re-test a sample of URLs monthly
  • Review Search Console Crawl stats and Page indexing reports each month
  • Plan a move to server-side rendering or static generation

How FunnelGuard handles this

FunnelGuard does not check this yet. Comparing what bots receive with what visitors see is a possible future check, but it is not part of the product today.

What FunnelGuard does do is run your real customer journeys on a schedule, such as lead forms, checkouts and booking buttons. It checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach your inbox and CRM. That covers what happens after a visitor arrives, not what crawlers see.

Common signs at a glance

What the bot response tells you
Bot responseLikely causeFirst action
Empty root element, status 200Bot not routed to service, or rule removedCheck middleware or proxy rule
401 or 403Expired plan or invalid tokenRenew plan, update token
502, 503 or 504Service outage or timeoutsCheck provider status, page speed
Full HTML but old contentStale cacheRecache URLs

Questions people ask

Why is my pre-rendering service not working?

The usual causes are an expired subscription, an invalid or rotated token, exceeded plan limits, or a server rule that no longer sends bots to the service. Fetch a page with a Googlebot user agent and check the status code and HTML to see which one applies.

How do I check what Googlebot sees on my page?

Use URL Inspection in Google Search Console, run Test Live URL, then open View Tested Page and check the HTML. You can also run curl with a Googlebot user agent and look for your main heading and text.

What happens to SEO if my prerender token expires?

Bots may receive an error or an empty page, so pages can lose indexed content, snippets and rankings. The effect is usually gradual, with traffic declining over weeks.

Do AI crawlers need pre-rendered pages?

Many AI crawlers fetch raw HTML and may not run JavaScript. If your content only appears after scripts run, they may see an empty page unless you serve a pre-rendered or server-rendered copy.

How do I fix stale pre-rendered content?

Trigger a recache in your provider dashboard for the affected URLs, ideally from your sitemap. Then check the bot HTML again and request reindexing in Search Console.

Is pre-rendering still recommended by Google?

Google describes dynamic rendering as a workaround and not a long-term solution. Server-side rendering or static generation is a more stable choice.

Does FunnelGuard detect a broken pre-rendering service?

No, FunnelGuard does not check this yet. It is a possible future check. For now, use a scheduled curl test with a bot user agent and review Search Console.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.