googleapis / googleapis/google-api-python-client

HTTP 400 / preconditionFailed should be retried

Abierto
#2,723 1 comentario 0 reacciones 2 asignados Reclamado por @ohmayr Ver en GitHub
priority: p3 type: bug
Lenguaje dominante
Python
Estrellas
8.9k
Forks
2.6k
Merge medio
2 d 28 min
PR fusionados (30 d)
17

Descripción

#### 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 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.

#### Code example

N/A

#### Stack trace

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.