Skip to content

API: can't create a webhook ('error_type': 'unavailable_feature') #10190

@oTree-org

Description

@oTree-org

Important Details

How are you running Sentry?

  • [x ] On-Premise docker [Version 9.0.0]

Description

I want to use the API to automate adding a webhook to all my projects. it works fine when I do it manually here:

image

But when I do it through the API using POST /api/0/projects/{organization_slug}/{project_slug}/hooks/ as described here, the hook does not appear, and the API call has this response:

{'detail': ['You do not have that feature enabled'],
 'error_type': 'unavailable_feature'}

Other API calls work fine, such as creating a new team or project.

Even the example in the docs shows an error response:

image

This example for using GET shows the same error I have (though I get it with POST):

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions