You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.
pageSize and pageNumber in FindModifiedVideos() from the ReadApi are documented as optional nullable values. If null is passed for either of these values, the API crashes.
pageSize may not be omitted, since if is compared to MAX_VIDEOS_PER_PAGE without checking whether it is null. Autoboxing a null Integer to a primitive int results in a NullPointerException.
The text was updated successfully, but these errors were encountered:
I'll have a look at both of these, although there are default values imposed by the Media API services, so omitting them would only be a small convenience. E.g. if you leave out pageSize, you'll get a max page size of 100 (the absolute max allowed by all read api calls). If you leave pageNumber out, you'll get the first page. So the work around would be to simply set these to 100 and 1 even if you don't care about the actual values for some reason.
pageSize and pageNumber in FindModifiedVideos() from the ReadApi are documented as optional nullable values. If null is passed for either of these values, the API crashes.
pageSize may not be omitted, since if is compared to MAX_VIDEOS_PER_PAGE without checking whether it is null. Autoboxing a null Integer to a primitive int results in a NullPointerException.
The text was updated successfully, but these errors were encountered: