NUKnightLab / NUKnightLab/scenevr-author
Better error message for files that are too large
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 2
- Forks
- 2
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
An attempt to upload a file that is larger than allowed (by nginx configs) will result in a non-informative JSON related error. It would be better if we could inform the user specifically that the file is too large.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the file-upload path and how it handles the JSON error when nginx rejects a file larger than its configured limit. Compare the current response with the nginx size-limit behavior and identify the existing error-handling entry point. Done means oversized uploads produce a specific, user-facing file-too-large message instead of the non-informative JSON error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nginx
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100