Skip to content
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

"channel_id" instead of "channel" in "files_upload_v2" code example #1608

Closed
wefi-nick opened this issue Dec 3, 2024 · 1 comment
Closed
Labels
bug M-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented docs M-T: Documentation work only Version: 3x web-client
Milestone

Comments

@wefi-nick
Copy link

Mistake in the "files_upload_v2" method description. Using "channel_id" in the "files_upload_v2" code example calls error:
TypeError: slack_sdk.web.client.WebClient.files_completeUploadExternal() got multiple values for keyword argument 'channel_id'
I replaced "channel_id" with "channel" in my code and it works.

The page URLs

Requirements

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

Screenshot 2024-12-03 130914

@seratch seratch added bug M-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented docs M-T: Documentation work only web-client Version: 3x and removed untriaged labels Dec 5, 2024
@seratch seratch added this to the 3.33.5 milestone Dec 5, 2024
@seratch seratch closed this as completed in 032fabb Dec 5, 2024
@seratch
Copy link
Member

seratch commented Dec 5, 2024

@wefi-nick Thank you so much for pointing this out! I've resolved the document errors with the latest commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug M-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented docs M-T: Documentation work only Version: 3x web-client
Projects
None yet
Development

No branches or pull requests

2 participants