Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete-file-version fails for snapshots #614

Open
rnkn opened this issue Apr 25, 2020 · 1 comment
Open

delete-file-version fails for snapshots #614

rnkn opened this issue Apr 25, 2020 · 1 comment

Comments

@rnkn
Copy link

rnkn commented Apr 25, 2020

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.

@certainmagic
Copy link
Contributor

Hi --

You can't delete files from the snapshot bucket with the API. You have to use our web ui. We will be improving the error message.

Thanks for pointing it out.

thanks,
ab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants