USACE / USACE/cwms-data-api

Error storing timeseries 2025.09.29-testa

Open
#1,347 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
28
Forks
25
Avg merge
4d 22h
Merged PRs (30d)
20

Description

Describe the bug
I'm getting an error trying to save this json data. It works in an earlier release of CDA on MVP server ( 2025.09.02-testa).

Expected behavior
This should save fine.

To Reproduce
Try saving via swagger or cwms-python.

Logs/Incident Identifier
The response from CDA is

<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
</body></html>

See attached json data. I was having trouble narrowing down a smaller dataset, but I believe it can be smaller.

output.json

Contributor guide

Open the contributing guide

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

Reproduce the failure by submitting the attached output.json through Swagger or cwms-python, using the 2025.09.29-testa release and comparing with 2025.09.02-testa. Start at the timeseries storage API entry point and inspect the request and server logs around the 400 response. Done means identifying the data or regression that causes the request to fail and confirming that the dataset saves successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.