Skip to content

Action Form only displays error messages for responses with status 422 #6793

@258034-DuongVietHoang

Description

@258034-DuongVietHoang
  • Laravel Version: 11.44.1
  • Nova Version: 4.35.7
  • PHP Version: 8.2.28

Description:

The Action Form in Nova only displays error messages for responses with status 422.
However, when a user uploads a file that exceeds the maximum upload limit, the server throws a ValidatePostSize exception with status 413, but no error message is displayed to the user.

Detailed steps to reproduce the issue on a fresh Nova installation:

  1. Create a File field inside a Nova Action.
  2. Attempt to upload a file that exceeds the allowed upload size limit, triggering the ValidatePostSize error (HTTP 413).

Expect:
The error message should be displayed to inform the user that the file size exceeds the limit.

Current:
No error message is shown in the UI, leaving the user unaware of the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified bug by the Nova teamfix incomingA fix is in review

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions