{"action":"created","issue":{"url":"https://api.github.com/repos/KrauseFx/fastlane/issues/658","labels_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/658/labels{/name}","comments_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/658/comments","events_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/658/events","html_url":"https://github.com/KrauseFx/fastlane/issues/658","id":109864732,"number":658,"title":"Slack integration generates error","user":{"login":"robincalmegard","id":11824785,"avatar_url":"https://avatars.githubusercontent.com/u/11824785?v=3","gravatar_id":"","url":"https://api.github.com/users/robincalmegard","html_url":"https://github.com/robincalmegard","followers_url":"https://api.github.com/users/robincalmegard/followers","following_url":"https://api.github.com/users/robincalmegard/following{/other_user}","gists_url":"https://api.github.com/users/robincalmegard/gists{/gist_id}","starred_url":"https://api.github.com/users/robincalmegard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robincalmegard/subscriptions","organizations_url":"https://api.github.com/users/robincalmegard/orgs","repos_url":"https://api.github.com/users/robincalmegard/repos","events_url":"https://api.github.com/users/robincalmegard/events{/privacy}","received_events_url":"https://api.github.com/users/robincalmegard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-05T19:08:08Z","updated_at":"2015-10-09T02:13:40Z","closed_at":null,"body":"Hello,\r\n\r\nI just can't figure out why this is happening when trying to send a Slack notification in an action:\r\n\r\n```\r\n[21:03:23]: no implicit conversion of nil into Hash\r\n\r\n+------+-----------------+-------------+\r\n|           fastlane summary           |\r\n+------+-----------------+-------------+\r\n| Step | Action          | Time (in s) |\r\n+------+-----------------+-------------+\r\n| 1    | ./getChanges.sh | 0           |\r\n| 2    | cocoapods       | 24          |\r\n| 3    | team_name       | 0           |\r\n| 4    | build_beta      | 306         |\r\n+------+-----------------+-------------+\r\n\r\n[21:03:23]: fastlane finished with errors\r\n/Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/lib/fastlane/actions/slack.rb:191:in `merge': no implicit conversion of nil into Hash (TypeError)\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/lib/fastlane/actions/slack.rb:191:in `deep_merge'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/lib/fastlane/actions/slack.rb:181:in `generate_slack_attachments'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/lib/fastlane/actions/slack.rb:42:in `run'\r\n\tfrom /Users/robicalm/code/ios/iphone/fastlane/actions/build_beta.rb:63:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/lib/fastlane/runner.rb:142:in `block (2 levels) in execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/lib/fastlane/actions/actions_helper.rb:37:in `execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/lib/fastlane/runner.rb:128:in `block in execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/lib/fastlane/runner.rb:127:in `chdir'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/lib/fastlane/runner.rb:127:in `execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/lib/fastlane/fast_file.rb:137:in `method_missing'\r\n\tfrom (eval):145:in `block (2 levels) in parse'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/lib/fastlane/lane.rb:36:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/lib/fastlane/lane.rb:36:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/lib/fastlane/runner.rb:51:in `block in execute'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/lib/fastlane/runner.rb:46:in `chdir'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/lib/fastlane/runner.rb:46:in `execute'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/lib/fastlane/lane_manager.rb:43:in `cruise_lane'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/lib/fastlane/command_line_handler.rb:31:in `handle'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/bin/fastlane:36:in `block (2 levels) in run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/bin/fastlane:127:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.30.2/bin/fastlane:133:in `<top (required)>'\r\n\tfrom /usr/bin/fastlane:23:in `load'\r\n\tfrom /usr/bin/fastlane:23:in `<main>'\r\n```\r\n\r\nHere's a snippet from the action:\r\n\r\n```\r\n        if (params.include? :slack)\r\n          Fastlane::Actions::SlackAction.run({\r\n            message: \"An iOS app (\" + appname + \"[\" + ENV['GENERATE_APPFILE_APP_IDENTIFIER'] + \"]) was successfully built and uploaded to Crashlytics.\",\r\n            channel: \"dev-general\",\r\n            success: true,\r\n            payload: {'appname' => appname, 'appidentifier' => ENV['GENERATE_APPFILE_APP_IDENTIFIER']}\r\n          })\r\n        end\r\n```\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/KrauseFx/fastlane/issues/comments/146737587","html_url":"https://github.com/KrauseFx/fastlane/issues/658#issuecomment-146737587","issue_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/658","id":146737587,"user":{"login":"KrauseFx","id":869950,"avatar_url":"https://avatars.githubusercontent.com/u/869950?v=3","gravatar_id":"","url":"https://api.github.com/users/KrauseFx","html_url":"https://github.com/KrauseFx","followers_url":"https://api.github.com/users/KrauseFx/followers","following_url":"https://api.github.com/users/KrauseFx/following{/other_user}","gists_url":"https://api.github.com/users/KrauseFx/gists{/gist_id}","starred_url":"https://api.github.com/users/KrauseFx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrauseFx/subscriptions","organizations_url":"https://api.github.com/users/KrauseFx/orgs","repos_url":"https://api.github.com/users/KrauseFx/repos","events_url":"https://api.github.com/users/KrauseFx/events{/privacy}","received_events_url":"https://api.github.com/users/KrauseFx/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T02:13:40Z","updated_at":"2015-10-09T02:13:40Z","body":"Probably. You should have the actions in your `Fastfile` :+1: You can share a bit more of your setup "}}