Skip to content

Bug: Missing Validation When Title Is Not Selected Causes 500 Internal Server Error #1

@Pratham-Taikar

Description

@Pratham-Taikar

Description

When a user proceeds without selecting a title, the application fails silently on the UI.
No validation message or error indication is shown to the user. Instead, the request results in a 500 Internal Server Error logged in the console, and the expected result page does not render. This creates a poor user experience and makes the issue difficult to understand from the frontend.

Steps to Reproduce

  1. Open the image transformation flow.
  2. Upload an image successfully.
  3. Do not select or enter a title.
  4. Trigger the action to proceed (e.g., generate/update image).
  5. Observe the behavior.

Expected Behavior

The application should validate the title field on the client side.

If the title is missing:

  • Show a clear UI error message (e.g., “Title is required”).
  • Prevent the API request from being sent.

Alternatively, the backend should return a 4xx validation error with a meaningful message.

Actual Behavior

  1. No UI validation or error indication is shown.
  2. The expected result page does not appear.
  3. The browser console shows a 500 Internal Server Error.
  4. The failure is not communicated to the user.

Impact

  • Users receive no feedback on why the action failed.
  • Debugging becomes difficult due to lack of validation and error messaging.
  • Backend is handling a preventable invalid request.

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions