Title: HTTP 400 / preconditionFailed should be retried · Issue #2723 · googleapis/google-api-python-client · GitHub
Open Graph Title: HTTP 400 / preconditionFailed should be retried · Issue #2723 · googleapis/google-api-python-client
X Title: HTTP 400 / preconditionFailed should be retried · Issue #2723 · googleapis/google-api-python-client
Description: Environment details OS type and version: MacOS 26 Python version: Python 3.12.11 pip version: uv google-api-python-client version: n/a Steps to reproduce Intermittent HTTP 400 / preconditionFailed on Gmail API. A casual web search sugges...
Open Graph Description: Environment details OS type and version: MacOS 26 Python version: Python 3.12.11 pip version: uv google-api-python-client version: n/a Steps to reproduce Intermittent HTTP 400 / preconditionFailed ...
X Description: Environment details OS type and version: MacOS 26 Python version: Python 3.12.11 pip version: uv google-api-python-client version: n/a Steps to reproduce Intermittent HTTP 400 / preconditionFailed ...
Opengraph URL: https://github.com/googleapis/google-api-python-client/issues/2723
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"HTTP 400 / preconditionFailed should be retried","articleBody":"#### Environment details\n\n - OS type and version: MacOS 26\n - Python version: Python 3.12.11\n - pip version: uv\n - `google-api-python-client` version: n/a\n\n#### Steps to reproduce\n\nIntermittent HTTP 400 / preconditionFailed on Gmail API. A casual web search suggests that other Google APIs also issue preconditionFailed. At least in my use case, retrying with exponential backoff always works. I cannot assert that in all use cases that this is the correct behavior.\n\n#### Code example\n\nN/A\n\n#### Stack trace\n","author":{"url":"https://github.com/ttung","@type":"Person","name":"ttung"},"datePublished":"2026-02-28T18:53:18Z","url":"https://github.com/googleapis/google-api-python-client/issues/2723"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:71664cb4-2551-791a-5730-b2794cf32653 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C720:CC1A4:38BDCB:49F8FF:6B00D25F |
| html-safe-nonce | 62d8a4760d0ae588b332fb1df5b1f2be6534b8dbecb184f2b7811008735a539a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzIwOkNDMUE0OjM4QkRDQjo0OUY4RkY6NkIwMEQyNUYiLCJ2aXNpdG9yX2lkIjoiODg5MTM5NTk3MzE4NDU0MTI3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b3601ca706c4e0d71e1122b77011c13aa377df9b01cb85d34864ec99a70b2fc7 |
| hovercard-subject-tag | issue:4005163506 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-api-python-client/2723/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fad026b1364d6f76ae8a2c2e3fb6301df9794988da921467788c9649e7cf5008/googleapis/google-api-python-client/issues/2723 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fad026b1364d6f76ae8a2c2e3fb6301df9794988da921467788c9649e7cf5008/googleapis/google-api-python-client/issues/2723 |
| og:image:alt | Environment details OS type and version: MacOS 26 Python version: Python 3.12.11 pip version: uv google-api-python-client version: n/a Steps to reproduce Intermittent HTTP 400 / preconditionFailed ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ttung |
| hostname | github.com |
| expected-hostname | github.com |
| None | 85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-api-python-client git https://github.com/googleapis/google-api-python-client.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 15749269 |
| octolytics-dimension-repository_nwo | googleapis/google-api-python-client |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 15749269 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-api-python-client |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4943239a6d2c591325dad6e5c313e1cafda877f6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width