originally posted in:BungieNetPlatform
So I am trying to construct a array of members of a group, I am using the url http://www.bungie.net/platform/Group/{groupid}/Members/
This is returning:
{"ErrorCode":46,"ThrottleSeconds":0,"ErrorStatus":"InvalidPageNumber","Message":"You gave an invalid page range for a paged search. This most frequently occurs because the query's pages are 1-based.","MessageData":{}}
How is the query constructed, or is there a better url to retrieve a list of members, not followers, of a group?
Thank you in advance!
English
-
First, I believe that platform call is deprecated. You'll want to use MembersV3 instead of Members. Second, there are a few parameters that can be set for this platform call via the query string, one of which is the page number. The request will fail if you don't include the page number as a parameter. For example, to get the first page of members in this group, you could create a URL like this: [url]http://www.bungie.net/Platform/Group/39966/MembersV3/?currentPage=1&itemsPerPage=10[/url] This URL would get you the first page of results where a page is set to 10 items (group members). You don't have to specify a page size, but in this example it demonstrates the concept of having multiple query string parameters.