GSA / GSA/data.gov

org_slug parameter is case-sensitive with no indication

Open
#5,900 0 comments 0 reactions 0 assignees View on GitHub
API bug Catalog
Dominant language
Python
Stars
1.1k
Forks
200
Avg merge
4h 56m
Merged PRs (30d)
5

Description

## Description
The `org_slug` parameter on `/search` is case-sensitive, returning zero results for uppercase values without any error or indication.

## Steps to Reproduce
GET https://catalog.data.gov/search?org_slug=nasa (returns results)
GET https://catalog.data.gov/search?org_slug=NASA (returns zero results)

## Expected Behavior
Either case-insensitive matching, or a clear error when the slug is not found.

## Actual Behavior
Uppercase slug returns zero results silently -- indistinguishable from a valid slug with no datasets.

## Notes
Confirmed April 27, 2026. Slugs are lowercase by convention but this is not documented anywhere. Minimum fix is a documentation note. Preferred fix is case-insensitive matching.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.