Skip to content

files.upload API return {'ok': False, 'error': 'error_creating_file_sync'} #1191

@nkj2001

Description

@nkj2001

filepath = "test.file" # about 300Mb
r = client.files_upload(file=open(filepath, "rb"), channels="MYCHANNELID")
print(r.data)

error:
slack_sdk.errors.SlackApiError: The request to the Slack API failed. (url: https://www.slack.com/api/files.upload)
The server responded with: {'ok': False, 'error': 'error_creating_file_sync'}

what means "error_creating_file_sync" ?????

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions