Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null reference when getting top tracks by tag #172

Open
yuans-dev opened this issue Apr 21, 2022 · 1 comment
Open

Null reference when getting top tracks by tag #172

yuans-dev opened this issue Apr 21, 2022 · 1 comment

Comments

@yuans-dev
Copy link

await Client.Tag.GetTopTracksAsync(Tag, page: 1, Results); where "Tag" is a string and "Results" is an integer, throws
"System.NullReferenceException in IF.Lastfm.Core.dll
Object reference not set to an instance of an object."

LastFm Client is properly instantiated.

@burak-ozenc
Copy link

I checked and debugged this issue but I did not understand why it is not validating. But Tag/GetTopTracksCommand/HandleResponse selecting an invalid token -- selecting "toptracks" instead of "tracks".

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

No branches or pull requests

2 participants