Skip to content

[Bug]: Deprecated Slack file upload method #2236

@Eddydpyl

Description

@Eddydpyl

SDK Language

Python SDK (composio package)

SDK Version

composio==0.9.4

Runtime Environment

Python 3.11

Environment

Production Deployment

Steps to Reproduce

Call slack_upload_or_create_a_file_in_slack like so (removed values for privacy):

{
  "title": "",
  "channels": "",
  "initial_comment": "",
  "content": "",
  "filename": ""
}

Returns the following:

{
  "error": "method_deprecated",
  "ok": false,
  "response_metadata": {
    "warnings": [
      "missing_charset"
    ]
  },
  "warning": "missing_charset"
}

Possible culprit: https://docs.slack.dev/reference/methods/files.upload/

Reproducibility

  • Always reproducible
  • Intermittent / Sometimes
  • Happened once, can’t reproduce

Additional Context or Screenshots

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions