Skip to content

Sparkpost settings for relay webhook #2

@scott

Description

@scott

I am trying to set this up and have found it is not very clear how to configure the Sparkpost UI to work with griddler. I put in the correct url for my email_processor but I am not sure what else I need to do. Which items do I need checked? When I go to create the webhook the sample payload generates an exception. Any ideas?

Started POST "/email_processor" for 54.244.54.128 at 2016-06-29 07:40:47 -0600
Cannot render console from 54.244.54.128! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
Processing by Griddler::EmailsController#create as JSON
  Parameters: {"_json"=>[{"msys"=>{}}], "email"=>{"_json"=>[{"msys"=>{}}]}}
Completed 500 Internal Server Error in 72ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `[]' for nil:NilClass):
  griddler-sparkpost (0.0.3) lib/griddler/sparkpost/adapter.rb:17:in `normalize_params'
  griddler-sparkpost (0.0.3) lib/griddler/sparkpost/adapter.rb:12:in `normalize_params'
  griddler (1.3.1) app/controllers/griddler/emails_controller.rb:17:in `normalized_params'
  griddler (1.3.1) app/controllers/griddler/emails_controller.rb:3:in `create'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions