## What this teaches
How to files_upload_v2 channel_not_found error, when chat_postMessage succeeds.
## The problem
Issue slackapi/python-slack-sdk#1359 (closed, 13 comments): ### Reproducible in: ```bash Python 3.10.8 ProductName: macOS ProductVersion: 13.3.1 BuildVersion: 22E261 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 ``` #### The Slack SDK version ``` slack-sdk==3.19.4 ``` #### Steps to reproduce: ```python response = slack_client.files_upload_v2( filename="test.png", file = "[HOME]/...", # file=file.read(), channel=channel, # title=title, # initial_comment=initial_comment, ) ``` bot has been given both `files:write` and `files:read` permissions. ### Expected result: Upload a `test.
## What worked (verified answer)
[seratch (contributor)]: files_upload_v2 failures on slack-sdk 3.19.4 were caused by server-side changes; upgrade to 3.20.1 or newer. The reporter confirmed the upgrade fixes it.
## Source
gh:slackapi/python-slack-sdk#1359 - https://github.com/slackapi/python-slack-sdk/issues/1359