mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-25 23:45:52 +03:00
[GH-ISSUE #535] Get Category's Playlists API returns null entry #171
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#171
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aome510 on GitHub (Sep 1, 2025).
Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/535
Originally reported in https://github.com/aome510/spotify-player/issues/821.
I observed that when calling the
get-a-categories-playlistsAPI on some categories, the following entry will be returned in theplaylistslist:For example, I ran
and got a response as follows
NOTE: the playlist list might change everyday and might be different for each person, so the issue might be reproducible for me but not for others.
@ramsayleung commented on GitHub (Sep 4, 2025):
I can re-produce the issue by the given test data:
the problem is that:
hrefis defined asStringbut JSON hasnullidis defined asPlaylistId<'static>but JSON hasnullnameis defined asStringbut JSON hasnullsnapshot_idis defined asStringbut JSON hasnullIt just gives an impression that almost all the fields are nullable, and the doc doesn't tell which field is required and which field is nullable as well.