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

🐛 BUG: wrangler kv:key put value is requited and doesn't accept empty string #1676

Closed
Vladi-ed opened this issue Aug 14, 2022 · 1 comment
Labels
bug Something that isn't working

Comments

@Vladi-ed
Copy link

Vladi-ed commented Aug 14, 2022

What version of Wrangler are you using?

2.0.25

What operating system are you using?

Windows

Describe the Bug

If you run any of these commands:
wrangler kv:key put --namespace-id=my-id "11@22.com"
wrangler kv:key put --namespace-id=my-id "11@22.com" ""

you will see an error:

X [ERROR] Exactly one of the arguments value and path is required

But value parameter is optional, so the error doesn't make sense.

@Vladi-ed Vladi-ed added the bug Something that isn't working label Aug 14, 2022
@Vladi-ed Vladi-ed changed the title 🐛 BUG: wrangler kv:key put 🐛 BUG: wrangler kv:key put value is requited and doesn't accept empty string Aug 14, 2022
@JacobMGEvans
Copy link
Contributor

Reference fix in PR: #1667

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working
Projects
None yet
Development

No branches or pull requests

2 participants