Slack Issues

Invalid Slack signature

Verify SLACK_SIGNING_SECRET, the configured request URLs, and that a proxy preserves the raw body and signature headers. Do not set SLACK_ALLOW_UNSIGNED_REQUESTS=true outside isolated development.

Buttons or modal do not work

Configure Slack Interactivity to POST to /slack/interactions in HTTP mode. Socket Mode must deliver interactive envelopes. Ensure the bot token can open views. Use approve/cancel fallback commands; edit requires the preview button because Slack supplies the modal trigger there.

Socket Mode does not start

Set a valid app-level SLACK_APP_TOKEN and bot token, enable Socket Mode in Slack, and start python -m app.slack_socket_app. The process validates runtime secrets before connecting.

Thread cannot be fetched

Check the URL is a Slack archive thread link, the bot belongs to the channel, and the user can access all linked threads. More than MAX_THREAD_LINKS is rejected.