mirror of
https://github.com/misiektoja/spotify_profile_monitor.git
synced 2026-04-26 07:25:56 +03:00
[GH-ISSUE #10] Issue with handling errant API response #9
Labels
No labels
Stale
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify_profile_monitor#9
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 @tomballgithub on GitHub (May 17, 2025).
Original GitHub issue: https://github.com/misiektoja/spotify_profile_monitor/issues/10
I saw the following in the log, which I suspect means a response from the API was incorrect/unexpected and not handled correctly. Should have a check for the response to verify it's 'good' and if not, to ignore it and prevent errors.
Error while processing playlist with URI spotify:playlist:[redacted], skipping for now - int() argument must be a string, a bytes-like object or a real number, not 'NoneType'@tomballgithub commented on GitHub (May 17, 2025):
Also saw this:
Error while processing playlist with URI spotify:playlist:[redacted], skipping for now - 'NoneType' object is not subscriptable@misiektoja commented on GitHub (May 21, 2025):
Hey, I think I fixed most of the problematic places that could cause it. Give the new code a try.
@tomballgithub commented on GitHub (May 31, 2025):
I haven't seen this repeat over the last 2 weeks