Started GET "/" for ::1 at 2020-10-08 14:02:07 +0300 Processing by TimelineEventsController#index as HTML Redirected to http://localhost:3000/login Filter chain halted as :authorize rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/login" for ::1 at 2020-10-08 14:02:07 +0300 Processing by Oauth::AuthorizationController#login as HTML Rendering oauth/authorization/login.html.erb within layouts/application Rendered oauth/authorization/login.html.erb within layouts/application (1.1ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 346ms (Views: 344.2ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-10-08 14:02:10 +0300 Processing by Oauth::AuthorizationController#authorize as HTML Redirected to https://app.hubspot.com/oauth/authorize?client_id=8a79cddf-c799-4905-8926-ca0e740f75f7&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foauth%2Fcallback&scope=contacts& Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=b3285adf-7e0c-483f-b6d7-498da863db07" for ::1 at 2020-10-08 14:02:15 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"b3285adf-7e0c-483f-b6d7-498da863db07"} Redirected to http://localhost:3000/ Completed 302 Found in 426ms (ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-10-08 14:02:16 +0300 Processing by TimelineEventsController#index as HTML Rendering timeline_events/index.html.erb within layouts/application Rendered timeline_events/index.html.erb within layouts/application (30.8ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 61ms (Views: 51.7ms | ActiveRecord: 0.0ms) Started POST "/create_template" for ::1 at 2020-10-08 14:02:34 +0300 Processing by TimelineEventsController#create_template as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"1RVpIL0ozYmTaWxz6UIlB7ojBxUbABlpmky/pxPKp4bgbfx+G0WK9CWA/A3S5mG36Xw2gscjClQfMHAAMbtScQ==", "event_template"=>{"target_record_type"=>"Contact", "header_template"=>"vlad_test_001", "details_template"=>"vlad_test_001", "email"=>"vlad_test_001@df.g"}, "commit"=>"Save Event template"} Redirected to http://localhost:3000/ Completed 302 Found in 380ms (ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-10-08 14:02:35 +0300 Processing by TimelineEventsController#index as HTML Rendering timeline_events/index.html.erb within layouts/application Rendered timeline_events/index.html.erb within layouts/application (7.5ms) Rendered shared/_header.html.erb (0.7ms) Completed 200 OK in 47ms (Views: 34.3ms | ActiveRecord: 0.0ms) Started POST "/create_template" for ::1 at 2020-10-08 14:03:08 +0300 Processing by TimelineEventsController#create_template as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6IA4HCpetWGg3ggLGZ+0w3K2ycklYLQLQubupTqoptfd+K1CjDPyHBY3mHUiO/BzIen4XvlDpzbHmiECGNlTIA==", "event_template"=>{"target_record_type"=>"Contact", "header_template"=>"vlad_test_001", "details_template"=>"vlad_test_001", "email"=>"kcorloce@bookingmock.com"}, "commit"=>"Save Event template"} No template found for TimelineEventsController#create_template, rendering head :no_content Completed 204 No Content in 388ms (ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-10-08 14:03:18 +0300 Processing by TimelineEventsController#index as HTML Rendering timeline_events/index.html.erb within layouts/application Rendered timeline_events/index.html.erb within layouts/application (5.7ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 56ms (Views: 53.1ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-10-08 14:03:20 +0300 Processing by TimelineEventsController#index as HTML Rendering timeline_events/index.html.erb within layouts/application Rendered timeline_events/index.html.erb within layouts/application (10.0ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 68ms (Views: 63.9ms | ActiveRecord: 0.0ms) Started POST "/create_template" for ::1 at 2020-10-08 14:03:25 +0300 Processing by TimelineEventsController#create_template as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"mPMAokyT3R+hCCRJ2bjg93AQDExjZNXeMTWD+iVUOySti5X86v6aYhfhtDfiHKRHI089279HxuO0SUxdByXO0w==", "event_template"=>{"target_record_type"=>"Contact", "header_template"=>"vlad_test_001", "details_template"=>"vlad_test_001", "email"=>"kcorloce@bookingmock.com"}, "commit"=>"Save Event template"} No template found for TimelineEventsController#create_template, rendering head :no_content Completed 204 No Content in 358ms (ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-10-08 14:04:02 +0300 Processing by TimelineEventsController#index as HTML Rendering timeline_events/index.html.erb within layouts/application Rendered timeline_events/index.html.erb within layouts/application (7.2ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 90ms (Views: 88.7ms | ActiveRecord: 0.0ms) Started POST "/create_template" for ::1 at 2020-10-08 14:04:09 +0300 Processing by TimelineEventsController#create_template as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Dp5w2FplbOPqq/kMtDFS+feNkHPYi94LSfqW+Ui8bTQ75uWG/AgrnlxCaXKPlRZJpNKh5ASozTbMhlleas2Yww==", "event_template"=>{"target_record_type"=>"Contact", "header_template"=>"vlad_test_001", "details_template"=>"vlad_test_001", "email"=>"kcorloce@bookingmock.com"}, "commit"=>"Save Event template"} No template found for TimelineEventsController#create_template, rendering head :no_content Completed 204 No Content in 334ms (ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-10-08 14:05:16 +0300 Processing by TimelineEventsController#index as HTML Rendering timeline_events/index.html.erb within layouts/application Rendered timeline_events/index.html.erb within layouts/application (3.7ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 44ms (Views: 40.3ms | ActiveRecord: 0.0ms) Started POST "/create_template" for ::1 at 2020-10-08 14:05:23 +0300 Processing by TimelineEventsController#create_template as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Xc3rokZBj/O2o/81z3Ycnnjrvd+xDHHP9lvWtMAJ4BBotX784CzIjgBKb0v00lguK7SMSG0vYvJzJxkT4ngV5w==", "event_template"=>{"target_record_type"=>"Contact", "header_template"=>"vlad_test_001", "details_template"=>"vlad_test_001", "email"=>"screovonf8@tuttocittomock.it"}, "commit"=>"Save Event template"} No template found for TimelineEventsController#create_template, rendering head :no_content Completed 204 No Content in 434ms (ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-10-08 14:06:22 +0300 Processing by TimelineEventsController#index as HTML Rendering timeline_events/index.html.erb within layouts/application Rendered timeline_events/index.html.erb within layouts/application (15.1ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 321ms (Views: 272.9ms | ActiveRecord: 0.0ms) Started POST "/create" for ::1 at 2020-10-08 14:06:33 +0300 Processing by TimelineEventsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"1YmlPypkcGdnOlblBrfbUH6KRhv5aVnpxgT2yh1S4lTg8TBhjAk3GtHTxps9E5/gLdV3jCVKStRDeDltPyMXow==", "event_template"=>{"target_record_type"=>"contacts", "header_template"=>"vlad_test_001", "detail_template"=>"vlad_test_001", "email"=>"screovonf8@tuttocittomock.it"}, "commit"=>"Save Event template"} Completed 500 Internal Server Error in 388ms (ActiveRecord: 0.0ms) ArgumentError (Missing the required parameter 'app_id' when calling TemplatesApi.create): app/lib/services/hubspot/timeline/create_template.rb:12:in `call' app/controllers/timeline_events_controller.rb:13:in `create' Started POST "/create" for ::1 at 2020-10-08 14:10:04 +0300 Processing by TimelineEventsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"1YmlPypkcGdnOlblBrfbUH6KRhv5aVnpxgT2yh1S4lTg8TBhjAk3GtHTxps9E5/gLdV3jCVKStRDeDltPyMXow==", "event_template"=>{"target_record_type"=>"contacts", "header_template"=>"vlad_test_001", "detail_template"=>"vlad_test_001", "email"=>"screovonf8@tuttocittomock.it"}, "commit"=>"Save Event template"} Redirected to http://localhost:3000/?contact_id=10572 Completed 302 Found in 1269ms (ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-10-08 14:10:06 +0300 Processing by TimelineEventsController#index as HTML Rendering timeline_events/index.html.erb within layouts/application Rendered timeline_events/index.html.erb within layouts/application (10.9ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 268ms (Views: 261.9ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-10-08 14:10:08 +0300 Processing by TimelineEventsController#index as HTML Rendering timeline_events/index.html.erb within layouts/application Rendered timeline_events/index.html.erb within layouts/application (5.3ms) Rendered shared/_header.html.erb (0.5ms) Completed 200 OK in 48ms (Views: 42.8ms | ActiveRecord: 0.0ms) Started POST "/create" for ::1 at 2020-10-08 14:10:40 +0300 Processing by TimelineEventsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZUCGo8hH56RkZENyRS2E8IKZ27pSNf+d68+UVgTqUblQOBP9biqg2dKN0wx+icBA0cbqLY4W7KBus1vxJpukTg==", "event_template"=>{"target_record_type"=>"contacts", "header_template"=>"vlad_test_001", "detail_template"=>"vlad_test_001", "email"=>"corgon6i@ezineorticlesmock.comds"}, "commit"=>"Save Event template"} Redirected to http://localhost:3000/ Completed 302 Found in 578ms (ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-10-08 14:10:41 +0300 Processing by TimelineEventsController#index as HTML Rendering timeline_events/index.html.erb within layouts/application Rendered timeline_events/index.html.erb within layouts/application (4.3ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 49ms (Views: 44.2ms | ActiveRecord: 0.0ms) Started POST "/create" for ::1 at 2020-10-08 14:10:50 +0300 Processing by TimelineEventsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"P14YfuS8Xq9oHInZ8qVuJZ0lQJ674R1UdFASod0pcSIKJo0gQtEZ0t71GafJASqVznpxCWfCDmnxLN0G/1iE1Q==", "event_template"=>{"target_record_type"=>"contacts", "header_template"=>"vlad_test_001", "detail_template"=>"vlad_test_001", "email"=>"corgon6i@ezineorticlesmock.com"}, "commit"=>"Save Event template"} Redirected to http://localhost:3000/?contact_id=10462 Completed 302 Found in 1142ms (ActiveRecord: 0.0ms) Started GET "/?contact_id=10462" for ::1 at 2020-10-08 14:10:52 +0300 Processing by TimelineEventsController#index as HTML Parameters: {"contact_id"=>"10462"} Rendering timeline_events/index.html.erb within layouts/application Rendered timeline_events/index.html.erb within layouts/application (22.0ms) Rendered shared/_header.html.erb (0.5ms) Completed 200 OK in 105ms (Views: 91.4ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-10-08 14:44:05 +0300 Processing by TimelineEventsController#index as HTML Rendering timeline_events/index.html.erb within layouts/application Rendered timeline_events/index.html.erb within layouts/application (7.4ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 39ms (Views: 34.9ms | ActiveRecord: 0.0ms) Started POST "/create" for ::1 at 2020-10-08 14:44:11 +0300 Processing by TimelineEventsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"o/NAT+gcmR2t/XaU/7cacYUKA52psbrnJL82GYHBv9mWi9URTnHeYBsU5urEE17B1lUyCnWSqdqhw/m+o7BKLg==", "event_template"=>{"target_record_type"=>"contacts", "header_template"=>"vlad_test_001", "detail_template"=>"vlad_test_001", "email"=>"kcorloce@bookingmock.com"}, "commit"=>"Save Event template"} Redirected to http://localhost:3000/?contact_id=10852 Completed 302 Found in 1167ms (ActiveRecord: 0.0ms) Started GET "/?contact_id=10852" for ::1 at 2020-10-08 14:44:12 +0300 Processing by TimelineEventsController#index as HTML Parameters: {"contact_id"=>"10852"} Rendering timeline_events/index.html.erb within layouts/application Rendered timeline_events/index.html.erb within layouts/application (3.4ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 36ms (Views: 34.0ms | ActiveRecord: 0.0ms) Started GET "/?contact_id=10852" for ::1 at 2020-10-14 16:36:45 +0300 Processing by TimelineEventsController#index as HTML Parameters: {"contact_id"=>"10852"} Rendering timeline_events/index.html.erb within layouts/application Rendered timeline_events/index.html.erb within layouts/application (9.1ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 213ms (Views: 204.2ms | ActiveRecord: 0.0ms) Started POST "/create" for ::1 at 2020-10-14 16:36:53 +0300 Processing by TimelineEventsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MrRK++mUZTDna8KCfJWT209hdWSF0SGHfMCXrXPcWTcHzN+lT/kiTVGCUvxHMddrHD5E81nyMrr5vFgKUa2swA==", "event_template"=>{"target_record_type"=>"contacts", "header_template"=>"hgfhg", "detail_template"=>"fhgfhgf", "email"=>"kcorloce@bookingmock.com"}, "commit"=>"Render timeline"} Redirected to http://localhost:3000/?contact_id=10852 Completed 302 Found in 1088ms (ActiveRecord: 0.0ms) Started GET "/?contact_id=10852" for ::1 at 2020-10-14 16:36:54 +0300 Processing by TimelineEventsController#index as HTML Parameters: {"contact_id"=>"10852"} Rendering timeline_events/index.html.erb within layouts/application Rendered timeline_events/index.html.erb within layouts/application (5.7ms) Rendered shared/_header.html.erb (0.8ms) Completed 200 OK in 54ms (Views: 48.2ms | ActiveRecord: 0.0ms)