Stay organized with collections Save and categorize content based on your preferences.
Google Cloud Storage is accessed by the App Engine UrlFetch
feature. As a result, there are three sources of possible errors:
The App Engine client library for Cloud Storage handles timeout errors on both the App Engine side and the Google Cloud Storage side and performs retries automatically, so your app does not need to add logic to handle this. The configuration of the timeout and retry mechanism is exposed through the RetryParams class, which you can use to change any or all of the default settings. You can make your changes to apply to all function calls or you can specify changes for a specific call using the function's retry_params
parameter.
The App Engine client library for Cloud Storage has the following error exception classes defined:
The base class for all exceptions in this package. Errors can be generated from App Engine or from Google Cloud Storage. For details on HTTP error codes from Google Cloud Storage, see HTTP Status and Error Codes in the Google Cloud Storage documentation.
This error (403) indicates that the user was not authorized by Google Cloud Storage to make the request.
cloudstorage.delete()
, cloudstorage.listbucket()
, cloudstorage.open()
, or cloudstorage.stat()
does not exist.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["The App Engine client library for Cloud Storage handles timeout errors and retries automatically, eliminating the need for manual handling in your app."],["The `RetryParams` class allows customization of timeout and retry settings, which can be applied globally or to specific function calls."],["Errors related to Google Cloud Storage access can stem from transient issues, or from bucket and object authorization, in addition to transient errors coming from App Engine `UrlFetch`."],["The `cloudstorage` library defines exception classes like `Error`, `AuthorizationError`, `ForbiddenError`, `NotFoundError`, and `TimeoutError` to handle various error scenarios."],["`ForbiddenError` (403) is common when the bucket permissions (bucket ACL) are not configured properly to allow access from the application."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4