slackapi / python-slack-events-api

Slack Events API adapter for Python (Flask required)
https://api.slack.com/events
MIT License
343 stars 116 forks source link

slackeventsapi.server.SlackEventAdapterException: Invalid request signature #35

Closed vigneshp826 closed 6 years ago

vigneshp826 commented 6 years ago

Description

My App was working well using events API so far, but today i got this error " slackeventsapi.server.SlackEventAdapterException: Invalid request signature". I know that somewhere i messed up something but not able figure out . what could be the reason for this issue?

What type of issue is this? (place an x in one of the [ ])

Requirements

Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

Reproducible in:

slackeventsapi version: python version: OS version(s):

Steps to reproduce:

1. 2. 3.

Expected result:

What you expected to happen

Actual result:

What actually happened

Attachments:

Logs, screenshots, screencast, sample project, funny gif, etc.

shaydewael commented 6 years ago

Hey there 👋- the latest release contained an update that forces you to use request signing for verification. As a developer, this means that you need to pass in your signing secret rather than the verification token you're likely passing in now. You can find your app's signing secret right above the verification token on the app configuration page in the "Basic Info" tab:

image

If you still have issues after updating your token, let me know 😄

P.S. if you're interested, you can read more about request signing on our API site.

vigneshp826 commented 6 years ago

@shanedewael Thank you very much for your quick reply. I will test it out and update you shortly.

vigneshp826 commented 6 years ago

Thanks @shanedewael . Its working perfect now. Appreciate your help :)

Roach commented 6 years ago

Glad to hear it! 🎉