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.

Navigating to /_document returns a 503 error #281

@austinwalter

Description

@austinwalter

Describe the bug
So once my app is deployed, if I navigate to example.com/_document AWS returns a "503 request could not be satisfied" error instead of my app. I had expected it to return my 404 page. Not sure if I mis-configured something or if this is happening for other people.

To Reproduce
Steps to reproduce the behavior:

  1. Go to example.com/_document
  2. Returns an AWS default 503 message, not my app

Expected behavior
Expected behavior was to return my 404 message. The correct 404 page is returned for /_app and /_error pages.

Additional context
Going to any sub-directory of /_document returns the correct behavior (e.g. /_document/blah)

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions