NUKnightLab / NUKnightLab/scenevr-author

Better error message for files that are too large

Open
#38 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.