Need a better error message when requesting too much data
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 28
- Forks
- 25
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 20
Description
I'm querying hourly data, and once I request 59 or more days ~1400 values, I get a generic error "System Error" without any details.
A message that indicates something like 'your request was too large' would be helpful.
Here is an example:
https://cwms-data.usace.army.mil/cwms-data/timeseries?name=TULA.Flow.Inst.1Hour.0.Ccp-Rev&office=SWT&begin=2024-06-02T15%3A34%3A27.308382&end=2024-07-31T15%3A34%3A27.308382
Contributor guide
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
Reproduce the example timeseries request against the CWMS Data API, varying the requested date range around 59 days, and trace where the generic "System Error" response is produced. Identify the request-size handling and its existing error-response path; done means oversized requests return a clear message explaining that the request is too large rather than the generic error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100