Skip to content

404 error on the root (/) route when using (ISR) on Vercel. #1287

Closed

Description

@MikeBellika

Environment

Vercel

Reproduction

This route returns a 404: https://isr-bug-mike-altingetdk.vercel.app/
This route returns the content: https://isr-bug-mike-altingetdk.vercel.app/hello

They are both rendered with { isr: 60 }.

Repo at https://github.com/MikeBellika/isr-bug

Describe the bug

When the index route is rendered using ISR, it always returns a 404. Doesn't seem to happen locally, only when deploying to vercel

Additional context

Got this issue while trying to upgrade to nuxt 3.5 and it's preventing us from upgrading, since we can't cache the front page.

Logs

No response

Activity

  1. added
    pending triage
    on Jun 7, 2023
  2. added
    bug
    regression
    and removed
    pending triage
    regression
    on Jun 30, 2023
  3. Hebilicious commented on Jun 30, 2023

    @Hebilicious
    Contributor

    fixed with #1290

  4. added theissue type on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpreset:vercel

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions