faint-tent-43897
10/23/2023, 1:24 PMpage
and per_page
which seems to be replaced by `page_token`and page_size
. The PHP SDK sends all 4 params and always get a HTTP 500 response.
When I change the SDK to only pass page
and per_page
it works.
When I change the SDK to only pass `page_token`and page_size
it does not.
Now my question, which parameters should be passed? Does it make sense to create an Issue or a PR on Github?proud-plumber-24205
10/23/2023, 2:07 PMpage_token
should be used since page
is deprecated, however still usable.
https://www.ory.sh/docs/reference/api#tag/identity/operation/listIdentities
Maybe the page_token
value you are using is incorrect?
https://www.ory.sh/docs/ecosystem/api-design#paginationfaint-tent-43897
10/23/2023, 2:36 PMfaint-tent-43897
10/23/2023, 2:36 PMfaint-tent-43897
10/23/2023, 2:44 PM$client->listIdentities(pageSize:10, pageToken:null, credentialsIdentifier: $email);
proud-plumber-24205
10/23/2023, 2:54 PMproud-plumber-24205
10/23/2023, 2:58 PMfaint-tent-43897
10/24/2023, 7:02 AM