-
Notifications
You must be signed in to change notification settings - Fork 51
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
Can't request delete operation from API #542
Comments
I tried to reproduce but it seems working for me to request a DELETE operation without survey. Do you have a survey? |
Hi @EliasBoulharts ,
I tried also to pass the survey in the post body, like :
But got the same error. As further information, after the djiango stack trace the resource goes in "DELETING" state but no awx task is triggered. |
Sorry to bother again on this issue, but delete operation request via POST seems still broken on 1.8.0 I also tried calling a delete operation that doesn't need a survey, but still facing this error. You mentioned that you didn't face that issue with an operation without survey, did you send "request_comment" (which seems mandatory in swagger) in your post ? Can you share with me a simple curl that's working for you ? Please note that I'm not deleting an instance, I am requesting a delete operation. :) |
I did a manual test and I can reproduce. Unfortunaly the 1.8.1 will be comming soon... Thank you for your report. |
Thanks @EliasBoulharts ! |
Fixed |
Hi @EliasBoulharts, |
When I try to request the delete operation fon an instance I got a stack trace from django (I'm on version 1.7.6b).
That's the curl I try to execute :
curl -X POST "https://[...]/api/service_catalog/instance/[...]/operation/[...]/request/" -d '{ "fill_in_survey": { } }' -H 'Content-Type: application/json' -H "accept: application/json" -H "authorization: Bearer [...]"
And that's the django stack trace :
Please note that deleting from UI works as expected.
The text was updated successfully, but these errors were encountered: