Slack connector OAuth fails with invalid_team_for_non_distributed_app

Open
#212 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet

Research direction

No source file or test is named. Start by reproducing the dashboard's Slack as Bot authorization flow and read the linked Slack OAuth error documentation, then inspect the connector documentation for the intended flow. Done means authorization reaches the consent screen and the bot appears under Your connections.

Written by the indexing model from the issue text.

Description

Summary

Authorizing a Slack as Bot connector from the Sprites dashboard for the dashaai.slack.com workspace fails before authorization completes.

Steps to reproduce

  1. Open a Sprites organization in the dashboard.
  2. Go to Connectors.
  3. Add a Slack as Bot connection.
  4. Select and authorize the Slack workspace.

Actual result

Slack displays:

Something went wrong when authorizing this app.

invalid_team_for_non_distributed_app

Retrying does not resolve the failure.

Expected result

Slack should display the consent screen, complete authorization, and add the bot connector under Your connections.

Likely failure boundary

Slack documents this error as occurring when an undistributed Slack API app is authorized on a workspace other than the workspace where the app was created. Because the Sprites dashboard supplies the OAuth application for this connector flow, the OAuth client may be undistributed or the flow may be using the wrong client ID.

The target workspace cannot change distribution settings for a Slack app owned by Sprites.

References

Observed on July 13, 2026.

Dominant language
TypeScript
Stars
51
Forks
4
Avg merge
23h 57m
Merged PRs (30d)
12

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from superfly/sprites-docs

All issues in superfly/sprites-docs

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.