| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:48afb807-5807-3797-602d-6b27e757b1a9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AE00:3E4205:6345ED:86EBAD:6B00D694 |
| html-safe-nonce | 768a011598144f6ad09ec10c130f4c1d3110f0caff54f4e9c3dd1ae0cd8df5d2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTAwOjNFNDIwNTo2MzQ1RUQ6ODZFQkFEOjZCMDBENjk0IiwidmlzaXRvcl9pZCI6IjEwOTA2MzQ0MzQ2ODE1NTg2NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ae22fd3d92c7a81a614a54e701d2f3c68db8f507935cc14b205bdc0e35aa244a |
| hovercard-subject-tag | pull_request:3339196191 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/googleapis/google-api-python-client/2724/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/913abdf0cacc00ad0d436944470966e72ca0ac094021aa3b9932531d12de59a7/googleapis/google-api-python-client/pull/2724 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/913abdf0cacc00ad0d436944470966e72ca0ac094021aa3b9932531d12de59a7/googleapis/google-api-python-client/pull/2724 |
| og:image:alt | This PR extracts out the function to decode the error codes. For HTTP 403, certain error codes are already retried. This adds a path for HTTP 400 where failedPrecondition is also retried.
Make ... |
| 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 | a481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b |
| turbo-cache-control | no-cache |
| 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 | 84c8c5cc25e2fb7f2308428458538436baecc6d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/googleapis/google-api-python-client/pull/2724#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-api-python-client%2Fpull%2F2724 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-api-python-client%2Fpull%2F2724 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=googleapis%2Fgoogle-api-python-client |
| Reload | https://github.com/googleapis/google-api-python-client/pull/2724 |
| Reload | https://github.com/googleapis/google-api-python-client/pull/2724 |
| Reload | https://github.com/googleapis/google-api-python-client/pull/2724 |
| googleapis | https://github.com/googleapis |
| google-api-python-client | https://github.com/googleapis/google-api-python-client |
| Code | https://github.com/googleapis/google-api-python-client |
| Issues18 (18) | https://github.com/googleapis/google-api-python-client/issues |
| Pull requests39 (39) | https://github.com/googleapis/google-api-python-client/pulls |
| Discussions | https://github.com/googleapis/google-api-python-client/discussions |
| Actions | https://github.com/googleapis/google-api-python-client/actions |
| Projects | https://github.com/googleapis/google-api-python-client/projects |
| Security and quality | https://github.com/googleapis/google-api-python-client/security |
| Insights | https://github.com/googleapis/google-api-python-client/insights |
| https://github.com/googleapis/google-api-python-client |
| ttung | https://github.com/ttung |
| googleapis:main | https://github.com/googleapis/google-api-python-client/tree/main |
| ttung:main | https://github.com/ttung/google-api-python-client/tree/main |
| Conversation | https://github.com/googleapis/google-api-python-client/pull/2724 |
| Commits1 (1) | https://github.com/googleapis/google-api-python-client/pull/2724/commits |
| Checks | https://github.com/googleapis/google-api-python-client/pull/2724/checks |
| Files changed | https://github.com/googleapis/google-api-python-client/pull/2724/files |
| Retry on HTTP 400 / "failedPrecondition" | https://github.com/googleapis/google-api-python-client/pull/2724#top |
| ttung | https://github.com/ttung |
| googleapis:main | https://github.com/googleapis/google-api-python-client/tree/main |
| ttung:main | https://github.com/ttung/google-api-python-client/tree/main |
|
| https://github.com/ttung |
| ttung | https://github.com/ttung |
| Feb 28, 2026 | https://github.com/googleapis/google-api-python-client/pull/2724#issue-4005167387 |
| bug/issue | https://github.com/googleapis/google-api-python-client/issues/new/choose |
| #2723 | https://github.com/googleapis/google-api-python-client/issues/2723 |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/2724 |
| https://github.com/ttung |
| ttung | https://github.com/ttung |
| code owner | https://github.com/googleapis/google-api-python-client/blob/c62a278909310da2c0c35d338c23c0c87c16c811/.github/CODEOWNERS#L8 |
| February 28, 2026 18:56 | https://github.com/googleapis/google-api-python-client/pull/2724#event-23159062966 |
| https://github.com/apps/product-auto-label |
| product-auto-label | https://github.com/apps/product-auto-label |
|
size: m
| https://github.com/googleapis/google-api-python-client/issues?q=state%3Aopen%20label%3A%22size%3A%20m%22 |
| Feb 28, 2026 | https://github.com/googleapis/google-api-python-client/pull/2724#event-23159063449 |
| https://github.com/apps/blunderbuss-gcf |
| blunderbuss-gcf | https://github.com/apps/blunderbuss-gcf |
| iam-ethan-huang | https://github.com/iam-ethan-huang |
| Feb 28, 2026 | https://github.com/googleapis/google-api-python-client/pull/2724#event-23159063585 |
| https://github.com/apps/google-cla |
| google-cla | https://github.com/apps/google-cla |
| Feb 28, 2026 | https://github.com/googleapis/google-api-python-client/pull/2724#issuecomment-3977578162 |
| failed invocation | https://github.com/googleapis/google-api-python-client/pull/2724/checks?check_run_id=65260237622 |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/2724 |
| https://github.com/apps/gemini-code-assist |
| gemini-code-assist | https://github.com/apps/gemini-code-assist |
| Feb 28, 2026 | https://github.com/googleapis/google-api-python-client/pull/2724#issuecomment-3977578199 |
| 1 | https://github.com/googleapis/google-api-python-client/pull/2724#user-content-fn-1-0395e0e5a9e8ce04a5edbe6a2738119a |
| HTTP 400 / preconditionFailed should be retried #2723 | https://github.com/googleapis/google-api-python-client/issues/2723 |
| documentation page | https://developers.google.com/gemini-code-assist/docs/review-github-code |
| @gemini-code-assist | https://github.com/gemini-code-assist |
| here | https://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github |
| @gemini-code-assist | https://github.com/gemini-code-assist |
| here | https://google.qualtrics.com/jfe/form/SV_2cyuGuTWsEw84yG |
| Gemini Code Assist IDE Extension | https://cloud.google.com/products/gemini/code-assist |
| Privacy Notices | https://policies.google.com/privacy |
| Generative AI Prohibited Use Policy | https://policies.google.com/terms/generative-ai/use-policy |
| Terms of Service | https://policies.google.com/terms |
| here | https://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github |
| use code with caution | https://support.google.com/legal/answer/13505487 |
| ↩ | https://github.com/googleapis/google-api-python-client/pull/2724#user-content-fnref-1-0395e0e5a9e8ce04a5edbe6a2738119a |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/2724 |
| https://github.com/ttung |
| ttung | https://github.com/ttung |
| force-pushed | https://github.com/googleapis/google-api-python-client/compare/6d2bd17958eb35c371065b96a8de53311c67148d..cb5b5c21a3f820cefd51ca0aaeb56d01ef0c1d46 |
| 6d2bd17 | https://github.com/googleapis/google-api-python-client/commit/6d2bd17958eb35c371065b96a8de53311c67148d |
| cb5b5c2 | https://github.com/googleapis/google-api-python-client/commit/cb5b5c21a3f820cefd51ca0aaeb56d01ef0c1d46 |
|
Compare
| https://github.com/googleapis/google-api-python-client/compare/6d2bd17958eb35c371065b96a8de53311c67148d..cb5b5c21a3f820cefd51ca0aaeb56d01ef0c1d46 |
| February 28, 2026 19:00 | https://github.com/googleapis/google-api-python-client/pull/2724#event-23159104585 |
| https://github.com/apps/gemini-code-assist |
| gemini-code-assist | https://github.com/apps/gemini-code-assist |
|
Feb 28, 2026
| https://github.com/googleapis/google-api-python-client/pull/2724#pullrequestreview-3870690787 |
|
View reviewed changes
| https://github.com/googleapis/google-api-python-client/pull/2724/files |
| gemini-code-assist | https://github.com/apps/gemini-code-assist |
| https://github.com/googleapis/google-api-python-client/pull/2724#pullrequestreview-3870690787 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/2724 |
| googleapiclient/http.py | https://github.com/googleapis/google-api-python-client/pull/2724/files#diff-e492230da11e54b269c88852dc3b74a37cae746493f8d7ad91bc273ecf6b10fd |
| gemini-code-assist | https://github.com/apps/gemini-code-assist |
| Feb 28, 2026 | https://github.com/googleapis/google-api-python-client/pull/2724#discussion_r2867773404 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://camo.githubusercontent.com/f9141739e81c5065c5f99ee945037104c1ba6def9f166570e17368344f990bdd/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f686967682d7072696f726974792e737667 |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/2724 |
| googleapiclient/http.py | https://github.com/googleapis/google-api-python-client/pull/2724/files#diff-e492230da11e54b269c88852dc3b74a37cae746493f8d7ad91bc273ecf6b10fd |
| gemini-code-assist | https://github.com/apps/gemini-code-assist |
| Feb 28, 2026 | https://github.com/googleapis/google-api-python-client/pull/2724#discussion_r2867773411 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://camo.githubusercontent.com/c826f6f67ca46d2109305d34efd7127cf0aa6bea35c5ea103c11fd93d9dd2125/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f73656375726974792d6d656469756d2d7072696f726974792e737667 |
| https://camo.githubusercontent.com/508ba0af8fcc5b69c2f7fd05896fc39957428ba34e1b99c6508db43cf217da8d/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f6d656469756d2d7072696f726974792e737667 |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/2724 |
| googleapiclient/http.py | https://github.com/googleapis/google-api-python-client/pull/2724/files#diff-e492230da11e54b269c88852dc3b74a37cae746493f8d7ad91bc273ecf6b10fd |
| gemini-code-assist | https://github.com/apps/gemini-code-assist |
| Feb 28, 2026 | https://github.com/googleapis/google-api-python-client/pull/2724#discussion_r2867773412 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://camo.githubusercontent.com/c826f6f67ca46d2109305d34efd7127cf0aa6bea35c5ea103c11fd93d9dd2125/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f73656375726974792d6d656469756d2d7072696f726974792e737667 |
| https://camo.githubusercontent.com/508ba0af8fcc5b69c2f7fd05896fc39957428ba34e1b99c6508db43cf217da8d/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f6d656469756d2d7072696f726974792e737667 |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/2724 |
| googleapiclient/http.py | https://github.com/googleapis/google-api-python-client/pull/2724/files#diff-e492230da11e54b269c88852dc3b74a37cae746493f8d7ad91bc273ecf6b10fd |
| gemini-code-assist | https://github.com/apps/gemini-code-assist |
| Feb 28, 2026 | https://github.com/googleapis/google-api-python-client/pull/2724#discussion_r2867773413 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://camo.githubusercontent.com/c826f6f67ca46d2109305d34efd7127cf0aa6bea35c5ea103c11fd93d9dd2125/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f73656375726974792d6d656469756d2d7072696f726974792e737667 |
| https://camo.githubusercontent.com/508ba0af8fcc5b69c2f7fd05896fc39957428ba34e1b99c6508db43cf217da8d/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f6d656469756d2d7072696f726974792e737667 |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/2724 |
| googleapiclient/http.py | https://github.com/googleapis/google-api-python-client/pull/2724/files#diff-e492230da11e54b269c88852dc3b74a37cae746493f8d7ad91bc273ecf6b10fd |
| gemini-code-assist | https://github.com/apps/gemini-code-assist |
| Feb 28, 2026 | https://github.com/googleapis/google-api-python-client/pull/2724#discussion_r2867773415 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://camo.githubusercontent.com/508ba0af8fcc5b69c2f7fd05896fc39957428ba34e1b99c6508db43cf217da8d/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f6d656469756d2d7072696f726974792e737667 |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/2724 |
|
| https://github.com/ttung |
| feat: Retry on HTTP 400 / "failedPrecondition" | https://github.com/googleapis/google-api-python-client/pull/2724/commits/067612bdeade1847b8274fc8c6282f134d282226 |
| 067612b | https://github.com/googleapis/google-api-python-client/pull/2724/commits/067612bdeade1847b8274fc8c6282f134d282226 |
| https://github.com/ttung |
| ttung | https://github.com/ttung |
| force-pushed | https://github.com/googleapis/google-api-python-client/compare/ca61970f1a6c20529c4d9026d9f43583b51c672d..067612bdeade1847b8274fc8c6282f134d282226 |
| ca61970 | https://github.com/googleapis/google-api-python-client/commit/ca61970f1a6c20529c4d9026d9f43583b51c672d |
| 067612b | https://github.com/googleapis/google-api-python-client/commit/067612bdeade1847b8274fc8c6282f134d282226 |
|
Compare
| https://github.com/googleapis/google-api-python-client/compare/ca61970f1a6c20529c4d9026d9f43583b51c672d..067612bdeade1847b8274fc8c6282f134d282226 |
| February 28, 2026 19:09 | https://github.com/googleapis/google-api-python-client/pull/2724#event-23159194251 |
| https://github.com/ttung |
| ttung | https://github.com/ttung |
| Feb 28, 2026 | https://github.com/googleapis/google-api-python-client/pull/2724#issuecomment-3977602709 |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/2724 |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/2724 |
| https://github.co/hiddenchars |
| https://github.com/googleapis/google-api-python-client/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-api-python-client%2Fpull%2F2724 |
|
| https://github.com/apps/gemini-code-assist |
|
gemini-code-assist[bot]
| https://github.com/apps/gemini-code-assist |
|
| https://github.com/googleapis/google-api-python-client/pull/2724/files/cb5b5c21a3f820cefd51ca0aaeb56d01ef0c1d46 |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/2724 |
|
| https://github.com/iam-ethan-huang |
|
iam-ethan-huang
| https://github.com/iam-ethan-huang |
|
size: m
| https://github.com/googleapis/google-api-python-client/issues?q=state%3Aopen%20label%3A%22size%3A%20m%22 |
|
HTTP 400 / preconditionFailed should be retried
| https://github.com/googleapis/google-api-python-client/issues/2723 |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/2724 |
|
| https://github.com/ttung |
|
| https://github.com/iam-ethan-huang |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |