René's URL Explorer Experiment


Title: Retry on HTTP 400 / "failedPrecondition" by ttung · Pull Request #2724 · googleapis/google-api-python-client · GitHub

Open Graph Title: Retry on HTTP 400 / "failedPrecondition" by ttung · Pull Request #2724 · googleapis/google-api-python-client

X Title: Retry on HTTP 400 / "failedPrecondition" by ttung · Pull Request #2724 · googleapis/google-api-python-client

Description: 🐍 The official Python client library for Google's discovery based APIs. - Retry on HTTP 400 / "failedPrecondition" by ttung · Pull Request #2724 · googleapis/google-api-python-client

Open Graph Description: 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 ...

X Description: 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 ...

Opengraph URL: https://github.com/googleapis/google-api-python-client/pull/2724

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:48afb807-5807-3797-602d-6b27e757b1a9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAE00:3E4205:6345ED:86EBAD:6B00D694
html-safe-nonce768a011598144f6ad09ec10c130f4c1d3110f0caff54f4e9c3dd1ae0cd8df5d2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTAwOjNFNDIwNTo2MzQ1RUQ6ODZFQkFEOjZCMDBENjk0IiwidmlzaXRvcl9pZCI6IjEwOTA2MzQ0MzQ2ODE1NTg2NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacae22fd3d92c7a81a614a54e701d2f3c68db8f507935cc14b205bdc0e35aa244a
hovercard-subject-tagpull_request:3339196191
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/googleapis/google-api-python-client/2724/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/913abdf0cacc00ad0d436944470966e72ca0ac094021aa3b9932531d12de59a7/googleapis/google-api-python-client/pull/2724
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/913abdf0cacc00ad0d436944470966e72ca0ac094021aa3b9932531d12de59a7/googleapis/google-api-python-client/pull/2724
og:image:altThis 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamettung
hostnamegithub.com
expected-hostnamegithub.com
Nonea481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b
turbo-cache-controlno-cache
go-importgithub.com/googleapis/google-api-python-client git https://github.com/googleapis/google-api-python-client.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id15749269
octolytics-dimension-repository_nwogoogleapis/google-api-python-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id15749269
octolytics-dimension-repository_network_root_nwogoogleapis/google-api-python-client
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release84c8c5cc25e2fb7f2308428458538436baecc6d2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/googleapis/google-api-python-client/pull/2724#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-api-python-client%2Fpull%2F2724
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-api-python-client%2Fpull%2F2724
Sign uphttps://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
Reloadhttps://github.com/googleapis/google-api-python-client/pull/2724
Reloadhttps://github.com/googleapis/google-api-python-client/pull/2724
Reloadhttps://github.com/googleapis/google-api-python-client/pull/2724
googleapishttps://github.com/googleapis
google-api-python-clienthttps://github.com/googleapis/google-api-python-client
Codehttps://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
Discussionshttps://github.com/googleapis/google-api-python-client/discussions
Actionshttps://github.com/googleapis/google-api-python-client/actions
Projectshttps://github.com/googleapis/google-api-python-client/projects
Security and qualityhttps://github.com/googleapis/google-api-python-client/security
Insightshttps://github.com/googleapis/google-api-python-client/insights
https://github.com/googleapis/google-api-python-client
ttunghttps://github.com/ttung
googleapis:mainhttps://github.com/googleapis/google-api-python-client/tree/main
ttung:mainhttps://github.com/ttung/google-api-python-client/tree/main
Conversationhttps://github.com/googleapis/google-api-python-client/pull/2724
Commits1 (1)https://github.com/googleapis/google-api-python-client/pull/2724/commits
Checkshttps://github.com/googleapis/google-api-python-client/pull/2724/checks
Files changedhttps://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
ttunghttps://github.com/ttung
googleapis:mainhttps://github.com/googleapis/google-api-python-client/tree/main
ttung:mainhttps://github.com/ttung/google-api-python-client/tree/main
https://github.com/ttung
ttunghttps://github.com/ttung
Feb 28, 2026https://github.com/googleapis/google-api-python-client/pull/2724#issue-4005167387
bug/issuehttps://github.com/googleapis/google-api-python-client/issues/new/choose
#2723https://github.com/googleapis/google-api-python-client/issues/2723
Please reload this pagehttps://github.com/googleapis/google-api-python-client/pull/2724
https://github.com/ttung
ttunghttps://github.com/ttung
code ownerhttps://github.com/googleapis/google-api-python-client/blob/c62a278909310da2c0c35d338c23c0c87c16c811/.github/CODEOWNERS#L8
February 28, 2026 18:56https://github.com/googleapis/google-api-python-client/pull/2724#event-23159062966
https://github.com/apps/product-auto-label
product-auto-labelhttps://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, 2026https://github.com/googleapis/google-api-python-client/pull/2724#event-23159063449
https://github.com/apps/blunderbuss-gcf
blunderbuss-gcfhttps://github.com/apps/blunderbuss-gcf
iam-ethan-huanghttps://github.com/iam-ethan-huang
Feb 28, 2026https://github.com/googleapis/google-api-python-client/pull/2724#event-23159063585
https://github.com/apps/google-cla
google-clahttps://github.com/apps/google-cla
Feb 28, 2026https://github.com/googleapis/google-api-python-client/pull/2724#issuecomment-3977578162
failed invocationhttps://github.com/googleapis/google-api-python-client/pull/2724/checks?check_run_id=65260237622
Please reload this pagehttps://github.com/googleapis/google-api-python-client/pull/2724
https://github.com/apps/gemini-code-assist
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Feb 28, 2026https://github.com/googleapis/google-api-python-client/pull/2724#issuecomment-3977578199
1https://github.com/googleapis/google-api-python-client/pull/2724#user-content-fn-1-0395e0e5a9e8ce04a5edbe6a2738119a
HTTP 400 / preconditionFailed should be retried #2723https://github.com/googleapis/google-api-python-client/issues/2723
documentation pagehttps://developers.google.com/gemini-code-assist/docs/review-github-code
@gemini-code-assisthttps://github.com/gemini-code-assist
herehttps://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github
@gemini-code-assisthttps://github.com/gemini-code-assist
herehttps://google.qualtrics.com/jfe/form/SV_2cyuGuTWsEw84yG
Gemini Code Assist IDE Extensionhttps://cloud.google.com/products/gemini/code-assist
Privacy Noticeshttps://policies.google.com/privacy
Generative AI Prohibited Use Policyhttps://policies.google.com/terms/generative-ai/use-policy
Terms of Servicehttps://policies.google.com/terms
herehttps://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github
use code with cautionhttps://support.google.com/legal/answer/13505487
↩https://github.com/googleapis/google-api-python-client/pull/2724#user-content-fnref-1-0395e0e5a9e8ce04a5edbe6a2738119a
Please reload this pagehttps://github.com/googleapis/google-api-python-client/pull/2724
https://github.com/ttung
ttunghttps://github.com/ttung
force-pushedhttps://github.com/googleapis/google-api-python-client/compare/6d2bd17958eb35c371065b96a8de53311c67148d..cb5b5c21a3f820cefd51ca0aaeb56d01ef0c1d46
6d2bd17https://github.com/googleapis/google-api-python-client/commit/6d2bd17958eb35c371065b96a8de53311c67148d
cb5b5c2https://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:00https://github.com/googleapis/google-api-python-client/pull/2724#event-23159104585
https://github.com/apps/gemini-code-assist
gemini-code-assisthttps://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-assisthttps://github.com/apps/gemini-code-assist
https://github.com/googleapis/google-api-python-client/pull/2724#pullrequestreview-3870690787
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/googleapis/google-api-python-client/pull/2724
googleapiclient/http.pyhttps://github.com/googleapis/google-api-python-client/pull/2724/files#diff-e492230da11e54b269c88852dc3b74a37cae746493f8d7ad91bc273ecf6b10fd
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Feb 28, 2026https://github.com/googleapis/google-api-python-client/pull/2724#discussion_r2867773404
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/f9141739e81c5065c5f99ee945037104c1ba6def9f166570e17368344f990bdd/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f686967682d7072696f726974792e737667
Please reload this pagehttps://github.com/googleapis/google-api-python-client/pull/2724
googleapiclient/http.pyhttps://github.com/googleapis/google-api-python-client/pull/2724/files#diff-e492230da11e54b269c88852dc3b74a37cae746493f8d7ad91bc273ecf6b10fd
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Feb 28, 2026https://github.com/googleapis/google-api-python-client/pull/2724#discussion_r2867773411
Learn morehttps://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 pagehttps://github.com/googleapis/google-api-python-client/pull/2724
googleapiclient/http.pyhttps://github.com/googleapis/google-api-python-client/pull/2724/files#diff-e492230da11e54b269c88852dc3b74a37cae746493f8d7ad91bc273ecf6b10fd
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Feb 28, 2026https://github.com/googleapis/google-api-python-client/pull/2724#discussion_r2867773412
Learn morehttps://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 pagehttps://github.com/googleapis/google-api-python-client/pull/2724
googleapiclient/http.pyhttps://github.com/googleapis/google-api-python-client/pull/2724/files#diff-e492230da11e54b269c88852dc3b74a37cae746493f8d7ad91bc273ecf6b10fd
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Feb 28, 2026https://github.com/googleapis/google-api-python-client/pull/2724#discussion_r2867773413
Learn morehttps://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 pagehttps://github.com/googleapis/google-api-python-client/pull/2724
googleapiclient/http.pyhttps://github.com/googleapis/google-api-python-client/pull/2724/files#diff-e492230da11e54b269c88852dc3b74a37cae746493f8d7ad91bc273ecf6b10fd
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Feb 28, 2026https://github.com/googleapis/google-api-python-client/pull/2724#discussion_r2867773415
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/508ba0af8fcc5b69c2f7fd05896fc39957428ba34e1b99c6508db43cf217da8d/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f6d656469756d2d7072696f726974792e737667
Please reload this pagehttps://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
067612bhttps://github.com/googleapis/google-api-python-client/pull/2724/commits/067612bdeade1847b8274fc8c6282f134d282226
https://github.com/ttung
ttunghttps://github.com/ttung
force-pushedhttps://github.com/googleapis/google-api-python-client/compare/ca61970f1a6c20529c4d9026d9f43583b51c672d..067612bdeade1847b8274fc8c6282f134d282226
ca61970https://github.com/googleapis/google-api-python-client/commit/ca61970f1a6c20529c4d9026d9f43583b51c672d
067612bhttps://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:09https://github.com/googleapis/google-api-python-client/pull/2724#event-23159194251
https://github.com/ttung
ttunghttps://github.com/ttung
Feb 28, 2026https://github.com/googleapis/google-api-python-client/pull/2724#issuecomment-3977602709
Please reload this pagehttps://github.com/googleapis/google-api-python-client/pull/2724
Please reload this pagehttps://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 freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://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 pagehttps://github.com/googleapis/google-api-python-client/pull/2724
https://github.com/ttung
https://github.com/iam-ethan-huang
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.