mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-25 23:45:52 +03:00
[GH-ISSUE #489] Json Parsing error internal #161
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#161
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 @Jacob-Tate on GitHub (Aug 9, 2024).
Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/489
Describe the bug
When attempting to use the show query code I get the following error this doesnt occur on the track search
To Reproduce
Log/Output data
Search error! ParseJson(Error("invalid type: null, expected struct SimplifiedShow", line: 4, column: 20))@ramsayleung commented on GitHub (Sep 13, 2024):
I can reproduce this problem with curl:
According to the Spotify's document:
You have not specified any country in your request, it means Spotify was using the country associated with your account, if you haven't set a country in your account setting, no show is available for you, so it return list of
null.In order to fix the above problem, you could simply specify a country like
market=US@ramsayleung commented on GitHub (Jul 8, 2025):
This problem should be fixed by this PR https://github.com/ramsayleung/rspotify/pull/526/files, you could consume the
0.15.0to solve this problem.