PSGSuite icon indicating copy to clipboard operation
PSGSuite copied to clipboard

pagesize cannot be larger than 100

Open Buenno opened this issue 2 years ago • 1 comments

Get-GSMobileDevice returns a Google API error as the default pagesize value is outside of the permitted range.

Get-GSMobileDevice: Exception calling "Execute" with "0" argument(s): "Google.Apis.Requests.RequestError Invalid value '1000'. Values must be within the range: [value: 1 , value: 100 ] [400]

I have reduced the default value from 1000 to 100.

Buenno avatar Sep 06 '22 10:09 Buenno

I also see this error message and can confirm that @Buenno's solution resolves the issue.

stephecannon avatar Aug 14 '23 02:08 stephecannon