Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

404 Error Page not working #378

@sidartha

Description

@sidartha

Describe the bug
When using [email protected], navigating to an invalid URL does not show the 404 error page. Instead, you see 200 | An unexpected error has occurred.

To Reproduce
Steps to reproduce the behavior:

  1. Clone this repository: https://github.com/sidarthar/serverless-nextjs-404-error
  2. Run npx serverless to deploy
  3. After deployed, visit the appUrl/pageThatDoesNotExist
  4. See error

Expected behavior
Should see a 404 | Page Not Found error.

Screenshots
image

Desktop (please complete the following information):

Additional context
When using [email protected], the 404 page works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions