ramin

Joined

20 Experience
0 Lessons Completed
0 Questions Solved

Activity

Thank you Zack. I resolved it by watching Episode 229.

I followed the tutorial and get the following error when I am authenticating the Slack response.

Processing by Slack::CommandsController#create as HTML
Parameters: {"token"=>"HH1aNamaPjxndTgUTZM", "team_id"=>"TD548K4", "team_domain"=>"gorailstest", "channel_id"=>"CDTGR2T", "channel_name"=>"general", "user_id"=>"UD54QA", "user_name"=>"rsehd", "command"=>"/kr3ve", "text"=>"hello", "response_url"=>"https://hooks.slack.com/commands/TD548K4/565544170084TDORuvtAyOOEYJdCi6dL", "trigger_id"=>"5659923814.44657650.5c8f42dcca5d895283a417f8671f548e"}
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of nil into String):

app/controllers/slack/commands_controller.rb:26:in hexdigest'
app/controllers/slack/commands_controller.rb:26:in
verify_slack_request'

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.