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
storage: Incorrect page token value in the URL #2057
Comments
Hey I will take a look at this, cc @tritone as an fyi. @karanpopat can I ask why you aren't using the Storage client at cloud.google.com/go/storage ? It provides many more features and has dedicated engineering support. Not suggesting you should lift your entire app onto it, but just an fyi. THis package is actually deprecated:
|
@karanpopat It would help if you could make a repro of this that is runnable as a stand-alone. Just from looking at this, I see you are setting |
@tritone The check |
@noahdietz I'll take a look at the package to see if I encounter any similar problems. However, I can't guarantee that we will be migrating to it at this stage. |
@karanpopat if you are trying to end execution then it looks like you need to return a non-nil error from |
Closing as as by design. I don't think there is a bug to fix here, but please re-open if I am mistaken |
Environment details
Steps to reproduce
While working with pagination using the page token, I noticed that the generated URL for subsequent API requests contains "MISSING" appended to the page token instead of the actual page token value
pageToken=Ckhsb2dzL2RhZ19pZD1haXJmbG93X21vbml0b3JpbmcvcnVuX2lkPW1hbnVhbF9fMjAyMy0wMi0yMlQxOTo1NDoyMiswMDowMC8%!!(MISSING)D(MISSING)
Expected behavior
The URL for subsequent API requests should contain the actual page token value and not have string "MISSING" in it
The text was updated successfully, but these errors were encountered: