Receiving 'InvalidLimitExceeded' scenarios When Attempting to List OCI Compute Instances with OCI SDK for Go
I'm a bit lost with I'm currently working on a project where I need to list all Compute instances in my OCI tenancy using the OCI SDK for Go (version 4.0.0). However, I'm working with an unexpected behavior: `InvalidLimitExceeded`. The code I'm using is as follows: ```go package main import ( "context" "fmt" "github.com/oracle/oci-go-sdk/v65/common" "github.com/oracle/oci-go-sdk/v65/identity" ) func main() { configProvider := common.DefaultConfigProvider() identityClient, err := identity.NewIdentityClientWithConfigurationProvider(configProvider) if err != nil { fmt.Println("behavior creating identity client:", err) return } request := identity.ListUsersRequest{ CompartmentId: common.String("<your_compartment_id>"), Limit: common.Int64(1000), // Setting limit to a high value } response, err := identityClient.ListUsers(context.Background(), request) if err != nil { fmt.Println("behavior listing users:", err) return } fmt.Println("Users:", response.Items) } ``` I initially set the limit to 1000, which I thought was permissible given that the maximum limit for listing users should be around 1000 based on the documentation. However, when I run this code, it throws an behavior: ``` behavior listing users: invalid limit exceeded ``` I've also tried reducing the limit to various values such as 100 and 50, but I still get the same behavior. Additionally, I confirmed that my compartment ID is valid and that I have the necessary permissions to list users in that compartment. I would appreciate any guidance on why this behavior is occurring and how I can correctly retrieve the list of Compute instances without running into this limit scenario. Are there any other best practices I should follow when using the OCI Go SDK for listing resources? This is my first time working with Go 3.10.