-
Notifications
You must be signed in to change notification settings - Fork 400
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
error_creating_file_sync
when using files.upload
#1589
Comments
The file is not big, by the way. It is just around 2KB. So I don't think it is related to this issue: slackapi/python-slack-sdk#1191 It is also a static file. |
Hey @secure12, this is unfortunately a known issue with our backend. Apologies for this. Intermittently, file uploads will fail due to security scanning on the backend. This is the same as slackapi/python-slack-sdk#1191, as you identified, but also slackapi/python-slack-sdk#1165. Do you by any chance have an exact timestamp of when the last failure you saw happened? |
Thanks for your prompt response. It happened once at Sep 13 09:45:23 UTC. It is unintuitive that this is related to security scanning though because sometimes it goes through |
We are going to add a new way to upload files soon. See also: slackapi/node-slack-sdk#1541 (comment) |
With |
Yeah, let's do so! |
Description
Uploading a post file in response to a slash command fails on random occasions.
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: 3.12.1
node version: 16.15.0
OS version(s): Ubuntu 20.04.4 LTS (GNU/Linux 5.13.0-1025-aws x86_64)
Steps to reproduce:
files.write
permission) The file type ispost
.Sample post file
file.post
:Sample script to upload the file:
Expected result:
The file to be always uploaded successfully.
Actual result:
Sometimes (maybe 10% of the time?) the
upload
function will throw an error like thiswhich is not helpful at all. Also the error code
error_creating_file_sync
is not listed on the docs describing the endpoint.This happens seemingly randomly so it's very difficult to debug.
Attachments:
The text was updated successfully, but these errors were encountered: