-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
http_400 Invalid argument when gcs_list_objects() returns exactly 1000 rows #179
Comments
Further debug lead me to the thought that the problem is with pagination - This problem arised when the bucket got to 1000 entries, thus pagination started to matter.
I have added another item to the bucket non-programatically, so it has 1001 entries – the problem dissapeared! I guess now I'm waiting when we get 2000 items in a bucket :) |
Weird it started to go wrong, will check if api response has changed. |
@MarkEdmondson1234 hey, have you had the time to look into it? I happened to get to 1000 entries in another bucket, and here adding an entry by hand does not solve the problem,
|
Can I see you |
Sorry for late reply. I have reverted the code to the commit where the issue was persistent – as I have removed the Here is the session info in any case – the same issue was present on ubuntu 18 server that runs shinyproxy with the app.
|
This could have been there a while but intermittent if its exactly when the paging == page_size. Will have a look through here to see if anything has changed recently https://cloud.google.com/storage/docs/json_api/v1/objects/list |
This looks different:
|
For what it's worth, I just tested this for ropensci/targets#1172 using version 0.7.0, and |
Today my shiny app started returning such an error when executing gcs_list_objects('my-bucket'):
I'm using the latest version – please, help me debug it. Is it a problem on my side or the google API has changed? I have not found information about API changes..
The text was updated successfully, but these errors were encountered: