-
Notifications
You must be signed in to change notification settings - Fork 243
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
Trouble creating an integration #102
Comments
The doc isn't really clear on what I need to create an integration: https://godoc.org/github.com/PagerDuty/go-pagerduty#Client.CreateIntegration For example, |
Clearer output:
|
So apparently to create it, the key is |
Hello,
I'm trying to create an Events API V1 integration programatically.
My code looks like this:
I get the following error:
FATA[0007] Failed call API endpoint. HTTP response code: 400. Error: &{2001 Invalid Input Provided [Type cannot be empty.]}
If I create the integration by hand in the UI, this code succeeds:
I'm trying to use the same
integration.Type
:generic_events_api_inbound_integration_reference
, but it doesn't seem to work.The text was updated successfully, but these errors were encountered: