Skip to content

Server action forms resulting in blank 405 page if is JS disabled on Vercel #63919

@KATT

Description

@KATT

Link to the code that reproduces this issue

https://github.com/KATT/server-actions-bug-vercel

To Reproduce

  1. Go to https://server-actions-bug-vercel.vercel.app/
  2. Disable JS in your browser
  3. Click submit

Current vs. Expected behavior

  • Expected: redirects to /success
  • Current: gives some 405 error with a gray blank screen

Provide environment information

Relevant Packages:
  next: 14.2.0-canary.50 // Latest available version is detected (14.2.0-canary.50).
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.4.3

Which area(s) are affected? (Select all that apply)

App Router, Server Actions

Which stage(s) are affected? (Select all that apply)

Vercel (Deployed)

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue was opened via the bug report template.locked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions