Skip to content

Slack workspace not found error when using pagerduty_slack_connection #1040

@jvanenckevort

Description

@jvanenckevort

We face an issue when creating a pagerduty_slack_connection. It appears that the provider cannot connect to the workspace. We followed the steps in the documentation to authorize the workspace as Pagerduty integration in the GUI. Then we fetched the Slack workspace ID (starting with a T) using this guide.

│ Error: POST API call to https://app.pagerduty.com/integration-slack/workspaces/TXXXXXXX/connections failed 404 Not Found. Code: 0, Errors: <nil>, Message: The PagerDuty has not been connected to this workspace. Please complete the installation and try again.
│ 
│   with pagerduty_slack_connection.teams["my-team"],
│   on main.tf line 13, in resource "pagerduty_slack_connection" "teams":
│   13: resource "pagerduty_slack_connection" "teams" {
│ 

Anyone has a clue on why it cannot find the workspace? Or might this be a bug in the provider?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions