[Fixed in 2.1.0] Slack Missing File Content

Unimus support forum
Post Reply
gallart
Posts: 2
Joined: Sun Apr 04, 2021 8:43 am

Sun Apr 04, 2021 8:47 am

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 3131 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
User avatar
Tomas
Posts: 1206
Joined: Sat Jun 25, 2016 12:33 pm

Sun Apr 04, 2021 2:49 pm

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 3123 times
gallart
Posts: 2
Joined: Sun Apr 04, 2021 8:43 am

Wed Apr 07, 2021 6:10 am

Capture d’écran 2021-04-07 à 08.09.46.png
Capture d’écran 2021-04-07 à 08.09.46.png (127.64 KiB) Viewed 3096 times
Yes.
User avatar
Tomas
Posts: 1206
Joined: Sat Jun 25, 2016 12:33 pm

Mon May 24, 2021 1:03 pm

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.
Post Reply