Users by role API only showing 300 users in that role

We are using Keycloak version 26.0.5 and we hit the API and it’s giving the users list upto 100.

https://xxx.xxx.com//admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/users?first=0&max=101

But we tried to hit the below API and we are not getting any response.

https://xxx.xxx.com//admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/users?first=0&max=500

Please advise if there is any limit on it or any other way to get the users by role if we need list of 500 or 1000 users

Are you paging the calls?

No. I am just hitting the API if it’s 100 users, it’s showing the users list. But if it’s above 100 could not getting any response.

https://reqbin.com/req/yqyqa5ve/json-pagination-example