------------------------------------------------------------------------------ To reply, visit https://hellosplat.com/s/beanbag/tickets/4929/ ------------------------------------------------------------------------------
New ticket #4929 by kosta For Beanbag, Inc. > Review Board Status: New Tags: Priority:Medium, Type:Defect ------------------------------------------------------------------------------ Bug in list users API ============================================================================== # What version are you running? 4.0.1 # What's the URL of the page containing the problem? reviewboard_address/api/users/ # What steps will reproduce the problem? 1. Once the API is quried with `start + max-results > users count`, an error 500 is returned from the server. So basically there is no way to fetch the last piece of the users list. 2. When making paginated calls to list all, you will get the error as well- ``` ... rbt api-get reviewboard_address/api/users/ --start=50 --max-results=25 returned ok response with the following next link- "next": {"href": "reviewboard_address/api/users/?start=75&max-results=25", "method": "GET"} Calling next gives- rbt api-get reviewboard_address/api/users/ --start=75 --max-results=25 ERROR: Could not retrieve the requested resource: HTTP 500 ``` # What is the expected output? What do you see instead? Should be able to list all users # What operating system are you using? What browser? Ubuntu 18, Chrome # Please provide any additional information below. ------------------------------------------------------------------------------ -- You received this message because you are subscribed to the Google Groups "reviewboard-issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard-issues/20210620153416.28382.83074%40ip-10-1-54-209.ec2.internal.