Skip to content

BLOB will store backslash in name, but can't retrieve data #1545

@msweier

Description

@msweier

I can store a blob like PLOTS/HISTORICAL/LOCKDAM_10.FLOW-OUT.JSON, but I can't retrieve the data stored within it out of CDA. I suspect the / is the issue.

Expected behavior
An entry that can be viewed here:
curl -X 'GET' \ 'https://cwms-data.usace.army.mil/cwms-data/blobs?office=MVP&like=%2FPLOTS%2FHISTORICAL%2FLOCKDAM_10.FLOW-OUT.JSON' \ -H 'accept: application/json'
which returns
{ "blobs": [ { "office-id": "MVP", "id": "/PLOTS/HISTORICAL/LOCKDAM_10.FLOW-OUT.JSON", "description": "Historical Flow-Out Plot: Daily Values Compared to Historical Percentiles. Generated: 2026-01-22 09:20:14+00:00 UTC", "media-type-id": "application/json" } ], "page": "fHwwfHwyMA==", "page-size": 20, "total": 0 }

but when I try and retrieve the data stored under that entry with
curl -X 'GET' \ 'https://cwms-data.usace.army.mil/cwms-data/blobs/%2FPLOTS%2FHISTORICAL%2FLOCKDAM_10.FLOW-OUT.JSON?office=MVP' \ -H 'accept: */*'

a 404 Not Found message is returned.

I can retrieve the data if I store it asplots-historical-LockDam_10.Flow-Out.json.

CDA Version (please complete the following information):
CDA version 2025.09.02

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions