A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cloud.google.com/appengine/docs/legacy/standard/python/googlecloudstorageclient/errors below:

Cloud Storage Errors and Error Handling | App Engine standard environment for Python 2

Cloud Storage Errors and Error Handling

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.

Errors

The App Engine client library for Cloud Storage has the following error exception classes defined:

cloudstorage.Error

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.

An unauthorized request was received by Google Cloud Storage. This error can occur if an authorized app is using an access token that has expired. Normally, this error is handled automatically in the App Engine client library for Cloud Storage, which gets a new access token and retries the request.
cloudstorage.ForbiddenError

This error (403) indicates that the user was not authorized by Google Cloud Storage to make the request.

cloudstorage.NotFoundError
HTTP error 404. The bucket or object you specified in a call to cloudstorage.delete(), cloudstorage.listbucket(), cloudstorage.open(), or cloudstorage.stat() does not exist.
cloudstorage.TimeoutError
This error is raised when the attempt to contact Google Cloud Storage servers times out even after retry attempts. (See RetryParams for information on changing the default timeout handling and retries.

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