Skip to content

Potentially misleading message 'The file you are trying to upload might be too large.' #335

@rdownescti

Description

@rdownescti

Hi
The message 'The file you are trying to upload might be too large.' occurs in h5peditor-file-uploader.js when the file contents fails JSON.parse.

This could be for a number of reasons, including a corrupt file or indeed a file that is too large.

I spent ages looking at what was restricting the file size before I found this out and discovered the real cause of the issue that I faced.

Could this message be made more generic and reference JSON?

Regards Rory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions