Title: Can retrying a non-resumable Drive files.create after HTTP 502 create a duplicate? · Issue #2825 · googleapis/google-api-python-client · GitHub
Open Graph Title: Can retrying a non-resumable Drive files.create after HTTP 502 create a duplicate? · Issue #2825 · googleapis/google-api-python-client
X Title: Can retrying a non-resumable Drive files.create after HTTP 502 create a duplicate? · Issue #2825 · googleapis/google-api-python-client
Description: The Drive error guide recommends retrying 5xx errors. When num_retries > 0, the Python client retries responses with status ≥500, including on its non-resumable request path. For a multipart Drive files.create POST, could the file be cre...
Open Graph Description: The Drive error guide recommends retrying 5xx errors. When num_retries > 0, the Python client retries responses with status ≥500, including on its non-resumable request path. For a multipart Drive ...
X Description: The Drive error guide recommends retrying 5xx errors. When num_retries > 0, the Python client retries responses with status ≥500, including on its non-resumable request path. For a multipart Dri...
Opengraph URL: https://github.com/googleapis/google-api-python-client/issues/2825
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Can retrying a non-resumable Drive files.create after HTTP 502 create a duplicate?","articleBody":"The [Drive error guide](https://developers.google.com/workspace/drive/api/guides/handle-errors?hl=en#5xx-errors) recommends retrying 5xx errors. When num_retries > 0, the Python client [retries responses with status ≥500](https://github.com/googleapis/google-api-python-client/blob/ecb50949dce33f06624ec9a5acd8e3d1cacb1d17/googleapiclient/http.py#L92-L94), including on its [non-resumable request path](https://github.com/googleapis/google-api-python-client/blob/ecb50949dce33f06624ec9a5acd8e3d1cacb1d17/googleapiclient/http.py#L985-L1019).\n\nFor a multipart Drive files.create POST, could the file be created successfully but the client receive a 502? If so, repeating the request could create a duplicate file.\n\nIs retrying a non-resumable files.create after a 502 safe? If it isn’t, what approach do you recommend for handling this ambiguous result?","author":{"url":"https://github.com/tipa","@type":"Person","name":"tipa"},"datePublished":"2026-09-24T14:51:25Z","url":"https://github.com/googleapis/google-api-python-client/issues/2825"}
| 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:11d5edf7-2ea6-b84c-afa2-13f718a39531 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C026:D286B:12D638:1A1335:6B008221 |
| html-safe-nonce | 159e6bda905f88bd06b42eb5416910f697ae485332407acd389d1e2a69e5dd59 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDI2OkQyODZCOjEyRDYzODoxQTEzMzU6NkIwMDgyMjEiLCJ2aXNpdG9yX2lkIjoiMTY2OTcxNzAxOTcwNjAzMjY3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 03695cee58d59159c0aa1566436321662a559d96a6d90ac861844d8333b839d1 |
| hovercard-subject-tag | issue:5570180292 |
| 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/2825/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e8a1eb56610a4cec2ceb2a9b249f776b13248abf45d719a8f92bcfab243bd147/googleapis/google-api-python-client/issues/2825 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e8a1eb56610a4cec2ceb2a9b249f776b13248abf45d719a8f92bcfab243bd147/googleapis/google-api-python-client/issues/2825 |
| og:image:alt | The Drive error guide recommends retrying 5xx errors. When num_retries > 0, the Python client retries responses with status ≥500, including on its non-resumable request path. For a multipart Drive ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tipa |
| hostname | github.com |
| expected-hostname | github.com |
| None | 82c186f13e104004ab7bdb779f3195e59dd38bfde531aaa74b76470fc2462b83 |
| 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 | d1bc2aa1939001689f5ce935982c10a6138f745c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width