-
Notifications
You must be signed in to change notification settings - Fork 242
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
Manage Incident gives error #32
Comments
I changed the client and added email as part of the header in Do request . It works for my scenario but I am not sure if it broke other test cases . req.Header.Set("From", c.email) |
@RSamal thats it. I am updating the library to allow passing additional headers. Give me a day, and this will be fixed. Thanks for reporting. |
@RSamal closing this. Let me know if the error persist |
Thank you it works . Sorry for the delay in response. I had a question, do we have any event api usecases written in golang? |
I am trying to call from golang library with the below code
`incident := Incident{
Id: "PQOWA9O",
Type: "incident_reference",
Status: "acknowledged",
}
But getting below error
pagerduty_test.go:37: Failed call API endpoint. HTTP response code: 400. Error: &{2016 You must specify a user's email address in the "From" header to perform this action []}
The text was updated successfully, but these errors were encountered: