Skip to content

Guide users who upload the basic Spotify 'Account data' export - #4

Merged
rhelgason merged 1 commit into
mainfrom
backfill-basic-export-guidance
Jun 26, 2026
Merged

Guide users who upload the basic Spotify 'Account data' export#4
rhelgason merged 1 commit into
mainfrom
backfill-basic-export-guidance

Conversation

@rhelgason

Copy link
Copy Markdown
Owner

The backfill parser only ingests 'Extended streaming history' exports (Streaming_History_Audio*.json). Users who upload the basic 'Account data' export hit a confusing 'No streaming history files found' error, since that export uses StreamingHistory_*.json files with no spotify_track_uri.

  • Detect the basic export (_is_basic_export) and return a clear 400 telling the user to request the Extended streaming history export instead.
  • Log reason=basic_export_uploaded for these rejections.
  • Ignore *.zip and Spotify export files so user data is never committed.
  • Add tests for the detector and the endpoint guidance message.

The backfill parser only ingests 'Extended streaming history' exports
(Streaming_History_Audio*.json). Users who upload the basic 'Account data'
export hit a confusing 'No streaming history files found' error, since that
export uses StreamingHistory_*.json files with no spotify_track_uri.

- Detect the basic export (_is_basic_export) and return a clear 400 telling
  the user to request the Extended streaming history export instead.
- Log reason=basic_export_uploaded for these rejections.
- Ignore *.zip and Spotify export files so user data is never committed.
- Add tests for the detector and the endpoint guidance message.
@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gatekeepify Ready Ready Preview, Comment Jun 26, 2026 7:06pm

@rhelgason
rhelgason merged commit a52440a into main Jun 26, 2026
12 checks passed
@rhelgason
rhelgason deleted the backfill-basic-export-guidance branch June 26, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant