Hi,
I’m trying to use the pagerduty module with no luck, when I run the bellow tasks with the right credentials I get a “failed to create the window: HTTP Error 400: Bad Request” :
TASK:
“”"
- name: Create a 1 hour maintenance window in PagerDuty
pagerduty: name=mydomain user=user@mydomain.com passwd=mypassword state=running service=MYSERVICE
“”"
RESULT:
“”"
failed: [localhost] => {“failed”: true}
msg: failed to create the window: HTTP Error 400: Bad Request
FATAL: all hosts have already failed – aborting
“”"
According to the pagerduty official documentation (http://developer.pagerduty.com/documentation/rest/errors) , there is an issue with the arguments :
400 |
Bad Request |
Caller provided invalid arguments. Please review the response for error details. Retrying with the same arguments will not work. |