Hello All
# spicedb
z
Hello All I'm getting following error for request
LookupResources
rpc error: code = InvalidArgument desc = invalid LookupResourcesRequest.OptionalLimit: value must be inside range [0, 1000].
Is there any way to increase the Limit settting in SpiceDB server beyond 1000?
e
The LookupResources API is cursored - you can continue requesting results well beyond 1000 by making multiple requests and sending the
optional_cursor
with the value you got from the previous response. Currently the max optional_limit value is hardcoded and validated at the rpc layer; there's not a flag to bump the it up in spicedb.
(you can also set 0 for no limit)
z
Thank you @ecordell
3 Views