Describe the bug
While uploading an AOI file larger than 1MB during project creation, no error message is displayed, when the file size exceeds the allowed limit. The file is neither uploaded nor any error message is provided, leaving the system unresponsive.
To Reproduce
Steps to reproduce the behavior:
Go to 'Manage project'
Click on 'create new project'
Upload 'AOI greater than 1 mb'
See error
Expected behavior
The system should display a clear error message indicating that the file exceeds the 1MB size limit, such as: "The maximum file size limit is 1MB. Please upload a smaller file."
Describe the bug While uploading an AOI file larger than 1MB during project creation, no error message is displayed, when the file size exceeds the allowed limit. The file is neither uploaded nor any error message is provided, leaving the system unresponsive.
To Reproduce Steps to reproduce the behavior:
Expected behavior The system should display a clear error message indicating that the file exceeds the 1MB size limit, such as: "The maximum file size limit is 1MB. Please upload a smaller file."
Screenshots
Additional context Raised by Sophia on tasking manager channel. https://hotosm.slack.com/archives/C319P09PB/p1732208736215749