Page 1 of 1

[Fixed in 2.1.0] Slack Missing File Content

Posted: Sun Apr 04, 2021 8:47 am
by gallart
Hello,

We are new to Unimus and have followed Slack Notifications integration doc.

Problem is that we receive notifications on Slack but no diffs :
Capture d’écran 2021-04-04 à 10.44.52.png
Capture d’écran 2021-04-04 à 10.44.52.png (59.29 KiB) Viewed 3177 times
Get these logs :

Code: Select all

2021-04-03 14:13:06.302  INFO 9 --- [nio-8085-exec-9] n.u.s.p.impl.PrivateBackupServiceImpl    : Sending diff via Slack
2021-04-03 14:13:06.681  WARN 9 --- [nio-8085-exec-9] n.u.b.n.s.slack.SlackNotificationSender  : [sendDiffNotification] Failed to send a diff via Slack. Reason = 'invalid_auth'
2021-04-03 14:13:18.776  INFO 9 --- [nio-8085-exec-6] n.u.s.p.impl.PrivateBackupServiceImpl    : Sending backup(s) via Slack
2021-04-03 14:13:19.333  WARN 9 --- [nio-8085-exec-6] n.u.s.p.impl.PrivateBackupServiceImpl    : Unable to send backup(s). Reason = 'SlackError{type=INVALID_AUTH, error=invalid_auth}'
Our Slack App has correct write/files permissions.

Any idea?

Thanks,

Gaëtan

Re: Slack Missing File Content

Posted: Sun Apr 04, 2021 2:49 pm
by Tomas
Hi,

How do your Authorizations look in the App settings in Slack?

It should look like this:
slack-app.png
slack-app.png (31.14 KiB) Viewed 3169 times

Re: Slack Missing File Content

Posted: Wed Apr 07, 2021 6:10 am
by gallart
Capture d’écran 2021-04-07 à 08.09.46.png
Capture d’écran 2021-04-07 à 08.09.46.png (127.64 KiB) Viewed 3142 times
Yes.

Re: [Fixed in 2.1.0] Slack Missing File Content

Posted: Mon May 24, 2021 1:03 pm
by Tomas
Apologies for the late reply. We were able to replicate this and find the issue. This was not an issue with Slack Apps created in the past, but newly created Slack Apps do exhibit this issue.

We were able to track it down to API changes that Slack has done on their end for newly created Slack Apps. This will be fixed in the upcoming 2.1.0-Beta2 release.