function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
michaelforcemichaelforce 

API Bug - Role Querying

It turns out that upon request of one customer for sure (possibly more), the 500 count role limitation was lifted for their org.  I have confirmed for myself that they now have 1000+ Roles.  So, the limit was changed, but it seems that the API still thinks that 500 is the limit.  When I query for all the roles in their org, I get the following back in the result:

size                  1178

done                 true

queryLocator     null

records             [500 records are returned]

Hence there is no way for me to get back all the roles.  It seems clear that the API was not ammended to handle more than 500 roles.  Please advise. 

SuperfellSuperfell
Please log a case with support.