Skip to content

Cannot POST to Blob Endpoint client-error #1713

@krowvin

Description

@krowvin

Describe the bug
Attempting to POST a blob to the /blobs endpoint on CWBI-DEV results in a client-error response.

We were not able to find anything in the grafana logs (pretty full...) and there was no incident identifier returned.

We tried in swagger too and got the same response

Expected behavior
Expect a 204 or 200 and a blob to store

Logs/Incident Identifier
When you receive an error if possible add your corresponding log output. This will be from the Tomcat logs.
Could not see anything in tomcat, no identifier returned. Could it be the WAF?

CURL Commands

curl -X 'POST' \
  'https://water.dev.cwbi.us/cwms-data/blobs?fail-if-exists=false' \
  -H 'accept: */*' \
  -H 'Authorization: Bearer redacted' \
  -H 'Content-Type: application/json;version=2' \
  -H 'Cache-Control: no-cache, no-store, max-age=0' \
  -H 'Pragma: no-cache' \
  -d '{
  "office-id": "SWT",
  "id": "test",
  "description": "test",
  "media-type-id": "text/plain",
  "value": "aGVsbG8="
}'

CDA Version (please complete the following information):
At the top of any instance of CDA you will see a version. Please provide that version.

  • Version 2026.04.29-develop

Additional context
Working with @inguyen314 to store new blobs to DEV and not currently working

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