-
Notifications
You must be signed in to change notification settings - Fork 377
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
kv2 create_or_update_secret response.json() fails #385
Comments
So you're seeing exceptions thrown upon a 204 response during updates in particular? I've run into the same issue on occasion and I want to say it only manifests with certain versions of Vault... In any case, I'll be sure to take a look and add any appropriate regression test cases before we cut the next hvac release. 👍 |
I'm using basic docker vault btw
|
I have the same issue with vault ( The code below executes and value is set. Reading returns correct value.
Output from
|
I think the issue with deserializing JSON upon 204 HTTP codes should be solved by #537 |
https://github.com/hvac/hvac/blob/develop/hvac/api/secrets_engines/kv_v2.py#L124
Blows up because the server returns and empty body and 204s me. It would be nice if a response wasn't required on update.
The text was updated successfully, but these errors were encountered: