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

Cross-site request detected! (500_service_error) #3

Open
honsa opened this issue Mar 28, 2019 · 2 comments
Open

Cross-site request detected! (500_service_error) #3

honsa opened this issue Mar 28, 2019 · 2 comments

Comments

@honsa
Copy link

honsa commented Mar 28, 2019

Hello

Thank you for this nice little plugin.

I tried to install it but if I request the heroku endpoint I receive the message
Cross-site request detected!`

If I use the slack slash command I receive
500_service_error

Any chance for an update :)

@shaykalyan
Copy link
Owner

shaykalyan commented Apr 1, 2019

Hey @honsa, thanks for your interest!

I haven't been maintaining this project for a few years now and am unsure if the steps outlined are still compatible with Slack's current design for slash commands. If you find any of the steps out dated then please feel free to contribute an update.

As for the error you're seeing, per the code, a 500 error is returned if the environment variable for the Slack command token was not set in your Heroku instance. Can you please confirm that you have set it and it matches the token value in Slack?

@honsa
Copy link
Author

honsa commented May 30, 2019

Thank you @shaykalyan for your reply

I tried but it seems the API Token is not usable anymore.

https://api.slack.com/docs/token-types#legacy_tokens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants