slackapi / node-slack-sdk

Slack Developer Kit for Node.js
https://slack.dev/node-slack-sdk
MIT License
3.26k stars 656 forks source link

sharedPublicURL rejects with error "not_allowed" for no clear reason #1775

Closed dumitruPuggle closed 3 months ago

dumitruPuggle commented 3 months ago

Packages:

Select all that apply:

Reproducible in:

The Slack SDK version

(Paste the output of)

npm ls | grep -o "\S\+@\S\+$" | tr @ ' ' | awk -v q='"' '{print q$1q": "q"^"$2q","}' | grep slack

or refer to your package.json

Node.js runtime version

(Paste the output of node --version)

OS info

(Paste the output of sw_vers && uname -v on macOS/Linux or ver on Windows OS)

Steps to reproduce:

(Share the commands to run, source code, and project settings)

1. 2. 3.

Expected result:

(Tell what you expected to happen)

Actual result:

(Tell what actually happened with logs, screenshots)

Requirements

For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. :bow:

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

zimeg commented 3 months ago

Hey @dumitruPuggle 👋 Just curious, did you find the not_allowed error related to public sharing being disabled for your team?

dumitruPuggle commented 2 months ago

Hey @zimeg, Just a heads up—it turns out that the workspace needs to be on a paid plan, not free or trial, to use this API method.