Storage.readAllBytes() unauthorized when running on App Engine standard with default credentials #1007
Labels
api: storage
Issues related to the Cloud Storage API.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Create an application running this code:
It will work on a local environment using application default credentials, but it will throw the following error when deployed on App Engine standard (did not try on flexible):
The workaround is to use Storage.reader() to get a ReadChannel.
The text was updated successfully, but these errors were encountered: