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

mount post rest api seems to give same response No Content #12462

Closed
lanpar opened this issue Aug 30, 2021 · 2 comments
Closed

mount post rest api seems to give same response No Content #12462

lanpar opened this issue Aug 30, 2021 · 2 comments
Labels
core/api devex Developer Experience

Comments

@lanpar
Copy link

lanpar commented Aug 30, 2021

#1. I am using golang Resty to execute APIs against vault

#2. My mount post api works the first time , namely 204 No Content. Verified also on vault that it exists.
Btw Resty complains with the
*** Error: Unable to format response body - "unexpected end of JSON input" *** but that's another issue

#3. I do not change anything and submit the same request, in which I am expecting
"errors": [
"path is already in use at winter/rush21124/"
]

#4. Unfortunately I do not and get the same result , namely 204 No Content , i.e. - same as #1

#5. Seems if I rebuild my go and execute the same unit test ... then i get the expected outcome
"errors": [
"path is already in use at winter/rush21124/"
]

Is there some kind of caching of against rest clients in which the same response is returned regardless ?

@pmmukh pmmukh added devex Developer Experience core/api labels Aug 31, 2021
@pmmukh
Copy link
Contributor

pmmukh commented Aug 31, 2021

Hi @lanpar ! Thanks for submitting the issue, I've added some labels as I found appropriate. However, I think this issue could use a little bit more detail probably, could you maybe share some code snippets that you're running, so we can run the same when we try to repro this ?

@lanpar
Copy link
Author

lanpar commented Nov 26, 2021

my sincere apologies for not following up but got side-tracked and will provide further details if i come across this .... will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core/api devex Developer Experience
Projects
None yet
Development

No branches or pull requests

4 participants