delete-file-version fails for snapshots

Abierto
#614 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
cli, cloud

Línea de trabajo

The report is about the delete-file-version command, which currently fails with a 400 when the target file is inside a snapshot bucket. Start by finding where that command is defined and how it calls the B2 API, then check whether the underlying request can send the allow-snapshot header at all. Done means a clear way to pass that header (the report suggests an --allowSnapshot switch) and a reproduction against a snapshot bucket. Expect the fix may belong in the upstream SDK, and confirm with maintainers before starting.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Passing a file version for a snapshot to delete-file-version results in:

ERROR: Unknown error: 400 bad_request Allow snapshot header must be specified when deleting a file from a snapshot bucket

I assumed this meant there would be a --allowSnapshot switch, but there's not.

Lenguaje dominante
Python
Estrellas
638
Forks
138
Merge medio
8 h 27 min
PR fusionados (30 d)
8

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Backblaze/B2_Command_Line_Tool

Todos los issues de Backblaze/B2_Command_Line_Tool

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.