lastfm icon indicating copy to clipboard operation
lastfm copied to clipboard

Null reference when getting top tracks by tag

Open yuans-dev opened this issue 2 years ago • 1 comments

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.

yuans-dev avatar Apr 21 '22 15:04 yuans-dev

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".

burak-ozenc avatar Oct 10 '22 17:10 burak-ozenc