Update (13/2/2022): nextpagecursors work fine now, seems like roblox fixed the issue. Old post below:
I’m trying to get all of the game’s servers using the roblox games api v1, but now the nextpagecursor is returning null. This worked fine a couple days ago so I don’t know whats wrong.
Just tried it inside a game and there’s no difference, weird because this was working perfectly just a couple days ago and now all of the sudden it stops working.
Alright so for some reason, that API point does not work properly (Which is probably a bug that needs to be reported.).
To somewhat get around this problem (At least, for the time being.), you can send multiple requests to this URI where {placeId} is the PlaceId of your game and {startIndex} is the index that request will return the next 10 collection items from that given index (Which you should start from 0 and increment it by 10 for every request until you come across an empty collection.): https://www.roblox.com/games/getgameinstancesjson?placeId={placeId}&startIndex={startIndex}
An example response JSON looks like this when a request sent to this URI: https://www.roblox.com/games/getgameinstancesjson?placeId=5972698540&startIndex=0