Bungie-net / api

Resources for the Bungie.net API
Other
1.22k stars 92 forks source link

User.SearchByGlobalNamePrefix returns hasMore: true for names with more than one page - including the last page #1530

Open ChaseMalik opened 3 years ago

ChaseMalik commented 3 years ago

Currently there are 52 players with the bungieGlobalDisplayName of "Destiny".

Searching for them using User.SearchByGlobalNamePrefix returns the following results:

https://www.bungie.net/Platform/User/Search/Prefix/Destiny/0/ 25 results hasMore: true

https://www.bungie.net/Platform/User/Search/Prefix/Destiny/1/ 25 results hasMore: true

https://www.bungie.net/Platform/User/Search/Prefix/Destiny/2/ 2 results hasMore: true

Expected: hasMore should be false for page = 2.

In fact, calling with page 3 results in an error: https://www.bungie.net/Platform/User/Search/Prefix/Destiny/3/ ErrorCode: 217 - UserCannotResolveCentralAccount

This happens for all names with more than 25 results (aka more than one page) - the hasMore value is incorrect on the last page

Abdulhakiem commented 1 year ago

So there is no update on this issue yet, ):