Skip to content
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

as_user is no longer supported #21

Open
2 tasks done
gsilvapt opened this issue Oct 20, 2023 · 0 comments
Open
2 tasks done

as_user is no longer supported #21

gsilvapt opened this issue Oct 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@gsilvapt
Copy link
Contributor

Confirmation

  • My issue isn't already found on the issue tracker.
  • I have replicated my issue using the latest version and it is still present.

Related software versions.

<=0.0.6

Affected version(s)

All

Link to debug output

No response

Panic output

SlackApiError
The request to the Slack API failed. (url: https://www.slack.com/api/chat.postMessage)
The server responded with: {'ok': False, 'error': 'invalid_arguments', 'deprecated_argument': 'as_user'}

Expected output

When sending notifications, it should be possible to change the user but since Slack deprecated bots in favour of Apps, it's not clear that can work anymore.

Actual output

Notification is not sent due to the error shown in output error field.

Steps to reproduce

  1. Create an event and configure a custom user for slack messages.
    image

  2. Run the job that sends notification.

  3. Will fail with an error like the above.

Additional factoids

No response

References

No response

@gsilvapt gsilvapt added the bug Something isn't working label Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant