Skip to content

🐛 Error handling for unsupported image uploads (and clarity for image size requirements) #590

Closed
@rodrigosf672

Description

@rodrigosf672

Note

Please stick to the template and provide as much detail as possible to help us diagnose and fix the issue.
Low effort bug reports will be closed.

Describe the bug
When uploading an image that doesn't meet Hi.Events requirements (e.g., dimensions or file format), the UI displays a generic message:

"Please check the provided information is correct"

This message does not indicate the real issue, which leads to confusion and repeated failed attempts. In addition, it does not provide clarity around the image size requirements, which seemed inconsistent.

To Reproduce
Steps to reproduce the behavior:

  1. Navigate to the event Homepage Design section.
  2. Upload an image that does not meet expected criteria (e.g.,, wrong aspect ratio or encoding).
  3. Observe the generic error message at the top of the screen. Message does not clarify why uploaded image is not supported.

Expected behavior
The error message should clearly explain why the image failed (e.g., "Image must be 2160x1080px and under 5MB").

Screenshots

Image

Logs

URL: https://api.hi.events/events/1117/images
Status: 422
{
    "message": "The image failed to upload.",
    "errors": {
        "image": [
            "The image failed to upload."
        ]
    }
}

Desktop (please complete the following information):

  • OS: Sequoia 15.5
  • Browser: Safari
  • Version: 18.5

Hi.Events Version and platform
Live

Additional context
Image I uploaded is 2.7 MBs and dimensions are 1536 × 1024. While I understand the recommendation is 2160x1080, other image sizes (like 1024x1024) are accepted, making it unclear to the user what image size requirements are.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv1.1.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions