Skip to content

[Bug]: DS is throwing an error for hyphen in collection version #587

@ngachung

Description

@ngachung

Checked for duplicates

Yes

Describe the bug

Unable to create a collection with the following identifier URN:NASA:UNITY:UNITY:DEV:vtls-l1-application___CO2-230124

Error in uds-dev-cumulus-granules_cnm_ingester logs
{'client_error': {'statusCode': 400, 'body': '{"statusCode":400,"error":"Bad Request","message":"Rule name may only contain letters, numbers, and underscores."}', 'headers': {'x-powered-by': 'Express', 'access-control-allow-origin': '*', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'content-type': 'application/json; charset=utf-8', 'content-length': '114', 'etag': 'W/"72-cw0bfZ01/NnLz97r8u4olc4rse0"', 'date': 'Wed, 28 May 2025 18:12:22 GMT', 'connection': 'keep-alive', 'keep-alive': 'timeout=5'}, 'isBase64Encoded': False}}

What did you expect?

Collection to be created

Reproducible steps

Create collection with hyphen in version

What is your environment?

DEV shared services 9.11.5

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