:0x00007f0d1008ac90>):
10: Export to CSV
11: # app/lib/services/hubspot/contacts/export.rb
12:
13: <%= link_to('New Contact', new_contact_path, class: 'button', id: 'new-contact') %>
14: <%= link_to('Export To CSV', export_contacts_path(format: :csv), class: 'button', id: 'export') %>
15:
16:
app/views/imports/index.html.erb:13:in `_app_views_imports_index_html_erb___3339671648642917749_69847040133440'
Started GET "/" for ::1 at 2020-05-11 05:05:28 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (6.3ms)
Rendered shared/_header.html.erb (0.2ms)
Completed 200 OK in 936ms (Views: 255.8ms | ActiveRecord: 0.0ms)
Started GET "/" for ::1 at 2020-05-11 05:06:52 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (1.3ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 686ms (Views: 21.5ms | ActiveRecord: 0.0ms)
Started GET "/imports/new" for ::1 at 2020-05-11 05:08:17 +0300
Processing by ImportsController#new as HTML
Rendering imports/new.html.erb within layouts/application
Rendered imports/new.html.erb within layouts/application (1.1ms)
Rendered shared/_header.html.erb (0.2ms)
Completed 200 OK in 15ms (Views: 12.1ms | ActiveRecord: 0.0ms)
Started GET "/imports/new" for ::1 at 2020-05-11 05:11:53 +0300
Processing by ImportsController#new as HTML
Rendering imports/new.html.erb within layouts/application
Rendered imports/new.html.erb within layouts/application (2.9ms)
Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms)
ActionView::Template::Error (undefined method `merge' for nil:NilClass):
9: Import
10: <%= form_tag('/importss', method: 'post') do %>
11: <%= label_tag(:file, "File") %>
12: <%= file_field_tag(:file, @file) %>
13: <%= submit_tag("Save") %>
14: <% end %>
15:
app/views/imports/new.html.erb:12:in `block in _app_views_imports_new_html_erb___815714227434236870_69847208364300'
app/views/imports/new.html.erb:10:in `_app_views_imports_new_html_erb___815714227434236870_69847208364300'
Started GET "/imports/new" for ::1 at 2020-05-11 05:13:09 +0300
Processing by ImportsController#new as HTML
Rendering imports/new.html.erb within layouts/application
Rendered imports/new.html.erb within layouts/application (1.3ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 24ms (Views: 19.3ms | ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-11 05:13:16 +0300
AbstractController::ActionNotFound (The action 'create' could not be found for ImportsController):
actionpack (5.2.3) lib/abstract_controller/base.rb:129:in `process'
actionview (5.2.3) lib/action_view/rendering.rb:32:in `process'
actionpack (5.2.3) lib/action_controller/metal.rb:191:in `dispatch'
actionpack (5.2.3) lib/action_controller/metal.rb:252:in `dispatch'
actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:34:in `serve'
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
rack (2.2.2) lib/rack/tempfile_reaper.rb:15:in `call'
rack (2.2.2) lib/rack/etag.rb:27:in `call'
rack (2.2.2) lib/rack/conditional_get.rb:40:in `call'
rack (2.2.2) lib/rack/head.rb:12:in `call'
actionpack (5.2.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
rack (2.2.2) lib/rack/session/abstract/id.rb:266:in `context'
rack (2.2.2) lib/rack/session/abstract/id.rb:260:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'
activerecord (5.2.3) lib/active_record/migration.rb:559:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
rack (2.2.2) lib/rack/method_override.rb:24:in `call'
rack (2.2.2) lib/rack/runtime.rb:22:in `call'
activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
rack (2.2.2) lib/rack/sendfile.rb:110:in `call'
railties (5.2.3) lib/rails/engine.rb:524:in `call'
puma (4.3.1) lib/puma/configuration.rb:228:in `call'
puma (4.3.1) lib/puma/server.rb:681:in `handle_request'
puma (4.3.1) lib/puma/server.rb:472:in `process_client'
puma (4.3.1) lib/puma/server.rb:328:in `block in run'
puma (4.3.1) lib/puma/thread_pool.rb:134:in `block in spawn_thread'
Started POST "/imports" for ::1 at 2020-05-11 05:17:15 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"BslXGy1sfNVYH5bTFhKq3PbVFlPg1P9b8fR2bmZod8Ot0vOsCZR909moKZScUSZkMOiD116CbTxUA4+bBoHLJw==", "file"=>"360e24a8f599ea38bd1f1875d4890632.jpg", "commit"=>"Save"}
Completed 500 Internal Server Error in 470ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 403
Response headers: {"date"=>"Mon, 11 May 2020 02:17:15 GMT", "content-type"=>"application/json;charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d8ea7905b3c2db93bf3194b597f4752781589163435; expires=Wed, 10-Jun-20 02:17:15 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B2C442C2EA96C1156D5BEC9DD5212E9798D89BB4B968174B089F6D5A601", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"5918670fd979f2a0-WAW", "cf-request-id"=>"02a31ebde40000f2a08038c200000001"}
Response body: {"status":"error","message":"This app hasn't been granted all required scopes to make this call. Read more about required scopes here: https://developers.hubspot.com/scopes.","correlationId":"1c8001a1-01e0-48bb-bda8-4662a9d6bf85","errors":[{"message":"All of the following scopes are required.","context":{"requiredScopes":["crm.import"]}}],"links":{"scopes":"https://developers.hubspot.com/scopes"},"category":"MISSING_SCOPES","requestId":"31d8abef-b9d6-4bc2-bea6-27be56776a9f"}):
app/lib/services/hubspot/imports/create.rb:11:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 05:20:24 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"BslXGy1sfNVYH5bTFhKq3PbVFlPg1P9b8fR2bmZod8Ot0vOsCZR909moKZScUSZkMOiD116CbTxUA4+bBoHLJw==", "file"=>"360e24a8f599ea38bd1f1875d4890632.jpg", "commit"=>"Save"}
Completed 500 Internal Server Error in 218ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 403
Response headers: {"date"=>"Mon, 11 May 2020 02:20:25 GMT", "content-type"=>"application/json;charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d3b3a0f8ec0c808ff7ae1b1d4553a22b81589163624; expires=Wed, 10-Jun-20 02:20:24 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B38F3F50FAFAF3E19A0C4EC9F2442BFBF5110FC2ADEB3CD6C77D6F4F101", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"59186bb01eecf2ac-WAW", "cf-request-id"=>"02a321a2110000f2ac2ebb1200000001"}
Response body: {"status":"error","message":"This app hasn't been granted all required scopes to make this call. Read more about required scopes here: https://developers.hubspot.com/scopes.","correlationId":"270a5f4d-ae34-476e-966d-706a8f842661","errors":[{"message":"All of the following scopes are required.","context":{"requiredScopes":["crm.import"]}}],"links":{"scopes":"https://developers.hubspot.com/scopes"},"category":"MISSING_SCOPES","requestId":"08942a10-b184-4de9-a007-822a9fc2b32e"}):
app/lib/services/hubspot/imports/create.rb:11:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started GET "/" for ::1 at 2020-05-11 05:20:30 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (5.1ms)
Rendered shared/_header.html.erb (0.5ms)
Completed 200 OK in 584ms (Views: 235.1ms | ActiveRecord: 0.0ms)
Started GET "/" for ::1 at 2020-05-11 05:25:07 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (6.9ms)
Rendered shared/_header.html.erb (0.2ms)
Completed 200 OK in 973ms (Views: 274.9ms | ActiveRecord: 0.0ms)
Started GET "/imports/new" for ::1 at 2020-05-11 05:25:09 +0300
Processing by ImportsController#new as HTML
Rendering imports/new.html.erb within layouts/application
Rendered imports/new.html.erb within layouts/application (2.3ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 38ms (Views: 31.5ms | ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-11 05:25:26 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"KDXZk8G2DdLqwDJuM1QV+o/xcVQtVKhgQNjI3SeRiJqDLn0k5U4M1Gt3jSm5F5lCSczk0JMCOgflLzEoR3g0fg==", "file"=>"test.csv", "commit"=>"Save"}
Completed 500 Internal Server Error in 274ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 403
Response headers: {"date"=>"Mon, 11 May 2020 02:25:26 GMT", "content-type"=>"application/json;charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d36e0a3fb369fc9c6dcc1a21a5107b1b61589163926; expires=Wed, 10-Jun-20 02:25:26 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B0346DFDF5B76546234EDDFDEFE07E08DC619CAAA0D91D37886CCD9D701", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"5918730e8aa3cc7f-WAW", "cf-request-id"=>"02a3263d160000cc7f1214a200000001"}
Response body: {"status":"error","message":"This app hasn't been granted all required scopes to make this call. Read more about required scopes here: https://developers.hubspot.com/scopes.","correlationId":"2bb66823-1655-4f7d-bb2b-a5917279e738","errors":[{"message":"All of the following scopes are required.","context":{"requiredScopes":["crm.import"]}}],"links":{"scopes":"https://developers.hubspot.com/scopes"},"category":"MISSING_SCOPES","requestId":"c7c29c1d-1cf4-4c21-a272-72a76441be4e"}):
app/lib/services/hubspot/imports/create.rb:11:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 05:26:08 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"KDXZk8G2DdLqwDJuM1QV+o/xcVQtVKhgQNjI3SeRiJqDLn0k5U4M1Gt3jSm5F5lCSczk0JMCOgflLzEoR3g0fg==", "file"=>"test.csv", "commit"=>"Save"}
Completed 500 Internal Server Error in 250ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 403
Response headers: {"date"=>"Mon, 11 May 2020 02:26:08 GMT", "content-type"=>"application/json;charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d1303d9646e847b52034f04c8f27eca201589163968; expires=Wed, 10-Jun-20 02:26:08 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BB266FB34F8986ECD9E3FAB41B9750D860B30BDA08980E1FEADC9825701", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591874152f48f2d0-WAW", "cf-request-id"=>"02a326e13c0000f2d048122200000001"}
Response body: {"status":"error","message":"This app hasn't been granted all required scopes to make this call. Read more about required scopes here: https://developers.hubspot.com/scopes.","correlationId":"35ec25f9-7d87-4477-8d33-3c521e971071","errors":[{"message":"All of the following scopes are required.","context":{"requiredScopes":["crm.import"]}}],"links":{"scopes":"https://developers.hubspot.com/scopes"},"category":"MISSING_SCOPES","requestId":"10110369-e958-4be3-8705-f4a1d83b1370"}):
app/lib/services/hubspot/imports/create.rb:11:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started GET "/" for ::1 at 2020-05-11 05:26:11 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (5.4ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 594ms (Views: 254.6ms | ActiveRecord: 0.0ms)
Started GET "/oauth" for ::1 at 2020-05-11 05:26:13 +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=crm.imports&
Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
Started GET "/" for ::1 at 2020-05-11 05:26:34 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (7.1ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 423ms (Views: 102.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth" for ::1 at 2020-05-11 05:26:37 +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=imports&
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
Started GET "/" for ::1 at 2020-05-11 05:27:19 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (7.1ms)
Rendered shared/_header.html.erb (0.2ms)
Completed 200 OK in 623ms (Views: 213.6ms | ActiveRecord: 0.0ms)
Started GET "/oauth" for ::1 at 2020-05-11 05:27:21 +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=crm.import&
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
Started GET "/" for ::1 at 2020-05-11 05:27:49 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (4.9ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 409ms (Views: 51.6ms | ActiveRecord: 0.0ms)
Started GET "/oauth" for ::1 at 2020-05-11 05:27:51 +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&scope=crm.import&
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
Started GET "/" for ::1 at 2020-05-11 05:28:04 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (5.3ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 715ms (Views: 79.9ms | ActiveRecord: 0.0ms)
Started GET "/oauth" for ::1 at 2020-05-11 05:28:06 +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&scope=crm.import&
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
Started GET "/" for ::1 at 2020-05-11 05:28:27 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (5.0ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 527ms (Views: 111.0ms | ActiveRecord: 0.0ms)
Started GET "/" for ::1 at 2020-05-11 05:28:31 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (5.3ms)
Rendered shared/_header.html.erb (0.8ms)
Completed 200 OK in 423ms (Views: 80.0ms | ActiveRecord: 0.0ms)
Started GET "/oauth" for ::1 at 2020-05-11 05:28:33 +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&scope=crm.import&
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
Started GET "/" for ::1 at 2020-05-11 05:28:46 +0300
Processing by ImportsController#index as HTML
Redirected to http://localhost:3000/login
Filter chain halted as :authorize rendered or redirected
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
Started GET "/login" for ::1 at 2020-05-11 05:28:46 +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 (0.4ms)
Rendered shared/_header.html.erb (1.0ms)
Completed 200 OK in 27ms (Views: 26.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth" for ::1 at 2020-05-11 05:28:49 +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&scope=crm.import&
Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
Started GET "/login" for ::1 at 2020-05-11 05:29:00 +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 (0.4ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.0ms)
Started GET "/oauth" for ::1 at 2020-05-11 05:29:01 +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&scope=crm.imports&
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
Started GET "/login" for ::1 at 2020-05-11 14:07:11 +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 (2.3ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 65ms (Views: 62.7ms | ActiveRecord: 0.0ms)
Started GET "/oauth" for ::1 at 2020-05-11 14:07:12 +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=import&
Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
Started GET "/login" for ::1 at 2020-05-11 14:07:44 +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.4ms)
Completed 200 OK in 218ms (Views: 217.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth" for ::1 at 2020-05-11 14:07:46 +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&scope=crm.import&
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
Started GET "/login" for ::1 at 2020-05-11 14:08:02 +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 (0.3ms)
Rendered shared/_header.html.erb (0.5ms)
Completed 200 OK in 20ms (Views: 18.8ms | ActiveRecord: 0.0ms)
Started GET "/oauth" for ::1 at 2020-05-11 14:08:03 +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&scope=crmimport&
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
Started GET "/login" for ::1 at 2020-05-11 14:08:21 +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 (0.7ms)
Rendered shared/_header.html.erb (0.2ms)
Completed 200 OK in 207ms (Views: 206.5ms | ActiveRecord: 0.0ms)
Started GET "/oauth" for ::1 at 2020-05-11 14:08:22 +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 9ms (ActiveRecord: 0.0ms)
Started GET "/oauth" for ::1 at 2020-05-11 14:14:02 +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=crmimport&
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
Started GET "/login" for ::1 at 2020-05-11 14:14:24 +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 (0.9ms)
Rendered shared/_header.html.erb (0.2ms)
Completed 200 OK in 222ms (Views: 221.0ms | ActiveRecord: 0.0ms)
Started GET "/oauth" for ::1 at 2020-05-11 14:14:25 +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=crm.import&
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
Started GET "/oauth/callback?code=50ec2d3d-c2c8-445f-abfc-d327860e4f21" for ::1 at 2020-05-11 14:14:39 +0300
Processing by Oauth::AuthorizationController#callback as HTML
Parameters: {"code"=>"50ec2d3d-c2c8-445f-abfc-d327860e4f21"}
Redirected to http://localhost:3000/contacts
Completed 302 Found in 521ms (ActiveRecord: 0.0ms)
Started GET "/contacts" for ::1 at 2020-05-11 14:14:39 +0300
ActionController::RoutingError (No route matches [GET] "/contacts"):
actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
rack (2.2.2) lib/rack/method_override.rb:24:in `call'
rack (2.2.2) lib/rack/runtime.rb:22:in `call'
activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
rack (2.2.2) lib/rack/sendfile.rb:110:in `call'
railties (5.2.3) lib/rails/engine.rb:524:in `call'
puma (4.3.1) lib/puma/configuration.rb:228:in `call'
puma (4.3.1) lib/puma/server.rb:681:in `handle_request'
puma (4.3.1) lib/puma/server.rb:472:in `process_client'
puma (4.3.1) lib/puma/server.rb:328:in `block in run'
puma (4.3.1) lib/puma/thread_pool.rb:134:in `block in spawn_thread'
Started GET "/login" for ::1 at 2020-05-11 14:48:22 +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 (0.4ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 22ms (Views: 21.3ms | ActiveRecord: 0.0ms)
Started GET "/oauth" for ::1 at 2020-05-11 14:48:23 +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=crm.import&
Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
Started GET "/oauth/callback?code=ecce6fea-1e6c-496e-9c5f-b2cef5433f0c" for ::1 at 2020-05-11 14:48:27 +0300
Processing by Oauth::AuthorizationController#callback as HTML
Parameters: {"code"=>"ecce6fea-1e6c-496e-9c5f-b2cef5433f0c"}
Redirected to http://localhost:3000/imports
Completed 302 Found in 442ms (ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-11 14:48:27 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (8.8ms)
Rendered shared/_header.html.erb (0.5ms)
Completed 200 OK in 415ms (Views: 81.9ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-11 14:53:48 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (6.2ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 446ms (Views: 62.7ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-11 14:54:13 +0300
Processing by ImportsController#index as HTML
Completed 500 Internal Server Error in 9401ms (ActiveRecord: 0.0ms)
NoMethodError (undefined method `sort_by' for nil:NilClass):
app/controllers/imports_controller.rb:9:in `index'
Started GET "/imports" for ::1 at 2020-05-11 14:54:36 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (4.6ms)
Rendered shared/_header.html.erb (0.6ms)
Completed 200 OK in 494ms (Views: 83.8ms | ActiveRecord: 0.0ms)
Started GET "/imports/new" for ::1 at 2020-05-11 14:59:48 +0300
Processing by ImportsController#new as HTML
Rendering imports/new.html.erb within layouts/application
Rendered imports/new.html.erb within layouts/application (1.4ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 31ms (Views: 29.1ms | ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-11 14:59:54 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"d/FLz57See/k5rA8U184gOkQP70jhME70sCquStOCw/lV8znmHyPWbwtmBSY7Fj/P1hnJv2EWEuGDms2ynn24w==", "file"=>"test.csv", "commit"=>"Save"}
Completed 500 Internal Server Error in 265ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 400
Response headers: {"date"=>"Mon, 11 May 2020 11:59:55 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"212", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d99855b175e852b6484854ce37c6b33571589198395; expires=Wed, 10-Jun-20 11:59:55 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B6F3F1B96070779BEF799F5C8133DD09F2BC7C1F6ECB73DE009582E4C01", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591bbc90eb2ff2cc-WAW", "cf-request-id"=>"02a5342e8e0000f2cc7d877200000001"}
Response body: {"status":"error","message":"Import cannot be processed without file data!","correlationId":"742eb7b1-0987-446b-89be-2abea4e5c154","category":"VALIDATION_ERROR","requestId":"2d6454fc-4f9f-437d-bd1d-00e77c7f6ff2"}):
app/lib/services/hubspot/imports/create.rb:11:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 15:35:47 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"d/FLz57See/k5rA8U184gOkQP70jhME70sCquStOCw/lV8znmHyPWbwtmBSY7Fj/P1hnJv2EWEuGDms2ynn24w==", "file"=>"test.csv", "commit"=>"Save"}
Completed 500 Internal Server Error in 468ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 400
Response headers: {"date"=>"Mon, 11 May 2020 12:35:48 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"212", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d84eeb8c556c314873cf7ae98fd9f01c11589200548; expires=Wed, 10-Jun-20 12:35:48 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B04DA2890818E652539DDE3AFB8A594D9C360C6640B5F092B756FBD2901", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591bf1216fbcffc0-WAW", "cf-request-id"=>"02a55508df0000ffc0198d8200000001"}
Response body: {"status":"error","message":"Import cannot be processed without file data!","correlationId":"42e4d6f3-a702-4421-b0ab-c2cb957078c7","category":"VALIDATION_ERROR","requestId":"daba0a4f-72a7-4594-8d89-044e7ac47dba"}):
app/lib/services/hubspot/imports/create.rb:11:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 15:35:56 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"d/FLz57See/k5rA8U184gOkQP70jhME70sCquStOCw/lV8znmHyPWbwtmBSY7Fj/P1hnJv2EWEuGDms2ynn24w==", "file"=>"test.csv", "commit"=>"Save"}
Completed 500 Internal Server Error in 20483ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 400
Response headers: {"date"=>"Mon, 11 May 2020 12:36:16 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"212", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d3f53d85bc121511462b86f7efef427d81589200576; expires=Wed, 10-Jun-20 12:36:16 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B4EB096DF0066CE012AC54CB01AD2ACAAC5505B0398FFB1609DD0F3CE01", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591bf1d3be5fcc77-WAW", "cf-request-id"=>"02a55578550000cc7701192200000001"}
Response body: {"status":"error","message":"Import cannot be processed without file data!","correlationId":"a4702342-3609-4b5b-a3cb-52b2eebd9998","category":"VALIDATION_ERROR","requestId":"17aa0c03-83ec-47a1-adbf-0048b36e6c2b"}):
app/lib/services/hubspot/imports/create.rb:12:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 15:38:55 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"d/FLz57See/k5rA8U184gOkQP70jhME70sCquStOCw/lV8znmHyPWbwtmBSY7Fj/P1hnJv2EWEuGDms2ynn24w==", "file"=>"test.csv", "commit"=>"Save"}
Completed 500 Internal Server Error in 8834ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 400
Response headers: {"date"=>"Mon, 11 May 2020 12:39:04 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"212", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d6d04e73798724a434ff7acdfb5da80fe1589200744; expires=Wed, 10-Jun-20 12:39:04 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B2076333CC13F203820A11DF3AD12AC851352B3BA2DD5055D89B6074101", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591bf5ec18d4f294-WAW", "cf-request-id"=>"02a55807910000f294639ee200000001"}
Response body: {"status":"error","message":"Import cannot be processed without file data!","correlationId":"a3bfcad6-d94f-4571-916e-8a49e7189f0b","category":"VALIDATION_ERROR","requestId":"f3a93e06-7cbb-4b3e-9554-461d04c08fba"}):
app/lib/services/hubspot/imports/create.rb:12:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started GET "/imports" for ::1 at 2020-05-11 15:39:06 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (4.2ms)
Rendered shared/_header.html.erb (0.2ms)
Completed 200 OK in 582ms (Views: 306.1ms | ActiveRecord: 0.0ms)
Started GET "/imports/new" for ::1 at 2020-05-11 15:39:07 +0300
Processing by ImportsController#new as HTML
Rendering imports/new.html.erb within layouts/application
Rendered imports/new.html.erb within layouts/application (4.1ms)
Rendered shared/_header.html.erb (0.6ms)
Completed 200 OK in 59ms (Views: 52.2ms | ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-11 15:39:12 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ug76mUL+ygsPATZroUTGygiCmhXnD3H5GWeGECL7F9vAqH2xRFA8vVfKHkNq96a13srCjjkP6IlNqUefw8zqNw==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 15426ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 400
Response headers: {"date"=>"Mon, 11 May 2020 12:39:27 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"212", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d6ab2b572e25151f4dbaf6a49d8b47e421589200767; expires=Wed, 10-Jun-20 12:39:27 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BB3DE29E64FBD4A2FA59F2B47F3F237AF6E98E0342B618CE720148FFB01", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591bf67d0a9bf290-WAW", "cf-request-id"=>"02a55862280000f2903c342200000001"}
Response body: {"status":"error","message":"Import cannot be processed without file data!","correlationId":"67a02332-beec-47e7-804d-a2444def0538","category":"VALIDATION_ERROR","requestId":"c59633ba-eb58-4111-a4a9-f74a47cedd69"}):
app/lib/services/hubspot/imports/create.rb:12:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 15:45:04 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ug76mUL+ygsPATZroUTGygiCmhXnD3H5GWeGECL7F9vAqH2xRFA8vVfKHkNq96a13srCjjkP6IlNqUefw8zqNw==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 58704ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 400
Response headers: {"date"=>"Mon, 11 May 2020 12:46:03 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"212", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d4e52c5919ca483fc99ce21f327c9e38d1589201162; expires=Wed, 10-Jun-20 12:46:02 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BD011C924818BA5A7EE16FFBD0B8EC8CCA5D83357BF611EBB1782542401", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591c00244e24f29c-WAW", "cf-request-id"=>"02a55e6aab0000f29cff045200000001"}
Response body: {"status":"error","message":"Import cannot be processed without file data!","correlationId":"48bfe672-7a45-4c40-9ea8-ae6af860725e","category":"VALIDATION_ERROR","requestId":"256b10a1-6bc7-4de6-a430-3c6934de0a65"}):
app/lib/services/hubspot/imports/create.rb:12:in `call'
app/controllers/imports_controller.rb:15:in `create'
Started POST "/imports" for ::1 at 2020-05-11 15:46:09 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ug76mUL+ygsPATZroUTGygiCmhXnD3H5GWeGECL7F9vAqH2xRFA8vVfKHkNq96a13srCjjkP6IlNqUefw8zqNw==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 292ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 400
Response headers: {"date"=>"Mon, 11 May 2020 12:46:09 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"212", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d0340a2e09cf6bedbb95a87a616357c3f1589201169; expires=Wed, 10-Jun-20 12:46:09 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B5EFB31CB5B0414A56D264984625754C01438CD7B0DF12EB6B1FE166B01", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591c004f0af0f2c0-WAW", "cf-request-id"=>"02a55e85690000f2c06f981200000001"}
Response body: {"status":"error","message":"Import cannot be processed without file data!","correlationId":"d63a45a2-73be-47fb-ad61-a48be1173c51","category":"VALIDATION_ERROR","requestId":"43b60b17-5467-4909-92f3-2e43f65bb732"}):
app/lib/services/hubspot/imports/create.rb:12:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 15:46:17 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ug76mUL+ygsPATZroUTGygiCmhXnD3H5GWeGECL7F9vAqH2xRFA8vVfKHkNq96a13srCjjkP6IlNqUefw8zqNw==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 42753ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 400
Response headers: {"date"=>"Mon, 11 May 2020 12:47:00 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"212", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d24dfee8cc71883658ab52e66088059f81589201220; expires=Wed, 10-Jun-20 12:47:00 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B1910B9E1875425A63CFD8EF89EF35EC1353453B9DC17308E21D501B501", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591c018a2bf6cc7b-WAW", "cf-request-id"=>"02a55f4a590000cc7bcb912200000001"}
Response body: {"status":"error","message":"Import cannot be processed without file data!","correlationId":"65443d15-ef42-4932-a035-20894a6659ab","category":"VALIDATION_ERROR","requestId":"40553cff-3459-44a4-8ea9-42bc35b9b692"}):
app/lib/services/hubspot/imports/create.rb:12:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 15:47:13 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ug76mUL+ygsPATZroUTGygiCmhXnD3H5GWeGECL7F9vAqH2xRFA8vVfKHkNq96a13srCjjkP6IlNqUefw8zqNw==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 6120ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 400
Response headers: {"date"=>"Mon, 11 May 2020 12:47:19 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"212", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d09facc211fac442e77fdd964e57b77d51589201238; expires=Wed, 10-Jun-20 12:47:18 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BCA18FF0C70AF1880A3F618B7C91DB9A79787ADD68529100262E249C401", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591c01ff3dd4ffc4-WAW", "cf-request-id"=>"02a55f937f0000ffc46faca200000001"}
Response body: {"status":"error","message":"Import cannot be processed without file data!","correlationId":"4f4db982-22ac-4861-a8cc-d5e856522003","category":"VALIDATION_ERROR","requestId":"efc66966-7ea8-4951-9f86-75d671ecbbdd"}):
app/lib/services/hubspot/imports/create.rb:12:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 15:48:42 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ug76mUL+ygsPATZroUTGygiCmhXnD3H5GWeGECL7F9vAqH2xRFA8vVfKHkNq96a13srCjjkP6IlNqUefw8zqNw==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 368ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 400
Response headers: {"date"=>"Mon, 11 May 2020 12:48:43 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"212", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d9ea54fe6726ee68a05d6bf5b4b5ce56c1589201323; expires=Wed, 10-Jun-20 12:48:43 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BE22E26D46031517AFA87F0CE07A65AED8C20E5380E9DF86799AE5A5201", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591c040dd9b1f28c-WAW", "cf-request-id"=>"02a560dcaa0000f28ccc29a200000001"}
Response body: {"status":"error","message":"Import cannot be processed without file data!","correlationId":"98e55032-1be8-4077-9d4f-8834ff73194d","category":"VALIDATION_ERROR","requestId":"1ab9fc21-c212-4234-aa0d-f98163f4be04"}):
app/lib/services/hubspot/imports/create.rb:11:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 15:48:53 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ug76mUL+ygsPATZroUTGygiCmhXnD3H5GWeGECL7F9vAqH2xRFA8vVfKHkNq96a13srCjjkP6IlNqUefw8zqNw==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 14989ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 400
Response headers: {"date"=>"Mon, 11 May 2020 12:49:08 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"212", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=da2b05632763003183c12e709b4c097861589201348; expires=Wed, 10-Jun-20 12:49:08 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BB88238E4BEDC711E7172B98BBA737BACC28229B1764784A27FC3776C01", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591c04a91c55cc77-WAW", "cf-request-id"=>"02a5613dac0000cc77ffa6c200000001"}
Response body: {"status":"error","message":"Import cannot be processed without file data!","correlationId":"34c3f99a-8bc8-4086-aa44-3f0aefc00f66","category":"VALIDATION_ERROR","requestId":"341a2885-c00d-4d8c-9ae2-cbae7766cde9"}):
app/lib/services/hubspot/imports/create.rb:11:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 15:49:25 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ug76mUL+ygsPATZroUTGygiCmhXnD3H5GWeGECL7F9vAqH2xRFA8vVfKHkNq96a13srCjjkP6IlNqUefw8zqNw==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 485ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 500
Response headers: {"date"=>"Mon, 11 May 2020 12:49:25 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"151", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dfa3ab5c758919d34bcb02195af2d116b1589201365; expires=Wed, 10-Jun-20 12:49:25 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B4BC00DF1FA54BE4B2B3A6F5C876728702445CA55812567C71276652501", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591c05153ad5ffc0-WAW", "cf-request-id"=>"02a56181440000ffc0092d4200000001"}
Response body: {"status":"error","message":"internal error","correlationId":"0eed28fb-9c0b-4735-a3a9-05afc2f126ec","requestId":"545efb28-5f76-4df0-a389-d15c0d1506b0"}):
app/lib/services/hubspot/imports/create.rb:11:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 15:53:12 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ug76mUL+ygsPATZroUTGygiCmhXnD3H5GWeGECL7F9vAqH2xRFA8vVfKHkNq96a13srCjjkP6IlNqUefw8zqNw==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 87648ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 500
Response headers: {"date"=>"Mon, 11 May 2020 12:54:40 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"151", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d34fbf1ea17df66593c9c94a1e79fc9831589201680; expires=Wed, 10-Jun-20 12:54:40 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B2F210C196FCF6B530FF8E9E9388A3571192657E33AF1DC9632A028AA01", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591c0cc508a7cc8b-WAW", "cf-request-id"=>"02a5664f270000cc8b808e1200000001"}
Response body: {"status":"error","message":"internal error","correlationId":"c09a89e4-b0a1-4ffd-b2bd-6065d7a584e9","requestId":"cd0c869e-3e67-4776-a962-df073de0d95d"}):
app/lib/services/hubspot/imports/create.rb:11:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 15:54:59 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ug76mUL+ygsPATZroUTGygiCmhXnD3H5GWeGECL7F9vAqH2xRFA8vVfKHkNq96a13srCjjkP6IlNqUefw8zqNw==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 2373803ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 500
Response headers: {"date"=>"Mon, 11 May 2020 13:34:33 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"151", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dfe2ca75671eca021ba50d5003a2ee6481589204072; expires=Wed, 10-Jun-20 13:34:32 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BAC4398D21D8B11B41F515CF163D1F101F692FAEC89AD3D197326811B01", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591c472fe8a2f2a4-WAW", "cf-request-id"=>"02a58ad1f10000f2a4bb285200000001"}
Response body: {"status":"error","message":"internal error","correlationId":"3c370603-82ac-44ff-9f0f-8710fc3ecc5f","requestId":"50cdca94-0662-4f3b-9ab8-c0ae68e47743"}):
app/lib/services/hubspot/imports/create.rb:12:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 16:34:42 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ug76mUL+ygsPATZroUTGygiCmhXnD3H5GWeGECL7F9vAqH2xRFA8vVfKHkNq96a13srCjjkP6IlNqUefw8zqNw==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
NoMethodError (undefined method `tempfile' for "firstname,email\ntanas45566,tanas455665@hubspot.com":String):
app/lib/services/hubspot/imports/create.rb:11:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 16:39:35 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ug76mUL+ygsPATZroUTGygiCmhXnD3H5GWeGECL7F9vAqH2xRFA8vVfKHkNq96a13srCjjkP6IlNqUefw8zqNw==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 14303ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 500
Response headers: {"date"=>"Mon, 11 May 2020 13:39:50 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"151", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=df084c3539809dde392a95d9e5169c2ed1589204389; expires=Wed, 10-Jun-20 13:39:49 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B564DD0F83CF1E64EA37436D679C0C9508651358A7AB2C66E5C2FD0EE01", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591c4eed5aa4b85d-WAW", "cf-request-id"=>"02a58fa8520000b85dd7322200000001"}
Response body: {"status":"error","message":"internal error","correlationId":"ac3f74b9-0b08-419c-aca9-41953034fb56","requestId":"86644d7a-6051-4bda-9183-747ed992b52a"}):
app/lib/services/hubspot/imports/create.rb:11:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 16:41:30 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ug76mUL+ygsPATZroUTGygiCmhXnD3H5GWeGECL7F9vAqH2xRFA8vVfKHkNq96a13srCjjkP6IlNqUefw8zqNw==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 13654161ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 500
Response headers: {"date"=>"Mon, 11 May 2020 17:29:04 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"151", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dc332650c64aff741328d59beb39be8201589218144; expires=Wed, 10-Jun-20 17:29:04 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BC20E2A560B0676359E53EC56D111EB97B7EE24DDD84449CDEAA846FB01", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591d9eba5c2bb88d-WAW", "cf-request-id"=>"02a661887b0000b88d478e5200000001"}
Response body: {"status":"error","message":"internal error","correlationId":"ac8ab287-5720-4cf3-8e37-0f158ee65c87","requestId":"1c45a2ed-640d-4462-b575-d30dc5dc0d0b"}):
app/lib/services/hubspot/imports/create.rb:12:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started GET "/imports/new" for ::1 at 2020-05-11 20:29:06 +0300
Processing by ImportsController#new as HTML
Rendering imports/new.html.erb within layouts/application
Rendered imports/new.html.erb within layouts/application (0.8ms)
Rendered shared/_header.html.erb (0.2ms)
Completed 200 OK in 36ms (Views: 34.4ms | ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-11 21:03:27 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HkNPhfQcJhb8jE2yx4ZgGPvMAOtP5MwWAx707v7HAe2M5cit8rLQoKRHZZoMNQBnLYRYcJHkVWZX0DVhH/D8AQ==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 1062423ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 500
Response headers: {"date"=>"Mon, 11 May 2020 18:21:10 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"151", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d5c3cc478df83dd200013922d254a613a1589221269; expires=Wed, 10-Jun-20 18:21:09 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B0976E8DAB8C929B880E466733C3C58359DF06E806FF5261CF447A78301", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591deb092ff2ccaf-WAW", "cf-request-id"=>"02a69139b50000ccaf973c8200000001"}
Response body: {"status":"error","message":"internal error","correlationId":"ae66ec49-57cc-4b17-b768-954cd2497cde","requestId":"43950658-d290-45d0-8623-8d3256e3e461"}):
app/lib/services/hubspot/imports/create.rb:12:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 21:21:54 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HkNPhfQcJhb8jE2yx4ZgGPvMAOtP5MwWAx707v7HAe2M5cit8rLQoKRHZZoMNQBnLYRYcJHkVWZX0DVhH/D8AQ==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 265ms (ActiveRecord: 0.0ms)
NameError (undefined local variable or method `file' for #
Did you mean? @file):
app/lib/services/hubspot/imports/create.rb:11:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 21:22:03 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HkNPhfQcJhb8jE2yx4ZgGPvMAOtP5MwWAx707v7HAe2M5cit8rLQoKRHZZoMNQBnLYRYcJHkVWZX0DVhH/D8AQ==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 366ms (ActiveRecord: 0.0ms)
NoMethodError (undefined method `path' for "firstname,email\ntanas45566,tanas455665@hubspot.com":String
Did you mean? pathmap):
app/lib/services/hubspot/imports/create.rb:11:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 21:22:20 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HkNPhfQcJhb8jE2yx4ZgGPvMAOtP5MwWAx707v7HAe2M5cit8rLQoKRHZZoMNQBnLYRYcJHkVWZX0DVhH/D8AQ==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 263944ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 500
Response headers: {"date"=>"Mon, 11 May 2020 18:26:44 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"151", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d2a1447cf391c4c3aa6f6e1be770ad2761589221604; expires=Wed, 10-Jun-20 18:26:44 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B2D7B0ACAE31114509F3068933714F978FBA044225D649CC846AF223F01", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"591df331f9a4cc9f-WAW", "cf-request-id"=>"02a696533b0000cc9f2cbfa200000001"}
Response body: {"status":"error","message":"internal error","correlationId":"61202ec7-6c15-4f42-a7ae-5df8ffa02d67","requestId":"eef36468-aae5-4535-afe9-a45b43c58e6c"}):
app/lib/services/hubspot/imports/create.rb:11:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-11 21:34:58 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HkNPhfQcJhb8jE2yx4ZgGPvMAOtP5MwWAx707v7HAe2M5cit8rLQoKRHZZoMNQBnLYRYcJHkVWZX0DVhH/D8AQ==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
No template found for ImportsController#create, rendering head :no_content
Completed 204 No Content in 335990ms (ActiveRecord: 0.0ms)
Started GET "/" for ::1 at 2020-05-11 21:40:59 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (1.7ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 11725ms (Views: 47.3ms | ActiveRecord: 0.0ms)
Started GET "/imports/9221388" for ::1 at 2020-05-11 21:53:33 +0300
AbstractController::ActionNotFound (The action 'show' could not be found for ImportsController):
actionpack (5.2.3) lib/abstract_controller/base.rb:129:in `process'
actionview (5.2.3) lib/action_view/rendering.rb:32:in `process'
actionpack (5.2.3) lib/action_controller/metal.rb:191:in `dispatch'
actionpack (5.2.3) lib/action_controller/metal.rb:252:in `dispatch'
actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:34:in `serve'
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
rack (2.2.2) lib/rack/tempfile_reaper.rb:15:in `call'
rack (2.2.2) lib/rack/etag.rb:27:in `call'
rack (2.2.2) lib/rack/conditional_get.rb:27:in `call'
rack (2.2.2) lib/rack/head.rb:12:in `call'
actionpack (5.2.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
rack (2.2.2) lib/rack/session/abstract/id.rb:266:in `context'
rack (2.2.2) lib/rack/session/abstract/id.rb:260:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'
activerecord (5.2.3) lib/active_record/migration.rb:559:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
rack (2.2.2) lib/rack/method_override.rb:24:in `call'
rack (2.2.2) lib/rack/runtime.rb:22:in `call'
activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
rack (2.2.2) lib/rack/sendfile.rb:110:in `call'
railties (5.2.3) lib/rails/engine.rb:524:in `call'
puma (4.3.1) lib/puma/configuration.rb:228:in `call'
puma (4.3.1) lib/puma/server.rb:681:in `handle_request'
puma (4.3.1) lib/puma/server.rb:472:in `process_client'
puma (4.3.1) lib/puma/server.rb:328:in `block in run'
puma (4.3.1) lib/puma/thread_pool.rb:134:in `block in spawn_thread'
Started GET "/" for ::1 at 2020-05-11 21:53:36 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (8.7ms)
Rendered shared/_header.html.erb (0.2ms)
Completed 200 OK in 1117ms (Views: 301.3ms | ActiveRecord: 0.0ms)
Started GET "/" for ::1 at 2020-05-18 13:55:06 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (8.0ms)
Rendered shared/_header.html.erb (0.2ms)
Completed 200 OK in 1171ms (Views: 361.3ms | ActiveRecord: 0.0ms)
Started GET "/imports/new" for ::1 at 2020-05-18 14:03:11 +0300
Processing by ImportsController#new as HTML
Rendering imports/new.html.erb within layouts/application
Rendered imports/new.html.erb within layouts/application (5.1ms)
Rendered shared/_header.html.erb (0.6ms)
Completed 200 OK in 75ms (Views: 68.4ms | ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-18 14:04:41 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"xr20661c3V8Nci0pSHeiUy0penqhQq8etyYh4c+sjwVUGzPDq/Ir6VW5BQGDxMIs+2Ei4X9CNm7j6OBuLpty6Q==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 693ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 500
Response headers: {"date"=>"Mon, 18 May 2020 11:04:42 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"100", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d483ebbe20ab0e2a717e1d15d815ba9241589799881; expires=Wed, 17-Jun-20 11:04:41 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BA48E9426AED9370358A58B6C7110E66C2FDFD22979C0D7B923FAB67E01", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"5955194d2a79cc93-WAW", "cf-request-id"=>"02c90e243b0000cc93f3abd200000001"}
Response body: {"status":"error","message":"internal error","correlationId":"c07a762b-a224-44cf-a5b5-88f7d2723932"}):
app/lib/services/hubspot/imports/create.rb:11:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-18 15:41:49 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"xr20661c3V8Nci0pSHeiUy0penqhQq8etyYh4c+sjwVUGzPDq/Ir6VW5BQGDxMIs+2Ei4X9CNm7j6OBuLpty6Q==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 153805ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 500
Response headers: {"date"=>"Mon, 18 May 2020 12:44:22 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"100", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d378c4edba0085dbbc754547e2e9c8a001589805862; expires=Wed, 17-Jun-20 12:44:22 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B9C355E9A875A863C222CC61165E504EB6A2402EC1A0202047AB3D9CE01", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"5955ab515de9f2c0-WAW", "cf-request-id"=>"02c96966d80000f2c0a884c200000001"}
Response body: {"status":"error","message":"internal error","correlationId":"d234e3a7-0e53-4706-a087-b6c6421f0c8c"}):
app/lib/services/hubspot/imports/create.rb:12:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-18 15:44:47 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"xr20661c3V8Nci0pSHeiUy0penqhQq8etyYh4c+sjwVUGzPDq/Ir6VW5BQGDxMIs+2Ei4X9CNm7j6OBuLpty6Q==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 2862ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 500
Response headers: {"date"=>"Mon, 18 May 2020 12:44:50 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"100", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d303afb1b11c1f4aefd130f9dc8dafb2c1589805889; expires=Wed, 17-Jun-20 12:44:49 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BA2EA5C589D7FE26645D77AFFCDB2781EE7AB61CABD3E6903EF1F754A01", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"5955abfbf8ebf2b4-WAW", "cf-request-id"=>"02c969d17e0000f2b49725e200000001"}
Response body: {"status":"error","message":"internal error","correlationId":"c8416df9-7a97-4124-9753-94e7b0677558"}):
app/lib/services/hubspot/imports/create.rb:12:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-18 15:45:15 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"xr20661c3V8Nci0pSHeiUy0penqhQq8etyYh4c+sjwVUGzPDq/Ir6VW5BQGDxMIs+2Ei4X9CNm7j6OBuLpty6Q==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 111612ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 500
Response headers: {"date"=>"Mon, 18 May 2020 12:47:07 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"100", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d4c800bd05393f8ba4ff871562b8af4f71589806027; expires=Wed, 17-Jun-20 12:47:07 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B61F3844A3E564A83C005B4375317E4AA149032078C825DEAE6C027A901", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"5955af575d31cca3-WAW", "cf-request-id"=>"02c96bea980000cca3a99b3200000001"}
Response body: {"status":"error","message":"internal error","correlationId":"5e007aaf-7b04-47f9-8255-b668559923c7"}):
app/lib/services/hubspot/imports/create.rb:12:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-18 15:47:37 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"xr20661c3V8Nci0pSHeiUy0penqhQq8etyYh4c+sjwVUGzPDq/Ir6VW5BQGDxMIs+2Ei4X9CNm7j6OBuLpty6Q==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 18529ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 400
Response headers: {"date"=>"Mon, 18 May 2020 12:47:56 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"108", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dc55a6e38c9ba425217751bc851c8d16d1589806076; expires=Wed, 17-Jun-20 12:47:56 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B8B71A6C6A0FC8A24D4728907E5CC9C4B3557A3281AFD84C05B0ADEAA01", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"5955b0876b94f2c8-WAW", "cf-request-id"=>"02c96ca89d0000f2c8942b3200000001"}
Response body: {"status":"error","message":"Unable to process JSON","correlationId":"6184e99e-5464-48dd-9da2-bedd57efac9a"}):
app/lib/services/hubspot/imports/create.rb:12:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-18 15:48:06 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"xr20661c3V8Nci0pSHeiUy0penqhQq8etyYh4c+sjwVUGzPDq/Ir6VW5BQGDxMIs+2Ei4X9CNm7j6OBuLpty6Q==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
No template found for ImportsController#create, rendering head :no_content
Completed 204 No Content in 22258ms (ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-18 15:53:51 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"xr20661c3V8Nci0pSHeiUy0penqhQq8etyYh4c+sjwVUGzPDq/Ir6VW5BQGDxMIs+2Ei4X9CNm7j6OBuLpty6Q==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
No template found for ImportsController#create, rendering head :no_content
Completed 204 No Content in 14611ms (ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-18 15:54:32 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"xr20661c3V8Nci0pSHeiUy0penqhQq8etyYh4c+sjwVUGzPDq/Ir6VW5BQGDxMIs+2Ei4X9CNm7j6OBuLpty6Q==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Redirected to http://localhost:3000/imports
Completed 302 Found in 12802ms (ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-18 15:54:45 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (5.0ms)
Rendered shared/_header.html.erb (0.2ms)
Completed 200 OK in 561ms (Views: 307.8ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-18 15:55:12 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (8.7ms)
Rendered shared/_header.html.erb (0.5ms)
Completed 200 OK in 648949ms (Views: 77.4ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-18 16:06:04 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (4.1ms)
Rendered shared/_header.html.erb (1.0ms)
Completed 200 OK in 546ms (Views: 77.9ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-18 16:06:50 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (5.3ms)
Rendered shared/_header.html.erb (0.9ms)
Completed 200 OK in 496ms (Views: 92.2ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-18 16:07:12 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (6.1ms)
Rendered shared/_header.html.erb (3.7ms)
Completed 200 OK in 456ms (Views: 88.6ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-18 16:07:45 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (6.2ms)
Rendered shared/_header.html.erb (0.9ms)
Completed 200 OK in 428ms (Views: 95.6ms | ActiveRecord: 0.0ms)
Started GET "/imports/9221388" for ::1 at 2020-05-18 16:07:48 +0300
AbstractController::ActionNotFound (The action 'show' could not be found for ImportsController):
actionpack (5.2.3) lib/abstract_controller/base.rb:129:in `process'
actionview (5.2.3) lib/action_view/rendering.rb:32:in `process'
actionpack (5.2.3) lib/action_controller/metal.rb:191:in `dispatch'
actionpack (5.2.3) lib/action_controller/metal.rb:252:in `dispatch'
actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:34:in `serve'
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
rack (2.2.2) lib/rack/tempfile_reaper.rb:15:in `call'
rack (2.2.2) lib/rack/etag.rb:27:in `call'
rack (2.2.2) lib/rack/conditional_get.rb:27:in `call'
rack (2.2.2) lib/rack/head.rb:12:in `call'
actionpack (5.2.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
rack (2.2.2) lib/rack/session/abstract/id.rb:266:in `context'
rack (2.2.2) lib/rack/session/abstract/id.rb:260:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'
activerecord (5.2.3) lib/active_record/migration.rb:559:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
rack (2.2.2) lib/rack/method_override.rb:24:in `call'
rack (2.2.2) lib/rack/runtime.rb:22:in `call'
activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
rack (2.2.2) lib/rack/sendfile.rb:110:in `call'
railties (5.2.3) lib/rails/engine.rb:524:in `call'
puma (4.3.1) lib/puma/configuration.rb:228:in `call'
puma (4.3.1) lib/puma/server.rb:681:in `handle_request'
puma (4.3.1) lib/puma/server.rb:472:in `process_client'
puma (4.3.1) lib/puma/server.rb:328:in `block in run'
puma (4.3.1) lib/puma/thread_pool.rb:134:in `block in spawn_thread'
Started GET "/imports/new" for ::1 at 2020-05-18 16:07:50 +0300
Processing by ImportsController#new as HTML
Rendering imports/new.html.erb within layouts/application
Rendered imports/new.html.erb within layouts/application (3.6ms)
Rendered shared/_header.html.erb (0.6ms)
Completed 200 OK in 66ms (Views: 62.5ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-18 16:08:19 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (3.2ms)
Rendered shared/_header.html.erb (1.0ms)
Completed 200 OK in 862ms (Views: 83.6ms | ActiveRecord: 0.0ms)
Started GET "/imports/new" for ::1 at 2020-05-18 16:08:26 +0300
Processing by ImportsController#new as HTML
Rendering imports/new.html.erb within layouts/application
Rendered imports/new.html.erb within layouts/application (5.4ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 61ms (Views: 54.2ms | ActiveRecord: 0.0ms)
Started GET "/imports/new" for ::1 at 2020-05-18 16:09:47 +0300
Processing by ImportsController#new as HTML
Rendering imports/new.html.erb within layouts/application
Rendered imports/new.html.erb within layouts/application (1.1ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 25ms (Views: 21.4ms | ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-18 16:09:51 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"8WC+O1zUJhVsQ3JaKpz0CEb0mRPFoWYHMxBbTBwfAZNjxjkTWnrQozSIWnLhL5R3kLzBiBuh/3dn3prD/Sj8fw==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)
NameError (undefined local variable or method `value' for #):
app/lib/services/hubspot/imports/create.rb:7:in `initialize'
app/controllers/imports_controller.rb:14:in `new'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-18 16:10:01 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"8WC+O1zUJhVsQ3JaKpz0CEb0mRPFoWYHMxBbTBwfAZNjxjkTWnrQozSIWnLhL5R3kLzBiBuh/3dn3prD/Sj8fw==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 30470ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 400
Response headers: {"date"=>"Mon, 18 May 2020 13:10:32 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"161", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d2b7fdac326eebee282865dfa92dca3fb1589807432; expires=Wed, 17-Jun-20 13:10:32 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BDF7BA226309D80351F95CD51627B064427038C57CE98C3046D2CF72601", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"5955d1a33eeef288-WAW", "cf-request-id"=>"02c9815a060000f288fb38e200000001"}
Response body: {"status":"error","message":"Import cannot be processed without file data!","correlationId":"31bc7bf0-b52b-411b-b79c-1a37a7e5ee5c","category":"VALIDATION_ERROR"}):
app/lib/services/hubspot/imports/create.rb:18:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-18 16:53:02 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"8WC+O1zUJhVsQ3JaKpz0CEb0mRPFoWYHMxBbTBwfAZNjxjkTWnrQozSIWnLhL5R3kLzBiBuh/3dn3prD/Sj8fw==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 99525ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 500
Response headers: {"date"=>"Mon, 18 May 2020 13:54:41 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"100", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d8e4356be7dc7fda64714694100161b6f1589810081; expires=Wed, 17-Jun-20 13:54:41 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B36B0616264145D6B86F8A166C70C25A0C6BB7F8983705A06BA05601A01", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"595612523ffbcca7-WAW", "cf-request-id"=>"02c9a9c75f0000cca7f8027200000001"}
Response body: {"status":"error","message":"internal error","correlationId":"13fdb56d-c700-4cfb-8382-c73e701fac2b"}):
app/lib/services/hubspot/imports/create.rb:18:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-18 16:54:56 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"8WC+O1zUJhVsQ3JaKpz0CEb0mRPFoWYHMxBbTBwfAZNjxjkTWnrQozSIWnLhL5R3kLzBiBuh/3dn3prD/Sj8fw==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 2519561ms (ActiveRecord: 0.0ms)
Hubspot::Crm::Imports::ApiError (Error message: the server returns an error
HTTP status code: 500
Response headers: {"date"=>"Mon, 18 May 2020 14:36:55 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"100", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d128439db770cd9166ed8ca8813bf944a1589812615; expires=Wed, 17-Jun-20 14:36:55 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BF680513AFF7124A3DD19B5E807ECCA8A2EB54DCFD94845884FECDB3E01", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "expect-ct"=>"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "strict-transport-security"=>"max-age=31536000; includeSubDomains; preload", "server"=>"cloudflare", "cf-ray"=>"5956502c29bacc93-WAW", "cf-request-id"=>"02c9d06f990000cc93fa924200000001"}
Response body: {"status":"error","message":"internal error","correlationId":"5676e0ed-fc3c-459d-a300-5860e4316ec0"}):
app/lib/services/hubspot/imports/create.rb:19:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-18 17:36:57 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"8WC+O1zUJhVsQ3JaKpz0CEb0mRPFoWYHMxBbTBwfAZNjxjkTWnrQozSIWnLhL5R3kLzBiBuh/3dn3prD/Sj8fw==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)
Errno::ENOENT (No such file or directory @ rb_sysopen - public/files/upload/test001.csv):
app/lib/services/hubspot/imports/create.rb:53:in `initialize'
app/lib/services/hubspot/imports/create.rb:53:in `open'
app/lib/services/hubspot/imports/create.rb:53:in `convert_file'
app/lib/services/hubspot/imports/create.rb:7:in `initialize'
app/controllers/imports_controller.rb:14:in `new'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-18 17:37:42 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"8WC+O1zUJhVsQ3JaKpz0CEb0mRPFoWYHMxBbTBwfAZNjxjkTWnrQozSIWnLhL5R3kLzBiBuh/3dn3prD/Sj8fw==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)
Errno::ENOENT (No such file or directory @ rb_sysopen - public/files/upload/test001.csv):
app/lib/services/hubspot/imports/create.rb:53:in `initialize'
app/lib/services/hubspot/imports/create.rb:53:in `open'
app/lib/services/hubspot/imports/create.rb:53:in `convert_file'
app/lib/services/hubspot/imports/create.rb:7:in `initialize'
app/controllers/imports_controller.rb:14:in `new'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-18 17:38:33 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"8WC+O1zUJhVsQ3JaKpz0CEb0mRPFoWYHMxBbTBwfAZNjxjkTWnrQozSIWnLhL5R3kLzBiBuh/3dn3prD/Sj8fw==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
Errno::ENOENT (No such file or directory @ rb_file_s_rename - (/tmp/RackMultipart20200518-23603-vyk7ks.csv, public/uploads/test001.csv)):
app/lib/services/hubspot/imports/create.rb:53:in `convert_file'
app/lib/services/hubspot/imports/create.rb:7:in `initialize'
app/controllers/imports_controller.rb:14:in `new'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-18 17:39:07 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"8WC+O1zUJhVsQ3JaKpz0CEb0mRPFoWYHMxBbTBwfAZNjxjkTWnrQozSIWnLhL5R3kLzBiBuh/3dn3prD/Sj8fw==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 88171ms (ActiveRecord: 0.0ms)
NoMethodError (undefined method `original_filename' for 0:Integer):
app/lib/services/hubspot/imports/create.rb:19:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-18 17:40:38 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"8WC+O1zUJhVsQ3JaKpz0CEb0mRPFoWYHMxBbTBwfAZNjxjkTWnrQozSIWnLhL5R3kLzBiBuh/3dn3prD/Sj8fw==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 7166ms (ActiveRecord: 0.0ms)
NoMethodError (undefined method `original_filename' for #):
app/lib/services/hubspot/imports/create.rb:19:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-18 17:41:04 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"8WC+O1zUJhVsQ3JaKpz0CEb0mRPFoWYHMxBbTBwfAZNjxjkTWnrQozSIWnLhL5R3kLzBiBuh/3dn3prD/Sj8fw==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Completed 500 Internal Server Error in 15563ms (ActiveRecord: 0.0ms)
NoMethodError (undefined method `original_filename' for #):
app/lib/services/hubspot/imports/create.rb:19:in `call'
app/controllers/imports_controller.rb:14:in `create'
Started POST "/imports" for ::1 at 2020-05-18 17:42:00 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"8WC+O1zUJhVsQ3JaKpz0CEb0mRPFoWYHMxBbTBwfAZNjxjkTWnrQozSIWnLhL5R3kLzBiBuh/3dn3prD/Sj8fw==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Redirected to http://localhost:3000/imports
Completed 302 Found in 19379ms (ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-18 17:42:20 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (7.8ms)
Rendered shared/_header.html.erb (0.5ms)
Completed 200 OK in 707ms (Views: 338.7ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-18 17:42:23 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (7.0ms)
Rendered shared/_header.html.erb (0.6ms)
Completed 200 OK in 421ms (Views: 82.0ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-18 17:42:26 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (7.0ms)
Rendered shared/_header.html.erb (1.3ms)
Completed 200 OK in 411ms (Views: 87.0ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-18 17:42:28 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (7.6ms)
Rendered shared/_header.html.erb (0.9ms)
Completed 200 OK in 441ms (Views: 97.1ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-18 19:46:12 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (3.9ms)
Rendered shared/_header.html.erb (0.5ms)
Completed 200 OK in 847ms (Views: 70.7ms | ActiveRecord: 0.0ms)
Started GET "/imports/new" for ::1 at 2020-05-18 19:46:17 +0300
Processing by ImportsController#new as HTML
Rendering imports/new.html.erb within layouts/application
Rendered imports/new.html.erb within layouts/application (2.0ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 45ms (Views: 42.1ms | ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-18 19:46:21 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"ELzO0rJ3f8BbWqrGWf3jnivB4H8GUtzqZYG9p7gtZBKCGkn6tNmJdgORgu6SToPh/Ym45NhSRZoxT3woWRqZ/g==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Redirected to http://localhost:3000/imports
Completed 302 Found in 13474ms (ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-18 19:46:35 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (5.2ms)
Rendered shared/_header.html.erb (1.7ms)
Completed 200 OK in 762ms (Views: 53.4ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-18 19:46:45 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (3.5ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 626ms (Views: 318.8ms | ActiveRecord: 0.0ms)
Started GET "/imports/new" for ::1 at 2020-05-18 19:46:48 +0300
Processing by ImportsController#new as HTML
Rendering imports/new.html.erb within layouts/application
Rendered imports/new.html.erb within layouts/application (0.7ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-18 19:46:52 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"llPSk3IOfBrG1lvcZWqLQcMbiPiKxKD0OdAOWlrwkMkE9VW7dKCKrJ4dc/Su2es+FVPQY1TEOYRtHs/Vu8dtJQ==", "file"=>#, @original_filename="test001.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test001.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Save"}
Redirected to http://localhost:3000/imports
Completed 302 Found in 10376ms (ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-18 19:47:02 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (3.9ms)
Rendered shared/_header.html.erb (0.6ms)
Completed 200 OK in 444ms (Views: 68.1ms | ActiveRecord: 0.0ms)
Started GET "/" for ::1 at 2020-05-20 14:13:26 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (2.2ms)
Rendered shared/_header.html.erb (0.2ms)
Completed 200 OK in 1108ms (Views: 354.7ms | ActiveRecord: 0.0ms)
Started GET "/download" for ::1 at 2020-05-20 14:13:30 +0300
Processing by ImportsController#download_example as HTML
Sent file public/examples/example (0.3ms)
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
ActionController::MissingFile (Cannot read file public/examples/example):
app/controllers/imports_controller.rb:19:in `download_example'
Started GET "/" for ::1 at 2020-05-20 14:13:50 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (3.0ms)
Rendered shared/_header.html.erb (0.5ms)
Completed 200 OK in 380ms (Views: 45.4ms | ActiveRecord: 0.0ms)
Started GET "/download" for ::1 at 2020-05-20 14:13:51 +0300
Processing by ImportsController#download_example as HTML
Sent file public/examples/example.csv (0.2ms)
Completed 202 Accepted in 1ms (ActiveRecord: 0.0ms)
Started POST "/import/do.php" for ::1 at 2020-05-20 14:30:42 +0300
ActionController::RoutingError (No route matches [POST] "/import/do.php"):
actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
rack (2.2.2) lib/rack/method_override.rb:24:in `call'
rack (2.2.2) lib/rack/runtime.rb:22:in `call'
activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
rack (2.2.2) lib/rack/sendfile.rb:110:in `call'
railties (5.2.3) lib/rails/engine.rb:524:in `call'
puma (4.3.1) lib/puma/configuration.rb:228:in `call'
puma (4.3.1) lib/puma/server.rb:681:in `handle_request'
puma (4.3.1) lib/puma/server.rb:472:in `process_client'
puma (4.3.1) lib/puma/server.rb:328:in `block in run'
puma (4.3.1) lib/puma/thread_pool.rb:134:in `block in spawn_thread'
Started GET "/" for ::1 at 2020-05-20 14:31:01 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (5.6ms)
Rendered shared/_header.html.erb (0.8ms)
Completed 200 OK in 707ms (Views: 89.1ms | ActiveRecord: 0.0ms)
Started GET "/" for ::1 at 2020-05-20 14:31:22 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (4.7ms)
Rendered shared/_header.html.erb (1.2ms)
Completed 200 OK in 643ms (Views: 91.3ms | ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-20 14:31:29 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"eLUnkjEUejAHsLZ2ucfN3BSdjSNNYHm2dKTP/AKTiObqE6C6N7qMhl97nl5ydK2jwtXVuJNg4MYgag5z46R1Cg==", "file"=>#, @original_filename="test.rb", @content_type="application/x-ruby", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.rb\"\r\nContent-Type: application/x-ruby\r\n">, "commit"=>"Upload"}
Redirected to http://localhost:3000/imports
Completed 302 Found in 10402ms (ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:31:40 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (7.5ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 475ms (Views: 69.0ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:31:45 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (19.1ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 383ms (Views: 114.4ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:34:18 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (1.0ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 23ms (Views: 20.5ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:35:32 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (1.3ms)
Rendered shared/_header.html.erb (0.2ms)
Completed 200 OK in 19ms (Views: 14.7ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:35:52 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (1.5ms)
Rendered shared/_header.html.erb (0.2ms)
Completed 200 OK in 25ms (Views: 22.9ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:36:21 +0300
ActionController::RoutingError (No route matches [GET] "/imports"):
actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
rack (2.2.2) lib/rack/method_override.rb:24:in `call'
rack (2.2.2) lib/rack/runtime.rb:22:in `call'
activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
rack (2.2.2) lib/rack/sendfile.rb:110:in `call'
railties (5.2.3) lib/rails/engine.rb:524:in `call'
puma (4.3.1) lib/puma/configuration.rb:228:in `call'
puma (4.3.1) lib/puma/server.rb:681:in `handle_request'
puma (4.3.1) lib/puma/server.rb:472:in `process_client'
puma (4.3.1) lib/puma/server.rb:328:in `block in run'
puma (4.3.1) lib/puma/thread_pool.rb:134:in `block in spawn_thread'
Started GET "/imports" for ::1 at 2020-05-20 14:36:38 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (0.8ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 20ms (Views: 18.0ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:37:06 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (11.0ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 92ms (Views: 87.4ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:37:32 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (1.1ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 23ms (Views: 21.8ms | ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-20 14:37:50 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"L0oer4DMnnPR6GaD8L++92XKlVdWKz3fKNVVXhf3Ia697JmHhmJoxYkjTqs7DN6Is4LNzIgrpK98G5TR9sDcQg==", "file"=>#, @original_filename="test.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"test.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Upload"}
Redirected to http://localhost:3000/imports
Completed 302 Found in 10487ms (ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:38:00 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (4.5ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 77ms (Views: 70.1ms | ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-20 14:38:42 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"v1ATmA6TZpe5S3TR4k5ye8Mw0ZMIHFIpaRV8Yy2A1qot9pSwCD2QIeGAXPkp/RIEFXiJCNYcy1k9273szLcrRg==", "file"=>#, @original_filename="example.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"example.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Upload"}
Redirected to http://localhost:3000/imports
Completed 302 Found in 10533ms (ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:38:52 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (3.5ms)
Rendered shared/_header.html.erb (0.8ms)
Completed 200 OK in 64ms (Views: 59.4ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:40:06 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (1.9ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 28ms (Views: 21.6ms | ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-20 14:40:12 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"iFjHsk8sDkbEQ/qxuIoPbbqAD2XMnJ297uWIeaivOfca/kCaSYL48JyI0plzOW8SbMhX/hKcBM26K0n2SZjEGw==", "file"=>#, @original_filename="example (1).csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"example (1).csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Upload"}
Redirected to http://localhost:3000/imports
Completed 302 Found in 10534ms (ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:40:23 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (8.9ms)
Rendered shared/_header.html.erb (0.5ms)
Completed 200 OK in 79ms (Views: 74.3ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:41:35 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (1.2ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 22ms (Views: 18.2ms | ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-20 14:41:39 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"eFnQDYuFCZf5ebN2Id9rr+AL6Msw1Dvr2uN2f6IwOz3q/1cljSv/IaGym17qbAvQNkOwUO7UopuOLbfwQwfG0Q==", "file"=>#, @original_filename="example.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"example.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Upload"}
Redirected to http://localhost:3000/imports
Completed 302 Found in 10455ms (ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:41:50 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (6.3ms)
Rendered shared/_header.html.erb (2.3ms)
Completed 200 OK in 72ms (Views: 66.0ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:42:10 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (2.9ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 32ms (Views: 28.5ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:43:59 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (4.8ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 54ms (Views: 48.5ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:44:16 +0300
Processing by ImportsController#index as HTML
Redirected to http://localhost:3000/login
Filter chain halted as :authorize rendered or redirected
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
Started GET "/login" for ::1 at 2020-05-20 14:44:16 +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 (0.5ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 21ms (Views: 20.1ms | ActiveRecord: 0.0ms)
Started GET "/login" for ::1 at 2020-05-20 14:58:12 +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 (0.6ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 233ms (Views: 232.1ms | ActiveRecord: 0.0ms)
Started GET "/login" for ::1 at 2020-05-20 14:58:18 +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 (0.7ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 55ms (Views: 53.3ms | ActiveRecord: 0.0ms)
Started GET "/login" for ::1 at 2020-05-20 14:58:28 +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 (0.4ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 15.4ms | ActiveRecord: 0.0ms)
Started GET "/oauth" for ::1 at 2020-05-20 14:58:30 +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=crm.import&
Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
Started GET "/oauth/callback?code=f731d2c6-085c-4edd-827b-649afdac117b" for ::1 at 2020-05-20 14:58:34 +0300
Processing by Oauth::AuthorizationController#callback as HTML
Parameters: {"code"=>"f731d2c6-085c-4edd-827b-649afdac117b"}
Redirected to http://localhost:3000/imports
Completed 302 Found in 270ms (ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:58:34 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (1.9ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 29ms (Views: 25.1ms | ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-20 14:58:41 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"LpqF+irb/U+QN5iGoDxHDBDC8XECYkCAcnksih6gUcMAu3vxB982LGMdGytjkvDxQMSUTADINW3yiNIOUdmmng==", "file"=>#, @original_filename="example.csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"example.csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Upload"}
Redirected to http://localhost:3000/imports
Completed 302 Found in 10508ms (ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 14:58:51 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (6.5ms)
Rendered shared/_header.html.erb (0.3ms)
Completed 200 OK in 72ms (Views: 63.3ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 15:24:09 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (1.1ms)
Rendered shared/_header.html.erb (0.2ms)
Completed 200 OK in 21ms (Views: 17.3ms | ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-05-20 15:24:14 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Lwoqm+EodhX5VnTyyz1xFxE5plFS4L0Fv4vU7k5htJEBK9SQzCy9dgp8918Ik8bqQT/DbFBKyOg/eipqARhDzA==", "file"=>#, @original_filename="example (1).csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"example (1).csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Upload"}
Redirected to http://localhost:3000/imports
Completed 302 Found in 10442ms (ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 15:24:24 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (4.4ms)
Rendered shared/_header.html.erb (0.6ms)
Completed 200 OK in 76ms (Views: 71.7ms | ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-05-20 15:24:27 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (2.3ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 45ms (Views: 42.0ms | ActiveRecord: 0.0ms)
Started GET "/" for ::1 at 2020-06-01 17:46:02 +0300
Processing by ImportsController#index as HTML
Redirected to http://localhost:3000/login
Filter chain halted as :authorize rendered or redirected
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
Started GET "/login" for ::1 at 2020-06-01 17:46:02 +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 (2.0ms)
Rendered shared/_header.html.erb (0.2ms)
Completed 200 OK in 505ms (Views: 503.9ms | ActiveRecord: 0.0ms)
Started GET "/oauth" for ::1 at 2020-06-01 17:46:09 +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=crm.import&
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
Started GET "/oauth/callback?code=391bbb49-f1ab-454b-ad7d-04188193a940" for ::1 at 2020-06-01 17:46:12 +0300
Processing by Oauth::AuthorizationController#callback as HTML
Parameters: {"code"=>"391bbb49-f1ab-454b-ad7d-04188193a940"}
Redirected to http://localhost:3000/imports
Completed 302 Found in 281ms (ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-06-01 17:46:13 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (1.7ms)
Rendered shared/_header.html.erb (0.6ms)
Completed 200 OK in 32ms (Views: 29.4ms | ActiveRecord: 0.0ms)
Started GET "/download" for ::1 at 2020-06-01 17:46:27 +0300
Processing by ImportsController#download_example as HTML
Sent file public/examples/example.csv (0.2ms)
Completed 202 Accepted in 1ms (ActiveRecord: 0.0ms)
Started POST "/imports" for ::1 at 2020-06-01 17:46:43 +0300
Processing by ImportsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"1X6NAgI2UAHvaG096QANazSc1S2XmcjHG6WaCTCGZp+0DaNgO1NZ4ozAfamf3eqwlCQMExrRrdDBEXjS6cs4pg==", "file"=>#, @original_filename="example (3).csv", @content_type="text/csv", @headers="Content-Disposition: form-data; name=\"file\"; filename=\"example (3).csv\"\r\nContent-Type: text/csv\r\n">, "commit"=>"Upload"}
Redirected to http://localhost:3000/imports
Completed 302 Found in 10434ms (ActiveRecord: 0.0ms)
Started GET "/imports" for ::1 at 2020-06-01 17:46:53 +0300
Processing by ImportsController#index as HTML
Rendering imports/index.html.erb within layouts/application
Rendered imports/index.html.erb within layouts/application (1.1ms)
Rendered shared/_header.html.erb (0.4ms)
Completed 200 OK in 39ms (Views: 37.5ms | ActiveRecord: 0.0ms)