Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pagesize cannot be larger than 100 #377

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Buenno
Copy link

@Buenno Buenno commented Sep 6, 2022

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.

@stephecannon
Copy link

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

Copy link

@stephecannon stephecannon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested these changes and they do resolve the issue.

Copy link

@TO360-IzzyDanza TO360-IzzyDanza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants