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

PaginateAll fails, some playlists return as null #1013

Closed
FrankBJensen opened this issue Dec 1, 2024 · 2 comments
Closed

PaginateAll fails, some playlists return as null #1013

FrankBJensen opened this issue Dec 1, 2024 · 2 comments

Comments

@FrankBJensen
Copy link

FrankBJensen commented Dec 1, 2024

Hi there.

An issue have turned up. That is, it has been working, now its not.

var allPages = await spotify.PaginateAll(page);
foreach (var pl in allPages)
{
    if (pl != null) // In case its null - eg Today's playlist didnt load
    {
        UserList upl = new UserList();
        upl.id = pl.Id;
        upl.uri = pl.Uri;
        upl.name = pl.Name;
        p.pList.Add(upl);
    }
}

allPages can return a number of playlists, eg. 8 pcs. The if (pl != null) I have just added, cause the new thing is, that the playlist can be null. Thus its not being loaded. This error turned up at all machines running my software, so something has changed. At first I thought, that it was due to special characters in the playlist name, cause I deleted today's playlist, and this machine worked again. But this must have been a lucky guess, cause I have another machine, where only 4 of 8 playlists are not null. And they contain no special characters.

Anyone knows, what is going on here?

@jenka1980
Copy link

Hove same problem. I'm trying to get playlist by "spotify" user and response I get a 1015 null playlists.
Before 29/11/2024 everything worked perfectly.

@JohnnyCrazy
Copy link
Owner

Duplicate of #1012

@JohnnyCrazy JohnnyCrazy marked this as a duplicate of #1012 Dec 1, 2024
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

3 participants