Repository navigation
files_upload_v2 returns internal_error when using markdown in blocks #1756
Description
Activity
- changed the title
[-](Set a clear title describing the issue)[/-][+]files_upload_v2 returns internal_error when using markdown in blockss[/+]on Oct 1, 2025 - changed the title
[-]files_upload_v2 returns internal_error when using markdown in blockss[/-][+]files_upload_v2 returns internal_error when using markdown in blocks[/+]on Oct 1, 2025 any update?
- addedbugM-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documentedM-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documentedand removed
on Oct 21, 2025 Hey @haimrait! 👋 Thanks for reporting this and a kind bump 👾 ✨
I can confirm that the
files.completeUploadExternalmethod errors when using themarkdownblock which seems off to me.We're investigating this on the backend side of things now, but I might recommend using different blocks in the meantime.
Also, we need to support this argument from the SDK itself I believe - following slackapi/node-slack-sdk#2261. This might be unrelated, but let's track it here for now 🎁
Reacted by Haim Raitsevgithub-actions commented
on Nov 24, 2025 on Nov 24, 2025 – with GitHub Actions · Hidden as outdatedshow commentMore actionsHi, any updates? Thanks!
Reacted by Eden Zimbelman and Kenneth Perkins👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.
Just reporting that this is still an issue
It would be amazing if this issue could be fixed. It still exists, and it's affecting my team.
Reacted by Eden Zimbelman, Haim Raitsev, Luxalpa, Kenneth Perkins and Greg GranitoWe're investigating this on the backend side of things now, but I might recommend using different blocks in the meantime.
Which blocks?
- added a commit that references this issue
on Sep 7, 2026
files_upload_v2returnsinternal_errorwhen usingmarkdowninblocksparameterReproducible in:
The Slack SDK version
Python runtime version
OS info
Steps to reproduce:
1. Code Example
2. Response
{ "ok": False, "error": "internal_error" }Expected result:
The file should be uploaded successfully with the rich text blocks displayed in the message, as the underlying
files.completeUploadExternal:Actual result:
The API returns
{"ok": false, "error": "internal_error"}without any additional error details.Additional Context:
This issue is reproduced only when we have a new markdown block (https://docs.slack.dev/reference/block-kit/blocks/markdown-block/) when we use other blocks the message posted correctly.
files.completeUploadExternalAPI CallHTTP Request
Request Details
Method:
POSTURL:
https://slack.com/api/files.completeUploadExternalHeaders:
Body (URL-encoded):
Body Parameters Breakdown
files[{"id":"F09J0L8TDRQ","title":"screenshot.png"}]channel_idD099T7G7VHDblocks[{"type":"markdown","text":"_**Haim Raitsev** posted a new message_\\n> test"}]Example using cURL
Error Response (Current Issue)
{ "ok": false, "error": "internal_error" }Thank you for maintaining this excellent SDK!