GSA / GSA/data.gov

Catalog-API: `/harvest_record/{id}/transformed` returns 404 for most records

Open
#5,905 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 /harvest_record/{id}/transformed endpoint on [catalog.data.gov](http://catalog.data.gov/) returns 404 for the majority of records retrieved from search results.

### Steps to Reproduce
GET https://catalog.data.gov/search?per_page=5
Extract harvest_record URLs from results
Append /transformed to each harvest record URL and call it
Expected Behavior
Returns the transformed DCAT-US payload for the record.

### Actual Behavior
Returns 404 for most records tested.

### Notes
Confidence: LOW -- only tested 3 records, small sample. Needs larger investigation (20+ records) across different org types and statuses. Need to clarify which record types or statuses should have transformed data available. May be expected behavior for certain record types rather than a bug.

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.