-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
At timeseries group endpoint, the office ID is case sensitive for the owning office. If the wrong case is provided an empty group is returned.
Expected behavior
I would expect some sort of error stating that the group couldn't be found.
To Reproduce
curl -X 'GET' \
'https://DEV/cwms-data/timeseries/group/Web?office=mvp&category-office-id=mvp&group-office-id=mvp&category-id=MVP%20Dissemination&_cb=1770150293517' \
-H 'accept: application/json' \
-H 'Cache-Control: no-cache, no-store, max-age=0' \
-H 'Pragma: no-cache'
returns
{
"office-id": "MVP",
"id": "Web",
"time-series-category": {
"office-id": "MVP",
"id": "MVP Dissemination"
},
"assigned-time-series": []
}
Where
curl -X 'GET' \
'https://DEV/cwms-data/timeseries/group/Web?office=MVP&category-office-id=MVP&group-office-id=MVP&category-id=MVP%20Dissemination&_cb=1770151790542' \
-H 'accept: application/json' \
-H 'Cache-Control: no-cache, no-store, max-age=0' \
-H 'Pragma: no-cache'
returns the group as expected.
CDA Version (please complete the following information):
2026.02.03-develop
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working