I configured Slack app via manifest, replacing all needed values with my own URL, added the app to my workspace, and enabled Slack integration in ChiefOnboarding admin panel.
I doublechecked all clientIDs, secrets and such.
│ Internal Server Error: /api/slack/bot │
│ Traceback (most recent call last): │
│ File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner │
│ response = get_response(request) │
│ File "/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response │
│ response = wrapped_callback(request, *callback_args, **callback_kwargs) │
│ File "/usr/local/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view │
│ return view_func(*args, **kwargs) │
│ File "/usr/local/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view │
│ return self.dispatch(request, *args, **kwargs) │
│ File "/usr/local/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch │
│ response = self.handle_exception(exc) │
│ File "/usr/local/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception │
│ self.raise_uncaught_exception(exc) │
│ File "/usr/local/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception │
│ raise exc │
│ File "/usr/local/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch │
│ response = handler(request, *args, **kwargs) │
│ File "/app/slack_bot/views.py", line 86, in post │
│ s.send_message(text='You don\'t seem to be setup yet. Please ask your supervisor for access.') │
│ File "/app/slack_bot/slack.py", line 112, in send_message │
│ return self.client.chat_postMessage(channel=channel, blocks=blocks, as_user=True, │
│ File "/usr/local/lib/python3.9/site-packages/slack/web/client.py", line 1077, in chat_postMessage │
│ return self.api_call("chat.postMessage", json=kwargs) │
│ File "/usr/local/lib/python3.9/site-packages/slack/web/base_client.py", line 150, in api_call │
│ return self._sync_send(api_url=api_url, req_args=req_args) │
│ File "/usr/local/lib/python3.9/site-packages/slack/web/base_client.py", line 241, in _sync_send │
│ return self._urllib_api_call( │
│ File "/usr/local/lib/python3.9/site-packages/slack/web/base_client.py", line 369, in _urllib_api_call │
│ return SlackResponse( │
│ File "/usr/local/lib/python3.9/site-packages/slack/web/slack_response.py", line 194, in validate │
│ raise e.SlackApiError(message=msg, response=self) │
│ slack.errors.SlackApiError: The request to the Slack API failed. │
│ The server responded with: {'ok': False, 'error': 'not_authed'}