-
Notifications
You must be signed in to change notification settings - Fork 413
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
Unknown failure uploading files to threads #1011
Comments
Can you check this please and see if it applies: Slack deprecated the API we were using for file upload so we had to change to one that worked a bit differently. |
Oh yes, my apologies I did forget to mention as part of debugging this I did find in the Jenkins's log that additional permissions were required. Unfortunately the one failing case still remains in this issue. |
Is the bot invited into the channel? Can you compare to this manifest? |
Yes, the bot is invited to the channel. As per the "Actual Results" you can see the bot (both with and without user overrides properly applying) posting successfully to the channel. As for the manifest, I am not sure how to view my own in manifest form but the permissions applied are: *chat:write Looks like I have them all (*) then two more (+). Those two more were listed in the jenkins log when I first started hitting this issue along with channels:read and groups:read so I added all four. |
see here for viewing the manifest: |
|
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Windows Controller
Windows Agent
Reproduction steps
Expected Results
The above code should create a small file and upload it three different ways:
It is expected that there is no error output
It is expected the messages/threads should appear as described
It is expected the messages would respect the jenkins slack plugin configured user name and icon
Actual Results
Actual results are three messages as expected, but missing the threaded reply.
The two messages associated with a file upload are not respecting user icon or name.
Some logs exist for both the failed file upload, and for one that did not fail.
Anything else?
This did not happen until we recently updated the Slack plugin. We update plugins about once a quarter. I believe prior to this I last updated July 18th/19th so my previous plugin version would have been from then.
Are you interested in contributing a fix?
No response
The text was updated successfully, but these errors were encountered: