Started GET "/" for ::1 at 2020-08-17 17:55:46 +0300 Processing by CompaniesController#index as HTML Redirected to http://localhost:3000/login Filter chain halted as :authorize rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.0ms) Started GET "/login" for ::1 at 2020-08-17 17:55: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 (1.7ms) Rendered shared/_header.html.erb (0.6ms) Completed 200 OK in 304ms (Views: 303.5ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-08-17 17:55:47 +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 6ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=24547151-0be9-41be-9c65-7d248dee0b2a" for ::1 at 2020-08-17 17:55:52 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"24547151-0be9-41be-9c65-7d248dee0b2a"} Redirected to http://localhost:3000/companies Completed 302 Found in 456ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-08-17 17:55:53 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (3.4ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 603ms (Views: 31.0ms | ActiveRecord: 0.0ms) Started DELETE "/companies/4208705119" for ::1 at 2020-08-17 17:56:02 +0300 Processing by CompaniesController#destroy as HTML Parameters: {"authenticity_token"=>"X5Ig1KvStKoMEaUOlrZU2XBf8FZiaOYEmS27syiZZvvnAWdFpxyFCzAEuX1UFjqTCebv6nA4A5B9S/usNuLQDw==", "id"=>"4208705119"} Redirected to http://localhost:3000/companies Completed 302 Found in 1128ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-08-17 17:56:03 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (6.3ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 425ms (Views: 46.3ms | ActiveRecord: 0.0ms) Started GET "/companies/new" for ::1 at 2020-08-17 17:56:09 +0300 Processing by CompaniesController#new as HTML Rendering companies/new.html.erb within layouts/application Rendered companies/new.html.erb within layouts/application (46.4ms) Rendered shared/_header.html.erb (0.6ms) Completed 200 OK in 98ms (Views: 94.2ms | ActiveRecord: 0.0ms) Started POST "/companies" for ::1 at 2020-08-17 17:56:16 +0300 Processing by CompaniesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"3hLhTvg6i2A9+v/GzPVPfgoMpn8IOFa8wP7NzNAQhA9mgabf9PS6wQHv47UOVSE0c7W5wxposygkmI3Tzmsy+w==", "company"=>{"name"=>"test_com_042", "domain"=>""}, "commit"=>"Save"} Redirected to http://localhost:3000/companies Completed 302 Found in 885ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-08-17 17:56:16 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (10.0ms) Rendered shared/_header.html.erb (0.9ms) Completed 200 OK in 867ms (Views: 71.8ms | ActiveRecord: 0.0ms) Started GET "/companies/export.csv" for ::1 at 2020-08-17 17:56:26 +0300 Processing by CompaniesController#export as CSV Rendering text template Rendered text template (0.1ms) Sent data companies-2020-08-17.csv (4.2ms) Completed 200 OK in 337ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started DELETE "/companies/4335286807" for ::1 at 2020-08-17 17:56:49 +0300 Processing by CompaniesController#destroy as HTML Parameters: {"authenticity_token"=>"ORMLt2EM+0MuOZ6isyS4IS5JdNMQ9m37UUiYcfcrWhOBgEwmbcLK4hIsgtFxhNZrV/BrbwKmiG+1Lthu6VDs5w==", "id"=>"4335286807"} Redirected to http://localhost:3000/companies Completed 302 Found in 1113ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-08-17 17:56:50 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (4.7ms) Rendered shared/_header.html.erb (0.9ms) Completed 200 OK in 543ms (Views: 68.8ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-08-17 17:56:52 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (5.6ms) Rendered shared/_header.html.erb (1.5ms) Completed 200 OK in 472ms (Views: 71.5ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-08-17 17:59:10 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (6.0ms) Rendered shared/_header.html.erb (1.9ms) Completed 200 OK in 435ms (Views: 78.3ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-08-17 17:59:14 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (6.2ms) Rendered shared/_header.html.erb (0.8ms) Completed 200 OK in 682ms (Views: 72.8ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-08-17 17:59:15 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (6.3ms) Rendered shared/_header.html.erb (0.6ms) Completed 200 OK in 492ms (Views: 40.9ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-09-09 12:43:06 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (27.8ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 991ms (Views: 224.9ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-09-09 14:20:01 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (14.9ms) Rendered shared/_header.html.erb (2.0ms) Completed 200 OK in 562ms (Views: 77.9ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-09-09 14:20:24 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (10.8ms) Rendered shared/_header.html.erb (0.9ms) Completed 200 OK in 466ms (Views: 73.4ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-09-09 14:20:27 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (13.3ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 527ms (Views: 92.7ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-09-09 14:20:31 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (18.3ms) Rendered shared/_header.html.erb (0.5ms) Completed 200 OK in 531ms (Views: 81.5ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-09 14:20:34 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 10642ms (ActiveRecord: 0.0ms) Hubspot::Crm::Contacts::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Wed, 09 Sep 2020 11:20:35 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d5deaae0841a07f65fd1bfd5469ace7941599650435; expires=Fri, 09-Oct-20 11:20:35 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B3480C3E178918E523FFDDF2BC1134EA968A1A18B000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"051431a99d0000ffc4ea96c200000001", "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"=>"5d008555c896ffc4-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"5c7ea945-7aed-4e48-b3de-8d3a7dc7f800","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/associations/get_by_id.rb:12:in `call' app/controllers/companies_controller.rb:17:in `show' Started GET "/companies/4371112429" for ::1 at 2020-09-09 15:00:44 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 5267ms (ActiveRecord: 0.0ms) Hubspot::Crm::Contacts::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Wed, 09 Sep 2020 12:00:45 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dc681b5abae2c7d16b5463b172c4b6afc1599652845; expires=Fri, 09-Oct-20 12:00:45 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B1DEB37691A3BEB1F44021FEED71C2AC87C0EA071000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0514566fdc0000f2ccf6a01200000001", "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"=>"5d00c02c9c92f2cc-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"34b277bc-ae67-4d4d-891a-c9df4f5c8124","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/associations/get_by_id.rb:12:in `call' app/controllers/companies_controller.rb:17:in `show' Started GET "/" for ::1 at 2020-09-09 15:00:57 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (21.1ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 771ms (Views: 285.3ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-09-09 15:01:00 +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 5ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=2a7f3988-1d99-4696-948e-481913b92d49" for ::1 at 2020-09-09 15:01:05 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"2a7f3988-1d99-4696-948e-481913b92d49"} Redirected to http://localhost:3000/companies Completed 302 Found in 428ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-09-09 15:01:06 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (13.2ms) Rendered shared/_header.html.erb (1.1ms) Completed 200 OK in 654ms (Views: 94.4ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-09 15:01:09 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 1905ms (ActiveRecord: 0.0ms) Hubspot::Crm::Contacts::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Wed, 09 Sep 2020 12:01:11 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dc54af934c858c0c41fbff40c1c9ecf801599652870; expires=Fri, 09-Oct-20 12:01:10 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B5947480447F6AB0E6BBBA5E625049995F81F0FC9000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"051456d1880000b875d498c200000001", "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"=>"5d00c0c8de5eb875-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"e05690ae-6ee1-4bec-9aca-b44b59a43791","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/associations/get_by_id.rb:12:in `call' app/controllers/companies_controller.rb:17:in `show' Started GET "/companies/4371112429" for ::1 at 2020-09-09 15:12:41 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 1335ms (ActiveRecord: 0.0ms) Hubspot::Crm::Contacts::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Wed, 09 Sep 2020 12:12:42 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dc81ab7649d9e3ae15d25a085a7a58ef71599653562; expires=Fri, 09-Oct-20 12:12:42 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B5C3A5E58143AAB076741CF7D9B0FF0712B7F50D0000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"051461613b0000f2b0879f2200000001", "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"=>"5d00d1aeccaef2b0-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"d34612e9-ca29-4b99-b90f-8c00a327e6a1","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/associations/get_by_id.rb:12:in `call' app/controllers/companies_controller.rb:17:in `show' Started GET "/companies/4371112429" for ::1 at 2020-09-09 15:13:08 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 1368ms (ActiveRecord: 0.0ms) Hubspot::Crm::Contacts::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Wed, 09 Sep 2020 12:13:09 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d689ae4a20e17a10ab52dec38b7586d391599653589; expires=Fri, 09-Oct-20 12:13:09 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BABBD514ED1AA336A597EED4648FF33B0F264CC2F000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"051461c9680000f2c4b124e200000001", "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"=>"5d00d2557bd8f2c4-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"68749d26-f842-4f85-93f3-a9864afc3bcd","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/associations/get_by_id.rb:12:in `call' app/controllers/companies_controller.rb:17:in `show' Started GET "/companies/4371112429" for ::1 at 2020-09-09 15:13:31 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 975ms (ActiveRecord: 0.0ms) Hubspot::Crm::Contacts::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Wed, 09 Sep 2020 12:13:32 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d0a6335f6f773dcc680419bb7dd39f9b61599653612; expires=Fri, 09-Oct-20 12:13:32 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BC971EE423E0F44DAC344603FCA3D0B6EBD8318AD000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05146223710000cc93c8866200000001", "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"=>"5d00d2e58f18cc93-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"07ff9b8c-7146-4621-881a-dbfd4fbb1830","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/associations/get_by_id.rb:12:in `call' app/controllers/companies_controller.rb:18:in `show' Started GET "/companies/4371112429" for ::1 at 2020-09-10 13:31:33 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 25962ms (ActiveRecord: 0.0ms) Hubspot::Crm::Contacts::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Thu, 10 Sep 2020 10:31:59 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d421a7804629cc9ea29d40814a74712a41599733919; expires=Sat, 10-Oct-20 10:31:59 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BC599F13F5FE6FED911AC9926EECC4AC5C83A5F0F000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05192b85ae0000f2d00a8c2200000001", "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"=>"5d087b82b8c2f2d0-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"3ec3acfe-cf65-44ad-accd-339696983a4b","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/associations/get_by_id.rb:13:in `call' app/controllers/companies_controller.rb:18:in `show' Started GET "/" for ::1 at 2020-09-10 13:32:06 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (13.4ms) Rendered shared/_header.html.erb (0.6ms) Completed 200 OK in 1137ms (Views: 241.0ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-09-10 13:32:08 +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 11ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=7a20e123-8736-4479-aa36-72ed1b2958fa" for ::1 at 2020-09-10 13:32:13 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"7a20e123-8736-4479-aa36-72ed1b2958fa"} Redirected to http://localhost:3000/companies Completed 302 Found in 351ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-09-10 13:32:13 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (11.9ms) Rendered shared/_header.html.erb (0.9ms) Completed 200 OK in 402ms (Views: 86.2ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-10 13:32:24 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 9765ms (ActiveRecord: 0.0ms) Hubspot::Crm::Contacts::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Thu, 10 Sep 2020 10:32:33 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=db345e6289b8e546fa197aa7e927f3f401599733953; expires=Sat, 10-Oct-20 10:32:33 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B53C2A7FE34F3D1C4AF326C45BFDAF37E73A02827000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05192c0caf0000f2d433815200000001", "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"=>"5d087c5ab89df2d4-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"c9cb9a43-5ec0-4f39-8101-7edcaf2ddc8b","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/associations/get_by_id.rb:13:in `call' app/controllers/companies_controller.rb:18:in `show' Started GET "/companies/4371112429" for ::1 at 2020-09-10 13:33:11 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (45.0ms) Rendered shared/_header.html.erb (0.8ms) Completed 200 OK in 6116ms (Views: 120.4ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429/contacts" for ::1 at 2020-09-10 13:33:53 +0300 Processing by ContactsController#index as HTML Parameters: {"company_id"=>"4371112429"} Rendering contacts/index.html.erb within layouts/application Rendered contacts/index.html.erb within layouts/application (33.1ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 1518ms (Views: 58.3ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-10 13:34:33 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (5.8ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 1515ms (Views: 56.7ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-10 13:54:25 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (31.9ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 3605659ms (Views: 415.6ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-10 14:54:34 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (6.2ms) Rendered shared/_header.html.erb (1.5ms) Completed 200 OK in 40330ms (Views: 58.4ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-10 14:55:26 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (7.3ms) Rendered shared/_header.html.erb (0.6ms) Completed 200 OK in 2443ms (Views: 84.3ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-10 14:55:41 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (7.0ms) Rendered shared/_header.html.erb (0.8ms) Completed 200 OK in 4497ms (Views: 71.4ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-10 14:56:03 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Started GET "/companies/4371112429" for ::1 at 2020-09-10 14:56:13 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (22.0ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 9066ms (Views: 253.6ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-10 14:56:27 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 47120616ms (ActiveRecord: 0.0ms) Errno::EIO (Input/output error @ io_writev - ): app/lib/services/hubspot/associations/get_by_id.rb:12:in `call' app/controllers/companies_controller.rb:17:in `show' Started GET "/" for ::1 at 2020-09-14 18:50:20 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (6.9ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 1011ms (Views: 180.4ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-14 18:50:25 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 3587371ms (ActiveRecord: 0.0ms) Errno::EIO (Input/output error @ io_write - ): app/lib/services/hubspot/associations/get_by_id.rb:12:in `call' app/controllers/companies_controller.rb:17:in `show' Started GET "/companies/4371112429" for ::1 at 2020-09-15 15:00:17 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 5152504ms (ActiveRecord: 0.0ms) Errno::EIO (Input/output error @ io_writev - ): app/lib/services/hubspot/associations/get_by_id.rb:12:in `call' app/controllers/companies_controller.rb:17:in `show' Started GET "/companies/4371112429" for ::1 at 2020-09-16 19:06:05 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (18.0ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 1803092ms (Views: 255.1ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-09-17 13:12:43 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (23.3ms) Rendered shared/_header.html.erb (0.6ms) Completed 200 OK in 1472ms (Views: 271.6ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-17 13:32:50 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (9.3ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 1194ms (Views: 26.4ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-17 13:33:20 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (24.2ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 22381ms (Views: 196.3ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-17 13:34:16 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (6.3ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 25932ms (Views: 34.4ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-17 13:34:55 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 861ms (ActiveRecord: 0.0ms) Hubspot::Crm::Associations::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Thu, 17 Sep 2020 10:34:56 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"335", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=de2be66bdb04f435469f4049f74e762151600338895; expires=Sat, 17-Oct-20 10:34:55 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"053d3abbb60000ffd41b259200000001", "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"=>"5d422d72bd0effd4-WAW"} Response body: {"status":"error","message":"Invalid input JSON on line 1, column 12: Cannot construct instance of `com.hubspot.apiutils.core.models.PublicObjectId$Json` (although at least one Creator exists): no int/Int-argument constructor/factory method to deserialize from Number value (42)","correlationId":"312c4dc1-4987-450e-a7cc-9661e21f7448"}): app/lib/services/hubspot/associations/get_by_id.rb:22:in `associated_contacts_id_object' app/lib/services/hubspot/associations/get_by_id.rb:10:in `call' app/controllers/companies_controller.rb:17:in `show' Started GET "/companies/4371112429" for ::1 at 2020-09-17 13:35:17 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (4.0ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 8098ms (Views: 36.0ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429/contacts" for ::1 at 2020-09-17 13:35:26 +0300 Processing by ContactsController#index as HTML Parameters: {"company_id"=>"4371112429"} Rendering contacts/index.html.erb within layouts/application Rendered contacts/index.html.erb within layouts/application (38.5ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 5768ms (Views: 71.4ms | ActiveRecord: 0.0ms) Started POST "/companies/4371112429/contacts/manage" for ::1 at 2020-09-17 13:35:38 +0300 Processing by ContactsController#manage as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"gw4ehEMilLBzjBpDFkzqz0aAhdqQ7bXfKk9oeabMKS87nVkVT+ylEU+ZBjDU7ISFPzmaZoK9UEvOKShmuLef2w==", "contacts_ids"=>{"6440"=>"1", "6543"=>"1", "6439"=>"0", "6542"=>"0", "6541"=>"0", "6438"=>"0", "6437"=>"0", "6436"=>"0", "6435"=>"0", "6434"=>"0", "6540"=>"0", "6539"=>"0", "6538"=>"0", "6432"=>"0", "6433"=>"0", "6537"=>"0", "6536"=>"0", "6535"=>"0", "6534"=>"0", "6533"=>"0", "6431"=>"0", "6532"=>"0", "6430"=>"0", "6531"=>"0", "6530"=>"0", "6429"=>"0", "6529"=>"0", "6428"=>"0", "6528"=>"0", "6427"=>"0", "6426"=>"0", "6527"=>"0", "6425"=>"0", "6424"=>"0", "6423"=>"0", "6422"=>"0", "6526"=>"0", "6525"=>"0", "6524"=>"0", "6523"=>"0", "6522"=>"0", "6421"=>"0", "6420"=>"0", "6419"=>"0", "6418"=>"0", "6521"=>"0", "6520"=>"0", "6518"=>"0", "6519"=>"0", "6417"=>"0", "6416"=>"0", "6415"=>"0", "6517"=>"0", "6414"=>"0", "6516"=>"0", "6413"=>"0", "6412"=>"0", "6411"=>"0", "6515"=>"0", "6514"=>"0", "6410"=>"0", "6513"=>"0", "6512"=>"0", "6409"=>"0", "6511"=>"0", "6510"=>"0", "6509"=>"0", "6508"=>"0", "6507"=>"0", "6506"=>"0", "6408"=>"0", "6407"=>"0", "6406"=>"0", "6505"=>"0", "6405"=>"0", "6404"=>"0", "6504"=>"0", "6403"=>"0", "6503"=>"0", "6402"=>"0", "6502"=>"0", "6401"=>"0", "6501"=>"0", "6451"=>"0", "6351"=>"0", "6301"=>"0", "6251"=>"0", "6201"=>"0", "6151"=>"0", "6101"=>"0", "6051"=>"0", "6001"=>"0", "5801"=>"0", "5751"=>"0", "5701"=>"0", "5651"=>"0", "5601"=>"0", "151"=>"0", "51"=>"0", "1"=>"0"}, "commit"=>"Add", "company_id"=>"4371112429"} Redirected to http://localhost:3000/companies/4371112429 Completed 302 Found in 301ms (ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-17 13:35:38 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (3.1ms) Rendered shared/_header.html.erb (0.9ms) Completed 200 OK in 13834ms (Views: 34.4ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-17 13:35:57 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (6.8ms) Rendered shared/_header.html.erb (1.4ms) Completed 200 OK in 29000ms (Views: 73.8ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-17 13:36:42 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (6.8ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 41601ms (Views: 37.3ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-17 13:37:25 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 23458ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `to' for 42:Integer): app/lib/services/hubspot/associations/get_by_id.rb:29:in `associated_contacts_id_object' app/lib/services/hubspot/associations/get_by_id.rb:10:in `call' app/controllers/companies_controller.rb:17:in `show' Started GET "/companies/4371112429" for ::1 at 2020-09-17 13:37:53 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (4.6ms) Rendered shared/_header.html.erb (0.8ms) Completed 200 OK in 8558ms (Views: 31.2ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-17 13:38:14 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (2.8ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 15932ms (Views: 26.9ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-17 13:38:49 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (3.3ms) Rendered shared/_header.html.erb (0.6ms) Completed 200 OK in 123391ms (Views: 25.6ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-17 13:41:18 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (6.9ms) Rendered shared/_header.html.erb (1.0ms) Completed 200 OK in 42667ms (Views: 77.8ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-17 13:42:46 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (14.3ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 13076ms (Views: 176.3ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-09-21 12:51:24 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 287ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `[]' for #): app/lib/services/authorization/tokens/refresh.rb:27:in `refresh_tokens' app/lib/services/authorization/tokens/refresh.rb:11:in `call' app/controllers/companies_controller.rb:66:in `authorize' Started GET "/" for ::1 at 2020-09-21 12:51:40 +0300 Processing by CompaniesController#index as HTML Redirected to http://localhost:3000/login Filter chain halted as :authorize rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for ::1 at 2020-09-21 12:51:40 +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.2ms) Completed 200 OK in 249ms (Views: 247.2ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-09-21 12:51:42 +0300 Processing by Oauth::AuthorizationController#authorize as HTML Redirected to https://app.hubspot.com/oauth/authorize?client_id=8a79cddf-c799-4905-8926-ca0e740f75f7&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foauth%2Fcallback&scope=contacts& Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=bc5db5d6-e2d8-44ac-afd7-8f1fa3c74fa5" for ::1 at 2020-09-21 12:51:46 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"bc5db5d6-e2d8-44ac-afd7-8f1fa3c74fa5"} Completed 500 Internal Server Error in 392ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `[]' for #): app/lib/services/authorization/tokens/generate.rb:20:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/oauth/callback?code=bc5db5d6-e2d8-44ac-afd7-8f1fa3c74fa5" for ::1 at 2020-09-21 12:53:02 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"bc5db5d6-e2d8-44ac-afd7-8f1fa3c74fa5"} Completed 500 Internal Server Error in 601ms (ActiveRecord: 0.0ms) Hubspot::OAuth::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 21 Sep 2020 09:53:02 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"122", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d17b938503ed05dbfa792034dbb3154831600681982; expires=Wed, 21-Oct-20 09:53:02 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B80E55F00E0E1D038799F9CF9FF1777DF980A8444000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0551add0a40000b8757da07200000001", "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"=>"5d62e5943da6b875-WAW"} Response body: {"status":"BAD_AUTH_CODE","message":"missing or unknown auth code","correlationId":"a4fd48ab-f8f6-40bd-828d-edc5a6829730"}): app/lib/services/authorization/tokens/generate.rb:12:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/oauth/callback?code=bc5db5d6-e2d8-44ac-afd7-8f1fa3c74fa5" for ::1 at 2020-09-21 12:53:20 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"bc5db5d6-e2d8-44ac-afd7-8f1fa3c74fa5"} Started GET "/" for ::1 at 2020-09-21 12:54:14 +0300 Completed 500 Internal Server Error in 60452ms (ActiveRecord: 0.0ms) Hubspot::OAuth::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 21 Sep 2020 09:54:21 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"122", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d36fc971130922ce53ff0615d8564bbc11600682060; expires=Wed, 21-Oct-20 09:54:20 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BF1D3944350464A593A1F8139686074F5F44D4361000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0551af045c0000cc7302124200000001", "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"=>"5d62e7809cedcc73-WAW"} Response body: {"status":"BAD_AUTH_CODE","message":"missing or unknown auth code","correlationId":"6e3caf46-8541-4bd1-8dc7-3ebb500e40b9"}): app/lib/services/authorization/tokens/generate.rb:13:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Processing by CompaniesController#index as HTML Redirected to http://localhost:3000/login Filter chain halted as :authorize rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for ::1 at 2020-09-21 12:54: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.3ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 13ms (Views: 12.8ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-09-21 12:54: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 2ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=32831fd6-0b1c-4356-8375-401b84597e21" for ::1 at 2020-09-21 12:54:25 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"32831fd6-0b1c-4356-8375-401b84597e21"} Completed 500 Internal Server Error in 2587ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `[]' for #): app/lib/services/authorization/tokens/generate.rb:21:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/oauth/callback?code=32831fd6-0b1c-4356-8375-401b84597e21" for ::1 at 2020-09-21 12:54:44 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"32831fd6-0b1c-4356-8375-401b84597e21"} Completed 500 Internal Server Error in 251ms (ActiveRecord: 0.0ms) Hubspot::OAuth::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 21 Sep 2020 09:54:44 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"122", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d6a08ce134ddecb0cef953cd762aa7c2c1600682084; expires=Wed, 21-Oct-20 09:54:44 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B0974FA1B8A6C4B14E020471598CA05D5F06C55A2000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0551af61ce00001673a4922200000001", "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"=>"5d62e81619581673-WAW"} Response body: {"status":"BAD_AUTH_CODE","message":"missing or unknown auth code","correlationId":"22ecf009-5145-4aa7-8b33-ebd31bdd6262"}): app/lib/services/authorization/tokens/generate.rb:12:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/oauth" for ::1 at 2020-09-21 12:54:47 +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 1ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=5950d239-4a85-4654-8602-52de16580bd5" for ::1 at 2020-09-21 12:54:51 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"5950d239-4a85-4654-8602-52de16580bd5"} Completed 500 Internal Server Error in 63446ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `[]' for #): app/lib/services/authorization/tokens/generate.rb:21:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/oauth/callback?code=5950d239-4a85-4654-8602-52de16580bd5" for ::1 at 2020-09-21 12:56:10 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"5950d239-4a85-4654-8602-52de16580bd5"} Completed 500 Internal Server Error in 427ms (ActiveRecord: 0.0ms) Hubspot::OAuth::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 21 Sep 2020 09:56:10 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"122", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dce9a42b58ddc2b3ecac06a8ba05b97831600682170; expires=Wed, 21-Oct-20 09:56:10 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B8024F3C1B7ADB22D81C502966BAF12470BC8E2F7000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0551b0ae970000164f08b71200000001", "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"=>"5d62ea2a8afa164f-WAW"} Response body: {"status":"BAD_AUTH_CODE","message":"missing or unknown auth code","correlationId":"fd62b064-9fce-4e6d-8106-0c01441db11f"}): app/lib/services/authorization/tokens/generate.rb:12:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/oauth/" for ::1 at 2020-09-21 12:56: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=contacts& Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=734b9a38-82f4-4946-8826-c04ba24e6b9c" for ::1 at 2020-09-21 12:56:16 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"734b9a38-82f4-4946-8826-c04ba24e6b9c"} Completed 500 Internal Server Error in 422ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `to_h' for # Did you mean? to_s): app/lib/services/authorization/tokens/generate.rb:19:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/oauth/callback?code=9fa5ee4f-7322-43fb-997a-ea90dcff2e0c" for ::1 at 2020-09-21 12:56:26 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"9fa5ee4f-7322-43fb-997a-ea90dcff2e0c"} Completed 500 Internal Server Error in 368ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `to_h' for # Did you mean? to_s): app/lib/services/authorization/tokens/generate.rb:19:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/oauth/callback?code=15bf69f9-eb21-4666-9e3d-6e9749a0799f" for ::1 at 2020-09-21 12:56:41 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"15bf69f9-eb21-4666-9e3d-6e9749a0799f"} Completed 500 Internal Server Error in 7630ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `[]' for #): app/lib/services/authorization/tokens/generate.rb:21:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/oauth/callback?code=6cf1f895-b130-4a9c-9488-78536da30a65" for ::1 at 2020-09-21 12:57:03 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"6cf1f895-b130-4a9c-9488-78536da30a65"} Redirected to http://localhost:3000/companies Completed 302 Found in 356ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-09-21 12:57:03 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (17.8ms) Completed 500 Internal Server Error in 41ms (ActiveRecord: 0.0ms) ActionView::Template::Error (undefined method `each' for nil:NilClass): 32: 33: 34: 35: <% @companies.each do |company| %> 36: 37: 38: app/views/companies/index.html.erb:35:in `_app_views_companies_index_html_erb__631975516850652924_70256136198840' Started GET "/companies" for ::1 at 2020-09-21 12:58:50 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (6.9ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 438ms (Views: 30.6ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-09-21 12:59:01 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (10.4ms) Rendered shared/_header.html.erb (0.5ms) Completed 200 OK in 122126ms (Views: 69.7ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-09-21 13:01:07 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 630ms (ActiveRecord: 0.0ms) Hubspot::Crm::Timeline::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 21 Sep 2020 10:01:07 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"383", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d644f24497e784ac9988c9f5613b9ee0a1600682467; expires=Wed, 21-Oct-20 10:01:07 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B37B65DC5AA91AAD78007901DE646B440AB39239C000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0551b539950000b84b7b3a0200000001", "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"=>"5d62f16f5c72b84b-WAW"} Response body: {"status":"error","message":"There was an issue creating the timeline event: Company id must be provided. Creation is not supported at the moment.","correlationId":"de06c9f2-3034-404e-b403-ece2a505032d","context":{"errorDetails":["Company id must be provided. Creation is not supported at the moment."]},"category":"VALIDATION_ERROR","subCategory":"TimelineEventErrors.UPSERT_ERROR"}): app/controllers/companies_controller.rb:15:in `index' Started GET "/companies" for ::1 at 2020-09-21 13:09:25 +0300 Processing by CompaniesController#index as HTML Started GET "/companies" for ::1 at 2020-09-21 13:25:30 +0300 Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (3.4ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 968534ms (Views: 36.0ms | ActiveRecord: 0.0ms) Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (5.7ms) Rendered shared/_header.html.erb (0.0ms) Completed 200 OK in 840684ms (Views: 21.2ms | ActiveRecord: 0.0ms) Started GET "/companies/new" for ::1 at 2020-09-21 13:39:51 +0300 Processing by CompaniesController#new as HTML Rendering companies/new.html.erb within layouts/application Rendered companies/new.html.erb within layouts/application (22.5ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 46ms (Views: 44.8ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-09-22 11:28:33 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (13.5ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 1278ms (Views: 186.3ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-09-22 11:28:36 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (9.7ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 361ms (Views: 37.5ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-22 11:28:38 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 1220ms (ActiveRecord: 0.0ms) Hubspot::Crm::Contacts::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Tue, 22 Sep 2020 08:28:39 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=db3901952c5c7fff40b8bf60edd0317f31600763319; expires=Thu, 22-Oct-20 08:28:39 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B0A08DD77755E911501719C9295939E3FC0AD7667CC5F05F31013245101", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"055686ebf80000f2986d836200000001", "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"=>"5d6aa7598eb9f298-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"e03199c8-66dd-43dd-a4a8-22bd8ab6db52","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/associations/get_by_id.rb:12:in `call' app/controllers/companies_controller.rb:17:in `show' Started GET "/oauth" for ::1 at 2020-09-22 11:28:54 +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 5ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=c9ef2443-ad8c-4ffa-af70-c26b54c665cd" for ::1 at 2020-09-22 11:28:59 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"c9ef2443-ad8c-4ffa-af70-c26b54c665cd"} Redirected to http://localhost:3000/companies Completed 302 Found in 295ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-09-22 11:28:59 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (14.9ms) Rendered shared/_header.html.erb (1.3ms) Completed 200 OK in 416ms (Views: 79.3ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-22 11:29:01 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 1434ms (ActiveRecord: 0.0ms) Hubspot::Crm::Contacts::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Tue, 22 Sep 2020 08:29:03 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d951d4ad55d0ee0186678abc7602118521600763343; expires=Thu, 22-Oct-20 08:29:03 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BBC866664A6025029CBB769A28E96455DF5EBD78D000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05568748c10000f2a0e4206200000001", "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"=>"5d6aa7ee09b0f2a0-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"e437fc10-a5df-40e4-a3d5-38d83eacbad3","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/associations/get_by_id.rb:12:in `call' app/controllers/companies_controller.rb:17:in `show' Started GET "/companies/4371112429" for ::1 at 2020-09-22 11:30:14 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 1569ms (ActiveRecord: 0.0ms) Hubspot::Crm::Contacts::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Tue, 22 Sep 2020 08:30:15 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=de9543ed588e8f3fc0add2612ea1ecdc01600763415; expires=Thu, 22-Oct-20 08:30:15 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B793AA73A3EE837668A7E623CEE17B1822C5AAB5B000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05568864630000f2b0d9195200000001", "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"=>"5d6aa9b3db29f2b0-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"56dc9894-c6f0-46db-b719-0f79edffdff3","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/associations/get_by_id.rb:12:in `call' app/controllers/companies_controller.rb:17:in `show' Started GET "/companies/4371112429" for ::1 at 2020-09-22 11:30:31 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (37.3ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 1267ms (Views: 71.8ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-09-22 12:29:08 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (27.9ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 853ms (Views: 320.6ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-09-22 12:29:11 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (122.9ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 1918ms (Views: 151.2ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-09-22 16:45:22 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (13.7ms) Rendered shared/_header.html.erb (0.5ms) Completed 200 OK in 804ms (Views: 254.8ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-09-22 16:45:25 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (9.1ms) Rendered shared/_header.html.erb (0.9ms) Completed 200 OK in 483ms (Views: 80.6ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-09-24 15:11:18 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 343ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `[]' for #): app/lib/services/authorization/tokens/refresh.rb:27:in `refresh_tokens' app/lib/services/authorization/tokens/refresh.rb:11:in `call' app/controllers/companies_controller.rb:64:in `authorize' Started GET "/" for ::1 at 2020-09-24 15:11:34 +0300 Processing by CompaniesController#index as HTML Redirected to http://localhost:3000/login Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/login" for ::1 at 2020-09-24 15:11:34 +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.5ms) Completed 200 OK in 215ms (Views: 214.2ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-09-24 15:11: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=contacts& Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=2483a4e5-ebbd-4d09-beae-fec8483b52d4" for ::1 at 2020-09-24 15:11:40 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"2483a4e5-ebbd-4d09-beae-fec8483b52d4"} Completed 500 Internal Server Error in 386ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `[]' for #): app/lib/services/authorization/tokens/generate.rb:20:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/oauth/callback?code=2483a4e5-ebbd-4d09-beae-fec8483b52d4" for ::1 at 2020-09-24 15:12:05 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"2483a4e5-ebbd-4d09-beae-fec8483b52d4"} Completed 500 Internal Server Error in 195ms (ActiveRecord: 0.0ms) Hubspot::OAuth::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Thu, 24 Sep 2020 12:12:06 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"122", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=de730c4c5c25bf2de7b40c887d76899f91600949526; expires=Sat, 24-Oct-20 12:12:06 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BBBF20E9451F2B7A37A4D085C97C7A1C71C332DDA000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0561a036050000b8637c1bf200000001", "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"=>"5d7c6969ab4eb863-WAW"} Response body: {"status":"BAD_AUTH_CODE","message":"missing or unknown auth code","correlationId":"62294270-b6e6-4907-bfaf-3c42600cb2bf"}): app/lib/services/authorization/tokens/generate.rb:12:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/" for ::1 at 2020-09-24 15:12:12 +0300 Processing by CompaniesController#index as HTML Redirected to http://localhost:3000/login Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/login" for ::1 at 2020-09-24 15:12: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.4ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 68ms (Views: 67.1ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-09-24 15:12:14 +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 1ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=c58a33e5-5caa-48ec-b8fe-35685465beb0" for ::1 at 2020-09-24 15:12:17 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"c58a33e5-5caa-48ec-b8fe-35685465beb0"} Redirected to http://localhost:3000/companies Completed 302 Found in 284ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-09-24 15:12:17 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 673ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Thu, 24 Sep 2020 12:12:18 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dd53aa5f106b6197eed0265719c2764c01600949537; expires=Sat, 24-Oct-20 12:12:17 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BAFE7827FB8346152883B99DD7E83E199B2B3BAC6000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0561a064170000f2909c29d200000001", "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"=>"5d7c69b35800f290-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"1cfe78d2-957f-4440-a3ca-249266f2ecd9","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:11:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/companies" for ::1 at 2020-09-24 15:17:18 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 338ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Thu, 24 Sep 2020 12:17:18 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d3665e8dd9506c96b657863efbaecfc381600949838; expires=Sat, 24-Oct-20 12:17:18 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BA70DE30A47BC682D4259AB57B6CDC606D5A4C42C000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0561a4fb090000166d630b2200000001", "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"=>"5d7c710b4d10166d-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"7d107cc4-4a38-4336-a1dc-6e7a72c3d810","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:11:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/companies" for ::1 at 2020-09-24 15:55:03 +0300 Processing by CompaniesController#index as HTML Redirected to http://localhost:3000/login Filter chain halted as :authorize rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for ::1 at 2020-09-24 15:55:03 +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.2ms) Completed 200 OK in 23ms (Views: 21.6ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-09-24 15:55:08 +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 1ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=bb1aef6f-8b89-47c5-a0e0-1b11df953f34" for ::1 at 2020-09-24 15:55:13 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"bb1aef6f-8b89-47c5-a0e0-1b11df953f34"} Redirected to http://localhost:3000/companies Completed 302 Found in 742ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-09-24 15:55:13 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 199ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Thu, 24 Sep 2020 12:55:14 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d28196bf95ae2f4564919127212f1ae5d1600952113; expires=Sat, 24-Oct-20 12:55:13 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B5F61445DFCC6D917B529400D9575DC7A71293FF3000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0561c7b2db0000cca3309fc200000001", "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"=>"5d7ca897cf1ecca3-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"7974b079-75c6-4675-b3e6-c0e8c9c05f85","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:11:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/companies" for ::1 at 2020-09-24 16:18:58 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (17.1ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 582ms (Views: 237.2ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-09-24 16:19:30 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (14.0ms) Rendered shared/_header.html.erb (0.6ms) Completed 200 OK in 634ms (Views: 251.6ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-09-24 16:19: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=contacts& Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=b50111cf-7ed2-4cf0-8440-82a0a77960e9" for ::1 at 2020-09-24 16:19:40 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"b50111cf-7ed2-4cf0-8440-82a0a77960e9"} Started GET "/oauth/callback?code=b50111cf-7ed2-4cf0-8440-82a0a77960e9" for ::1 at 2020-09-24 16:20:26 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"b50111cf-7ed2-4cf0-8440-82a0a77960e9"} Completed 500 Internal Server Error in 404004ms (ActiveRecord: 0.0ms) Hubspot::OAuth::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Thu, 24 Sep 2020 13:27:10 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"122", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d9704bd3cf613e7ba52100e2c7c4948a41600954030; expires=Sat, 24-Oct-20 13:27:10 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BAA27C5482DE090B700ADE9641BD7EB5E86943F16000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0561e4f2500000cc8759b9d200000001", "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"=>"5d7cd763baa5cc87-WAW"} Response body: {"status":"BAD_AUTH_CODE","message":"missing or unknown auth code","correlationId":"41215653-ff26-4467-8356-744986350d82"}): app/lib/services/authorization/tokens/generate.rb:12:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/oauth/callback?code=b50111cf-7ed2-4cf0-8440-82a0a77960e9" for ::1 at 2020-09-25 13:58:23 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"b50111cf-7ed2-4cf0-8440-82a0a77960e9"} Completed 500 Internal Server Error in 694ms (ActiveRecord: 0.0ms) Hubspot::OAuth::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Fri, 25 Sep 2020 10:58:23 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"122", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dd524e7f4aadffe4a69679571079563091601031503; expires=Sun, 25-Oct-20 10:58:23 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B99868B6F3F1A7CCF10AFFB6AF73360B0C2054BA0000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05668317570000f2dc0038e200000001", "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"=>"5d843ad228d1f2dc-WAW"} Response body: {"status":"BAD_AUTH_CODE","message":"missing or unknown auth code","correlationId":"27f03181-506c-4401-bc2c-48ecd19c0cab"}): app/lib/services/authorization/tokens/generate.rb:12:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/" for ::1 at 2020-09-25 13:58:26 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 237ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `[]' for nil:NilClass): app/lib/services/authorization/tokens/refresh.rb:27:in `refresh_tokens' app/lib/services/authorization/tokens/refresh.rb:11:in `call' app/controllers/companies_controller.rb:64:in `authorize' Started GET "/" for ::1 at 2020-09-25 13:58:36 +0300 Processing by CompaniesController#index as HTML Redirected to http://localhost:3000/login Filter chain halted as :authorize rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for ::1 at 2020-09-25 13:58:36 +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.7ms) Completed 200 OK in 321ms (Views: 319.2ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-09-25 13:58:38 +0300 Processing by Oauth::AuthorizationController#authorize as HTML Redirected to https://app.hubspot.com/oauth/authorize?client_id=8a79cddf-c799-4905-8926-ca0e740f75f7&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foauth%2Fcallback&scope=contacts& Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=f591061c-537a-4f7a-8b8f-7de0f7a108e7" for ::1 at 2020-09-25 13:58:44 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"f591061c-537a-4f7a-8b8f-7de0f7a108e7"} Completed 500 Internal Server Error in 231ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `[]' for nil:NilClass): app/lib/services/authorization/tokens/generate.rb:20:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/oauth/callback?code=f591061c-537a-4f7a-8b8f-7de0f7a108e7" for ::1 at 2020-09-25 13:59:22 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"f591061c-537a-4f7a-8b8f-7de0f7a108e7"} Completed 500 Internal Server Error in 689ms (ActiveRecord: 0.0ms) Hubspot::OAuth::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Fri, 25 Sep 2020 10:59:22 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"122", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d6330ea6041039eaaef8d57bc1f1111401601031562; expires=Sun, 25-Oct-20 10:59:22 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B28A3937BE2F280C85B9C0CDE31752B90C5E9DED6000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"056683fc5e0000f2cc1700e200000001", "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"=>"5d843c409e03f2cc-WAW"} Response body: {"status":"BAD_AUTH_CODE","message":"missing or unknown auth code","correlationId":"a1ae5f83-a1a4-4450-b3bb-422c8ac7d06a"}): app/lib/services/authorization/tokens/generate.rb:12:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/" for ::1 at 2020-09-25 13:59:26 +0300 Processing by CompaniesController#index as HTML Redirected to http://localhost:3000/login Filter chain halted as :authorize rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for ::1 at 2020-09-25 13:59:26 +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.3ms) Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-09-25 13:59:27 +0300 Processing by Oauth::AuthorizationController#authorize as HTML Redirected to https://app.hubspot.com/oauth/authorize?client_id=8a79cddf-c799-4905-8926-ca0e740f75f7&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foauth%2Fcallback&scope=contacts& Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=1a23709b-a22c-49d6-be56-c608900cbc0c" for ::1 at 2020-09-25 13:59:33 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"1a23709b-a22c-49d6-be56-c608900cbc0c"} Completed 500 Internal Server Error in 207624ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `[]' for nil:NilClass): app/lib/services/authorization/tokens/generate.rb:21:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/oauth/" for ::1 at 2020-09-25 14:21:27 +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 2ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=c34e3e17-ac90-4fa2-9a34-f47aed2da461" for ::1 at 2020-09-25 14:21:32 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"c34e3e17-ac90-4fa2-9a34-f47aed2da461"} Completed 500 Internal Server Error in 11960ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `[]' for #): app/lib/services/authorization/tokens/generate.rb:21:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/oauth" for ::1 at 2020-09-25 14:22:19 +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 1ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=9f7e7bbe-7bdf-429f-9f0a-900069ad9cf5" for ::1 at 2020-09-25 14:22:23 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"9f7e7bbe-7bdf-429f-9f0a-900069ad9cf5"} Completed 500 Internal Server Error in 11077ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `[]' for #): app/lib/services/authorization/tokens/generate.rb:21:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/oauth/callback?code=9f7e7bbe-7bdf-429f-9f0a-900069ad9cf5" for ::1 at 2020-09-25 14:23:29 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"9f7e7bbe-7bdf-429f-9f0a-900069ad9cf5"} Completed 500 Internal Server Error in 206ms (ActiveRecord: 0.0ms) Hubspot::OAuth::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Fri, 25 Sep 2020 11:23:29 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"122", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d96795b4687b9470dfff6ed49b6bf6e061601033009; expires=Sun, 25-Oct-20 11:23:29 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BEC628A18EA899F489501014ACF74097BFBC29CD2000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05669a104a0000f2a8200bc200000001", "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"=>"5d845f93aa9df2a8-WAW"} Response body: {"status":"BAD_AUTH_CODE","message":"missing or unknown auth code","correlationId":"007548f1-d754-4a4b-8851-6c7b8e852f67"}): app/lib/services/authorization/tokens/generate.rb:12:in `call' app/controllers/oauth/authorization_controller.rb:12:in `callback' Started GET "/oauth" for ::1 at 2020-09-25 14:23:31 +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 1ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=decbcb66-38fb-4aff-92fd-7179b2b5293e" for ::1 at 2020-09-25 14:23:46 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"decbcb66-38fb-4aff-92fd-7179b2b5293e"} Redirected to http://localhost:3000/companies Completed 302 Found in 5751ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-09-25 14:23:51 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 183ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Fri, 25 Sep 2020 11:23:52 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dcc7e997db1e31617f52e6484220da90f1601033031; expires=Sun, 25-Oct-20 11:23:51 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BBCA8C4362051EFDF55E9B409C2F8AFAB6AD19C5B000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05669a68fa0000ffd46cab0200000001", "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"=>"5d8460219a26ffd4-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"aec28320-275e-492f-b801-d78e3238f2c4","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:11:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-25 14:27:28 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 1478ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Fri, 25 Sep 2020 11:27:30 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=da59e2e80e1ce14ee2a0b65ffaf034f8c1601033249; expires=Sun, 25-Oct-20 11:27:29 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BFE705FCC5F1E9ECAE193CFE5683305CC057F961E000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05669dbb530000ffd0c03dc200000001", "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"=>"5d8465721b33ffd0-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"0c1c74f1-af5d-416a-9e26-bea614c640cd","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:11:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-25 14:28:44 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 164ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Fri, 25 Sep 2020 11:28:44 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d758e7422fc26ef17e364f101ff9e8ce01601033324; expires=Sun, 25-Oct-20 11:28:44 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B1EC501A4C8221255B5C5DF8A94B92E87FFBB2511000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05669ee0300000ffc41b034200000001", "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"=>"5d846746ba19ffc4-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"741b51e4-55fd-496d-930c-9c384a3e6075","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:11:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-25 14:29:30 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 297886ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Fri, 25 Sep 2020 11:34:28 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d820ea88f397c9c24925bb63985435b231601033668; expires=Sun, 25-Oct-20 11:34:28 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BCE498933232F11FBB22B3582BEDEA7E12F9AE3A0000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0566a41e320000cc93490c3200000001", "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"=>"5d846fa9eaf9cc93-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"2ea6526e-cfd2-43e8-90cc-74631609dd79","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:11:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-25 14:34:32 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 4361ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Fri, 25 Sep 2020 11:34:36 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=de4b132cb6ec42ecc7e09bd8a209e77db1601033676; expires=Sun, 25-Oct-20 11:34:36 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BC52F105F6B204E78E7417AA7F42451A75BC74DE1000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0566a43e920000cca78f986200000001", "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"=>"5d846fddbe07cca7-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"5591f955-18be-4214-b8d4-3afd374f82f2","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:11:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-25 14:34:46 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 63916ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Fri, 25 Sep 2020 11:35:49 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d628d03d3c5fc2d98488b28f9982ec4391601033749; expires=Sun, 25-Oct-20 11:35:49 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BA3806410C53FAD277C81DA9148C86ADC26550040000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0566a55d3b0000f2b846b8d200000001", "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"=>"5d8471a85d2ff2b8-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"fadf1b96-6a63-41c5-b15a-c7edb95bd737","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:11:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-25 14:36:06 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 23750ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Fri, 25 Sep 2020 11:36:29 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d6f5c0f19dca99eee8f775720c34be8091601033789; expires=Sun, 25-Oct-20 11:36:29 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B28AFA26C4F7ADF96D3F2ADC68FD064AFDC7B26C7000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0566a5f8020000ffd46d870200000001", "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"=>"5d8472a00fd8ffd4-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"3167f5c6-5715-409f-a9be-4582052d52de","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:11:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-25 14:36:56 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 425799ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Fri, 25 Sep 2020 11:44:02 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d9cf78fe8f9646ec6ccb77330f618181f1601034242; expires=Sun, 25-Oct-20 11:44:02 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B1301B1638E4463AA5871BA5419C26D4C11ABC0E2000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0566ace0950000cc9b6088a200000001", "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"=>"5d847dadbde1cc9b-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"cafc94a8-fa42-41b9-994c-8bbaa3e6b5af","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:11:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-25 14:44:25 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 2390691ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Fri, 25 Sep 2020 12:24:15 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d6c80a85256cab5bc1999a173ef0e665c1601036655; expires=Sun, 25-Oct-20 12:24:15 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B45DBE8D145D7128DF4B425547679010DE3F3B7B8000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0566d1b4530000f2a0e70d0200000001", "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"=>"5d84b89a1bc2f2a0-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"79979be6-092c-4103-a423-ae26d01bb0cb","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:11:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-25 15:25:26 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 14400ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Fri, 25 Sep 2020 12:25:40 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=db2765b811bfc718fa612e953a1f109491601036740; expires=Sun, 25-Oct-20 12:25:40 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BBAFDDC29A28C718F1444638165FB93CBF3E554BA000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0566d300500000f29ccc152200000001", "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"=>"5d84baad4db2f29c-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"dc9a6502-b781-4de9-be86-27b5bf36ae9a","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:11:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-25 15:56:43 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 7459728ms (ActiveRecord: 0.0ms) Errno::EIO (Input/output error @ io_writev - ): app/lib/services/hubspot/companies/get_all.rb:12:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-28 10:42:29 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 713ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `[]' for #): app/lib/services/authorization/tokens/refresh.rb:27:in `refresh_tokens' app/lib/services/authorization/tokens/refresh.rb:11:in `call' app/controllers/companies_controller.rb:64:in `authorize' Started GET "/" for ::1 at 2020-09-28 10:57:19 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 10205ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Mon, 28 Sep 2020 07:57:29 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d42f12122e5a1e9ceca405b1eb267d9b31601279849; expires=Wed, 28-Oct-20 07:57:29 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B35D011E703AF0F5C290E06863D01F4FDE5525BD1000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0575508c900000cc93409e2200000001", "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"=>"5d9be9f41f39cc93-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"8e64816d-98bb-4a4a-b4ff-977cd82200fe","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:12:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-28 10:57:37 +0300 Processing by CompaniesController#index as HTML Started GET "/" for ::1 at 2020-09-28 11:41:18 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 11820398ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Mon, 28 Sep 2020 11:58:19 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=da8eb30c213eb41e0c7c85b0b4ca2da481601294299; expires=Wed, 28-Oct-20 11:58:19 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B5FADCBB745D34DC1F5EDA47617A1D363B95D0004000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05762d08710000166dfc82c200000001", "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"=>"5d9d4aba4d0c166d-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"8c15bc64-a63a-42a6-a084-4eb4f15dd32d","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:12:in `call' app/controllers/companies_controller.rb:11:in `index' Completed 500 Internal Server Error in 14442738ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Mon, 28 Sep 2020 11:58:19 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=df10a48b4f78223dfaaee2c36930a770c1601294299; expires=Wed, 28-Oct-20 11:58:19 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BBA465C01CA88E501C67C1DEFABF23084766F9CE5000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05762d0a7e0000164285ad0200000001", "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"=>"5d9d4abd9e7d1642-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"3687cf89-5520-47f5-9d59-97071e44e1fc","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:12:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-28 14:58:24 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 293687ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Mon, 28 Sep 2020 12:03:18 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d65b75fb82f9318909354e7612c1822221601294598; expires=Wed, 28-Oct-20 12:03:18 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B017BF33108D07E6EDA40392B57B302A7F5B32716000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"057631987a0000cc9fd7abc200000001", "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"=>"5d9d52072c50cc9f-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"862e40ef-af63-4aa0-9424-f5fc3772a9ef","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:12:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-28 15:03:25 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 203883ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Mon, 28 Sep 2020 12:06:49 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d6ddfb3371bc3c8211b545cfd7889a6351601294808; expires=Wed, 28-Oct-20 12:06:48 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B2C426B8848F69FA8CB43E32BCF6B16C063D44678000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"057634cf190000f2b08e1ef200000001", "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"=>"5d9d572b5f4df2b0-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"c0b8e398-ac4e-4976-a883-f7cddc95b193","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:12:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-28 15:19:04 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 27524ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Mon, 28 Sep 2020 12:19:32 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dd9a2765016c6e91371809d894d6f5b241601295571; expires=Wed, 28-Oct-20 12:19:31 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BD784103C909326C06F0FBB56BC5D3B4B4326F350000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05764073ca0000f2ace88f2200000001", "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"=>"5d9d69cc7f45f2ac-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"51d89af1-421f-4acd-87c8-5499f0af803d","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:12:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-28 15:19:45 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 17942ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Mon, 28 Sep 2020 12:20:02 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d6068c7c5ac1524fc7d736d048caab00d1601295602; expires=Wed, 28-Oct-20 12:20:02 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B8602E006AD3CED99740E048E1C051FF7FF87404C000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"057640eb010000164fb9ab3200000001", "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"=>"5d9d6a8b3bc7164f-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"e6b31e91-ddce-478f-b686-13008f48c208","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:12:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-28 15:20:31 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 404273ms (ActiveRecord: 0.0ms) Hubspot::Crm::Companies::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Mon, 28 Sep 2020 12:27:15 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d096fba11876c23f0fc4627beec4e428e1601296035; expires=Wed, 28-Oct-20 12:27:15 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BC0EC9815B0CE685A0CD35E1FCEE66D753F4017F9000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"057647856a0000f2d06301e200000001", "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"=>"5d9d751bdc8bf2d0-WAW"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"7055455e-4464-4999-aacf-0decb9dd7638","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/companies/get_all.rb:11:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-28 15:27:18 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 14346887ms (ActiveRecord: 0.0ms) Errno::EIO (Input/output error @ io_writev - ): app/lib/services/hubspot/companies/get_all.rb:11:in `call' app/controllers/companies_controller.rb:11:in `index' Started GET "/" for ::1 at 2020-09-30 12:31:49 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (16.4ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 14867ms (Views: 237.8ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-09-30 12:32:57 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (18.4ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 766ms (Views: 282.8ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-09-30 12:33:01 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (15.3ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 519ms (Views: 80.3ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-09-30 12:34:58 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 185ms (ActiveRecord: 0.0ms) Hubspot::Crm::CrmObjectSchemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Wed, 30 Sep 2020 09:34:59 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dbb67a1acaa67c915932578fc18d349e31601458499; expires=Fri, 30-Oct-20 09:34:59 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"057ff686100000ffc0c3202200000001", "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"=>"5dacf3834c14ffc0-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:5:in `index' Started GET "/" for ::1 at 2020-09-30 12:35:20 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 8562934ms (ActiveRecord: 0.0ms) Hubspot::Crm::CrmObjectSchemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Wed, 30 Sep 2020 11:58:03 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d64f34118328b24287c97cd05d84ee53c1601467083; expires=Fri, 30-Oct-20 11:58:03 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"058079826f0000f290cc2ed200000001", "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"=>"5dadc5171a13f290-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:6:in `index' Started GET "/" for ::1 at 2020-09-30 15:20:23 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 4042505ms (ActiveRecord: 0.0ms) Hubspot::Crm::CrmObjectSchemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Wed, 30 Sep 2020 13:27:46 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d6adf3f1fd01990245f93707d63cdf60a1601472466; expires=Fri, 30-Oct-20 13:27:46 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0580cba4a00000166db6ac9200000001", "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"=>"5dae4881095e166d-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:6:in `index' Started GET "/" for ::1 at 2020-09-30 16:27:53 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 8009150ms (ActiveRecord: 0.0ms) Errno::EIO (Input/output error @ io_write - ): app/controllers/companies_controller.rb:6:in `index' Started GET "/" for ::1 at 2020-10-01 14:00:18 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 4508151ms (ActiveRecord: 0.0ms) Hubspot::Crm::CrmObjectSchemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Thu, 01 Oct 2020 12:15:26 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=da9b0f16ca58bab47dec324f4c25f93811601554526; expires=Sat, 31-Oct-20 12:15:26 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0585afc80a0000ffbc08878200000001", "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"=>"5db61becded0ffbc-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:6:in `index' Started GET "/" for ::1 at 2020-10-01 15:35:50 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 5345ms (ActiveRecord: 0.0ms) Hubspot::Crm::CrmObjectSchemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Thu, 01 Oct 2020 12:35:55 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=db0c886d41eae763de6f8b56f6da54dfc1601555755; expires=Sat, 31-Oct-20 12:35:55 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0585c289d50000cc7b578f8200000001", "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"=>"5db639efb81acc7b-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:6:in `index' Started GET "/" for ::1 at 2020-10-01 15:36:18 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 2908ms (ActiveRecord: 0.0ms) Hubspot::Crm::CrmObjectSchemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Thu, 01 Oct 2020 12:36:21 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d6d28ab5abd9c4cb8792e54c37aa4c5fa1601555781; expires=Sat, 31-Oct-20 12:36:21 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0585c2efda0000162a8c30c200000001", "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"=>"5db63a92ffb9162a-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:6:in `index' Started GET "/" for ::1 at 2020-10-01 15:36:28 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 30118ms (ActiveRecord: 0.0ms) Hubspot::Crm::CrmObjectSchemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Thu, 01 Oct 2020 12:36:58 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d576113dccbb23d3d83a968aa016e54341601555818; expires=Sat, 31-Oct-20 12:36:58 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0585c380fe000016248c0a2200000001", "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"=>"5db63b7b3f671624-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:6:in `index' Started GET "/" for ::1 at 2020-10-02 10:50:44 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 210785ms (ActiveRecord: 0.0ms) Hubspot::Crm::CrmObjectSchemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Fri, 02 Oct 2020 07:54:15 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d584543912f235b144179338c7bbe29d01601625255; expires=Sun, 01-Nov-20 07:54:15 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0589e705680000cc7f13370200000001", "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"=>"5dbcdab57863cc7f-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:6:in `index' Started GET "/" for ::1 at 2020-10-02 10:54:25 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 10125ms (ActiveRecord: 0.0ms) Hubspot::Crm::CrmObjectSchemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Fri, 02 Oct 2020 07:54:35 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d920bef609c0930c9bfa7928cf401065f1601625275; expires=Sun, 01-Nov-20 07:54:35 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0589e755580000cc9f341b7200000001", "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"=>"5dbcdb355b83cc9f-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:6:in `index' Started GET "/oauth" for ::1 at 2020-10-02 10:54: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& Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=42d20661-8739-4f1e-897d-954d63802074" for ::1 at 2020-10-02 10:54:50 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"42d20661-8739-4f1e-897d-954d63802074"} Redirected to http://localhost:3000/companies Completed 302 Found in 306ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-02 10:54:51 +0300 Processing by CompaniesController#index as HTML Started GET "/oauth/callback?code=10dada78-e576-45a2-a56c-a886160026ec" for ::1 at 2020-10-02 10:55:00 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"10dada78-e576-45a2-a56c-a886160026ec"} Redirected to http://localhost:3000/companies Completed 302 Found in 534ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-02 10:55:01 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 5803ms (ActiveRecord: 0.0ms) Hubspot::Crm::CrmObjectSchemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Fri, 02 Oct 2020 07:55:07 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d89020bb2ed6b8c38bd46913568c5619e1601625307; expires=Sun, 01-Nov-20 07:55:07 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0589e7d04e0000b875a7895200000001", "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"=>"5dbcdbfa1bb9b875-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:6:in `index' Started GET "/companies" for ::1 at 2020-10-02 10:55:12 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 972324ms (ActiveRecord: 0.0ms) Hubspot::Crm::CrmObjectSchemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Fri, 02 Oct 2020 08:11:24 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d86d5237ffc9809aa09a68f235d4830f21601626284; expires=Sun, 01-Nov-20 08:11:24 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0589f6b911000016363b8ad200000001", "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"=>"5dbcf3d4ede01636-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:6:in `index' Completed 500 Internal Server Error in 994749ms (ActiveRecord: 0.0ms) Hubspot::Crm::CrmObjectSchemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Fri, 02 Oct 2020 08:11:26 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d68ab07b094f601ea6fb0ea7dc6455f8f1601626285; expires=Sun, 01-Nov-20 08:11:25 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0589f6bf840000cc8b0a18d200000001", "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"=>"5dbcf3df3fc9cc8b-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:6:in `index' Started GET "/" for ::1 at 2020-10-02 11:15:39 +0300 Processing by CompaniesController#index as HTML Started GET "/" for ::1 at 2020-10-02 11:15:41 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 47585ms (ActiveRecord: 0.0ms) Hubspot::Crm::CrmObjectSchemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Fri, 02 Oct 2020 08:16:28 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d554e0698aa29f77256036b60ab4ec5141601626588; expires=Sun, 01-Nov-20 08:16:28 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0589fb5ecb000016553e23e200000001", "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"=>"5dbcfb447d801655-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:6:in `index' Completed 500 Internal Server Error in 70549ms (ActiveRecord: 0.0ms) Hubspot::Crm::CrmObjectSchemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Fri, 02 Oct 2020 08:16:50 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d8681485c1af3c3cc7f1780e5ea0a679d1601626609; expires=Sun, 01-Nov-20 08:16:49 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0589fbb1090000f288eb01a200000001", "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"=>"5dbcfbc80eb6f288-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:6:in `index' Started GET "/" for ::1 at 2020-10-02 11:16:56 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (20.6ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 18152ms (Views: 220.6ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-10-02 11:17:19 +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=timeline& Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-10-02 11:18:12 +0300 Processing by Oauth::AuthorizationController#authorize as HTML Redirected to https://app.hubspot.com/oauth/authorize?client_id=8a79cddf-c799-4905-8926-ca0e740f75f7&scope=contacts%20timeline Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-10-02 11:18:51 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (19.8ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 5322ms (Views: 207.9ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-10-02 11:18:58 +0300 Processing by Oauth::AuthorizationController#authorize as HTML Redirected to https://app.hubspot.com/oauth/authorize?client_id=8a79cddf-c799-4905-8926-ca0e740f75f7&scope=contacts%20timeline&http://localhost:3000/oauth/callback Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-10-02 11:19:37 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (13.0ms) Rendered shared/_header.html.erb (0.7ms) Completed 200 OK in 3136ms (Views: 68.0ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-10-02 11:19:42 +0300 Processing by Oauth::AuthorizationController#authorize as HTML Redirected to https://app.hubspot.com/oauth/authorize?client_id=8a79cddf-c799-4905-8926-ca0e740f75f7&scope=contacts%20timeline&redirect_uri=http://localhost:3000/oauth/callback Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=ba6a39b5-61b1-4002-9928-09b72bbc743b" for ::1 at 2020-10-02 11:19:56 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"ba6a39b5-61b1-4002-9928-09b72bbc743b"} Redirected to http://localhost:3000/companies Completed 302 Found in 300ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-02 11:19:57 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (11.2ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 2815ms (Views: 46.4ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-02 11:20:06 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (4.4ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 180615ms (Views: 28.3ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-02 11:28:34 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 215ms (ActiveRecord: 0.0ms) Hubspot::Crm::Timeline::ApiError (Error message: the server returns an error HTTP status code: 403 Response headers: {"date"=>"Fri, 02 Oct 2020 08:28:34 GMT", "content-type"=>"application/json;charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d408646f6c79690cf5ab231042ee548b91601627314; expires=Sun, 01-Nov-20 08:28:34 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B7653582B757C5A030E6E739BB54DCA21E4270583000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"058a06713b0000cc7346809200000001", "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"=>"5dbd0cfb9897cc73-WAW"} Response body: {"status":"error","message":"This oauth-token (CI6VvM3OLhIDQQEBGPHZmgMgqpC2BCiM8QwyGQDEje8Zl6Hdz9WffS1CWhna3Drom7KDDiQ6GwAKAkcAAAyAwwcIAAAAAQAAAAAAAAAYwAD_H0IZAMSN7xlUoRDAa_kKn3Ttp8vwElrB7NZJQQ) does not have proper permissions! (requires all of [developers-write])","correlationId":"47962a3c-f801-4b1c-ab15-a289923b42f3"}): app/controllers/companies_controller.rb:5:in `index' Started GET "/companies" for ::1 at 2020-10-02 11:28:48 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 413ms (ActiveRecord: 0.0ms) Hubspot::Crm::Timeline::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Fri, 02 Oct 2020 08:28:48 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"372", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dbc08b2cad968a4326e5a9f63f41c238f1601627328; expires=Sun, 01-Nov-20 08:28:48 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BC344E28DCF2454ED5806CB9C15E287964F76E4EB000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"058a06a7ab000016792e09a200000001", "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"=>"5dbd0d52af731679-WAW"} Response body: {"status":"error","message":"Request implies conflicting values for hub-id: 6728945 from [oauth-token (CI6VvM3OLhIDQQEBGPHZmgMgqpC2BCiM8QwyGQDEje8Zl6Hdz9WffS1CWhna3Drom7KDDiQ6GwAKAkcAAAyAwwcIAAAAAQAAAAAAAAAYwAD_H0IZAMSN7xlUoRDAa_kKn3Ttp8vwElrB7NZJQQ)] vs. 7042810 from hapikey (9162a6fd-8f68-4892-a606-00b7693648fa)","correlationId":"2239a6bd-d7b4-40d2-8867-9b063d13f49a"}): app/controllers/companies_controller.rb:6:in `index' Started GET "/companies" for ::1 at 2020-10-02 11:29:20 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 379ms (ActiveRecord: 0.0ms) Hubspot::Crm::Timeline::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Fri, 02 Oct 2020 08:29:21 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"137", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d85d3b98b3c38cd46812ac8c063b32a081601627361; expires=Sun, 01-Nov-20 08:29:21 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BFBA21618A2C978DF77D787B8275BCB26C8B0C112000000000000000000", "x-hubspot-ratelimit-daily"=>"250000", "x-hubspot-ratelimit-daily-remaining"=>"249999", "x-hubspot-ratelimit-interval-milliseconds"=>"10000", "x-hubspot-ratelimit-remaining"=>"99", "x-hubspot-ratelimit-max"=>"100", "x-hubspot-ratelimit-secondly"=>"10", "x-hubspot-ratelimit-secondly-remaining"=>"9", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"058a0727050000f29ce79f8200000001", "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"=>"5dbd0e1e6a03f29c-WAW"} Response body: {"status":"error","message":"Invalid input JSON: No content (empty input stream)","correlationId":"e7185e0c-51f7-4623-bb2f-a475be07d79e"}): app/controllers/companies_controller.rb:6:in `index' Started GET "/" for ::1 at 2020-10-02 11:38:00 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 348ms (ActiveRecord: 0.0ms) Hubspot::Crm::Timeline::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Fri, 02 Oct 2020 08:38:00 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"137", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dedb1b87ffd5734b62e94f3ce6424a2561601627880; expires=Sun, 01-Nov-20 08:38:00 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B6A527B9F6E4A7475F3557D629C38B5DC01802D29000000000000000000", "x-hubspot-ratelimit-daily"=>"250000", "x-hubspot-ratelimit-daily-remaining"=>"249998", "x-hubspot-ratelimit-interval-milliseconds"=>"10000", "x-hubspot-ratelimit-remaining"=>"99", "x-hubspot-ratelimit-max"=>"100", "x-hubspot-ratelimit-secondly"=>"10", "x-hubspot-ratelimit-secondly-remaining"=>"9", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"058a0f14930000cc9f1020b200000001", "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"=>"5dbd1acdbf63cc9f-WAW"} Response body: {"status":"error","message":"Invalid input JSON: No content (empty input stream)","correlationId":"52798b83-e966-492a-9ec5-60cfde5be5c1"}): app/controllers/companies_controller.rb:6:in `index' Started GET "/" for ::1 at 2020-10-02 11:38:07 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (4.4ms) Rendered shared/_header.html.erb (0.8ms) Completed 200 OK in 6236ms (Views: 514.6ms | ActiveRecord: 0.0ms) Started GET "/oauth" for ::1 at 2020-10-02 11:38:15 +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 1ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=00b21844-01a4-44ce-898b-f9e20dd3c6f3" for ::1 at 2020-10-02 11:38:32 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"00b21844-01a4-44ce-898b-f9e20dd3c6f3"} Redirected to http://localhost:3000/companies Completed 302 Found in 243ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-02 11:38:32 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (8.2ms) Rendered shared/_header.html.erb (0.7ms) Completed 200 OK in 8128ms (Views: 34.3ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-02 11:40:03 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 10479965ms (ActiveRecord: 0.0ms) Faraday::ConnectionFailed (Failed to open TCP connection to api.hubapi.com:443 (getaddrinfo: Temporary failure in name resolution)): app/lib/services/hubspot/companies/get_all.rb:11:in `call' app/controllers/companies_controller.rb:16:in `index' Started GET "/companies" for ::1 at 2020-10-02 16:23:38 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (4.1ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 1357ms (Views: 320.8ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-02 16:27:45 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms) NameError (uninitialized constant Hubspot::Crm::Schemas::ApiClinent): app/controllers/companies_controller.rb:8:in `index' Started GET "/companies" for ::1 at 2020-10-02 16:28:05 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (8.7ms) Rendered shared/_header.html.erb (1.2ms) Completed 200 OK in 19479ms (Views: 71.7ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-02 16:29:41 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (18.0ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 98640ms (Views: 243.2ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-05 11:51:08 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (10.7ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 4618323ms (Views: 240.1ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-05 13:08:09 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (7.4ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 2405ms (Views: 35.3ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-05 13:08:50 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `get_page' for # Did you mean? get_all): app/controllers/companies_controller.rb:10:in `index' Started GET "/companies" for ::1 at 2020-10-05 13:09:00 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 113489ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Mon, 05 Oct 2020 10:10:53 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=da4fa1bd6e7debaeefbf6a2a80c57d55e1601892653; expires=Wed, 04-Nov-20 10:10:53 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0599d731a30000cca393a88200000001", "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"=>"5dd65afc3a78cca3-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:10:in `index' Started GET "/companies" for ::1 at 2020-10-05 13:10:59 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 46052ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Mon, 05 Oct 2020 10:11:45 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d8c6fc6c83973abec7ed9072e911f548f1601892705; expires=Wed, 04-Nov-20 10:11:45 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0599d7fb150000cca3978f3200000001", "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"=>"5dd65c3e8e28cca3-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:10:in `index' Started GET "/companies" for ::1 at 2020-10-05 13:12:29 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 175514ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Mon, 05 Oct 2020 10:12:29 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d7832082f87ad738207f953c05a059d311601892749; expires=Wed, 04-Nov-20 10:12:29 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0599d8a89d000016734a9b6200000001", "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"=>"5dd65d542e3b1673-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:10:in `index' Started GET "/companies" for ::1 at 2020-10-05 13:18:41 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 52124ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Mon, 05 Oct 2020 10:18:42 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=db03829c3696605b8563f3b2d836e12591601893121; expires=Wed, 04-Nov-20 10:18:41 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0599de57a20000cc8fcaa09200000001", "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"=>"5dd6666c3af5cc8f-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:10:in `index' Started GET "/" for ::1 at 2020-10-05 13:19:36 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 2213ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Mon, 05 Oct 2020 10:19:36 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dc53f3ab2a99199b7bb64ffe276ddc0791601893176; expires=Wed, 04-Nov-20 10:19:36 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0599df2cd40000f2c846322200000001", "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"=>"5dd667c15a00f2c8-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:10:in `index' Started GET "/auth" for ::1 at 2020-10-05 13:19:45 +0300 ActionController::RoutingError (No route matches [GET] "/auth"): 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 "/oauth" for ::1 at 2020-10-05 13:19: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& Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=5b7901e9-8e16-47b0-9cb3-43ad50ce2949" for ::1 at 2020-10-05 13:19:53 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"5b7901e9-8e16-47b0-9cb3-43ad50ce2949"} Redirected to http://localhost:3000/companies Completed 302 Found in 332ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-05 13:19:54 +0300 Processing by CompaniesController#index as HTML Started GET "/oauth/callback?code=bd7517a9-7442-463d-81e2-8d2eaa57375f" for ::1 at 2020-10-05 13:20:01 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"bd7517a9-7442-463d-81e2-8d2eaa57375f"} Redirected to http://localhost:3000/companies Completed 302 Found in 448ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-05 13:20:01 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 2974ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Mon, 05 Oct 2020 10:20:02 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d6c5f93332c93840e910768ca586ab9181601893202; expires=Wed, 04-Nov-20 10:20:02 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0599df905b0000163c620c6200000001", "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"=>"5dd668609a4a163c-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:10:in `index' Completed 500 Internal Server Error in 1009490ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Mon, 05 Oct 2020 10:19:54 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d1cca5834eeb0b2a216b7e47a119be1fc1601893194; expires=Wed, 04-Nov-20 10:19:54 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0599df72400000ffb8f3985200000001", "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"=>"5dd668306ad5ffb8-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:10:in `index' Started GET "/companies" for ::1 at 2020-10-05 13:41:45 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 8118ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Mon, 05 Oct 2020 10:41:45 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d9771af5dfac45ebb279021c867722bbe1601894505; expires=Wed, 04-Nov-20 10:41:45 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0599f374af0000f29cddb67200000001", "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"=>"5dd688344ff4f29c-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:14:in `index' Started GET "/companies" for ::1 at 2020-10-05 13:42:11 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 32216ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Mon, 05 Oct 2020 10:42:11 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d3ba06873010e7ae34d131b993045c6c61601894531; expires=Wed, 04-Nov-20 10:42:11 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0599f3d97e0000cca397862200000001", "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"=>"5dd688d59fb5cca3-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:14:in `index' Started GET "/companies" for ::1 at 2020-10-05 13:42:55 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 105345ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Mon, 05 Oct 2020 10:44:39 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d960ab621005f62147a4b06de363e5d691601894679; expires=Wed, 04-Nov-20 10:44:39 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0599f61c200000ffd47b1dc200000001", "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"=>"5dd68c736af2ffd4-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:15:in `index' Started GET "/companies" for ::1 at 2020-10-05 13:45:31 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 54062ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 404 Response headers: {"date"=>"Mon, 05 Oct 2020 10:46:15 GMT", "content-type"=>"text/html; charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dbb3f70494cb4f2e9d6949794604a09d21601894775; expires=Wed, 04-Nov-20 10:46:15 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "etag"=>"W/\"5f4e851a-3560\"", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"0599f792ac0000164241061200000001", "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"=>"5dd68ecaafc01642-WAW"} Response body: Error

That page is nowhere to be found

404
): app/controllers/companies_controller.rb:15:in `index' Started GET "/companies" for ::1 at 2020-10-05 13:55:28 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 5723ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 403 Response headers: {"date"=>"Mon, 05 Oct 2020 10:55:34 GMT", "content-type"=>"application/json;charset=utf-8", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=db3a719733c5a4cc417144223d7b9eee41601895334; expires=Wed, 04-Nov-20 10:55:34 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"059a0018d80000ffd0ddb16200000001", "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"=>"5dd69c6e29dfffd0-WAW"} 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":"4c51b742-29fb-49d4-918a-5f6ab55f75c0","errors":[{"message":"One or more of the following scopes are required.","context":{"requiredScopes":["crm.objects.custom.read","crm.schemas.custom.read"]}}],"links":{"scopes":"https://developers.hubspot.com/scopes"},"category":"MISSING_SCOPES"}): app/controllers/companies_controller.rb:15:in `index' Started GET "/companies" for ::1 at 2020-10-05 13:56:13 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (11.1ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 1578ms (Views: 164.6ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-05 13:56:32 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (11.7ms) Rendered shared/_header.html.erb (0.5ms) Completed 200 OK in 4820ms (Views: 47.8ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-05 13:57:33 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (15.7ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 54239ms (Views: 210.0ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-05 14:44:19 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 229ms (ActiveRecord: 0.0ms) Hubspot::Crm::Timeline::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 05 Oct 2020 11:44:19 GMT", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d2c3b8685686655915998265e671571741601898259; expires=Wed, 04-Nov-20 11:44:19 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BBE8A2EE11D400CDE030B1BA6058430439E4AB16A000000000000000000", "cache-control"=>"must-revalidate,no-cache,no-store", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"059a2cbd680000f2d415328200000001", "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"=>"5dd6e3dbdc99f2d4-WAW"} Response body: ): app/controllers/companies_controller.rb:10:in `index' Started GET "/companies" for ::1 at 2020-10-05 14:51:55 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 277ms (ActiveRecord: 0.0ms) Hubspot::Crm::Timeline::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 05 Oct 2020 11:51:56 GMT", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dfa2b41b0076dfb168b12fbc4a3a475601601898716; expires=Wed, 04-Nov-20 11:51:56 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B2C8B38E68A693853F332CE0DE5FEE9A076BFFAF1000000000000000000", "cache-control"=>"must-revalidate,no-cache,no-store", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"059a33b3a800001661c6937200000001", "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"=>"5dd6eeff7e891661-WAW"} Response body: ): app/controllers/companies_controller.rb:10:in `index' Started GET "/companies" for ::1 at 2020-10-05 14:55:24 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 91559ms (ActiveRecord: 0.0ms) Hubspot::Crm::Timeline::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 05 Oct 2020 11:55:24 GMT", "transfer-encoding"=>"chunked", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d438eef5fcc903c734a51ca5cd86644011601898924; expires=Wed, 04-Nov-20 11:55:24 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BFA92E81D986262613F77D7FA0CFCA9D16D29B261000000000000000000", "cache-control"=>"must-revalidate,no-cache,no-store", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"059a36e23500001630c3913200000001", "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"=>"5dd6f416b9ea1630-WAW"} Response body: ): app/controllers/companies_controller.rb:10:in `index' Started GET "/companies" for ::1 at 2020-10-05 14:56:59 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 10948ms (ActiveRecord: 0.0ms) Hubspot::Crm::Timeline::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 05 Oct 2020 11:57:00 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"137", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d444e053b888244be3f4324f047749a921601899020; expires=Wed, 04-Nov-20 11:57:00 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B482373684569CE8FC4D35E518816900887048389000000000000000000", "x-hubspot-ratelimit-daily"=>"250000", "x-hubspot-ratelimit-daily-remaining"=>"249999", "x-hubspot-ratelimit-interval-milliseconds"=>"10000", "x-hubspot-ratelimit-remaining"=>"99", "x-hubspot-ratelimit-max"=>"100", "x-hubspot-ratelimit-secondly"=>"10", "x-hubspot-ratelimit-secondly-remaining"=>"9", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"059a3856db0000cc93e4b01200000001", "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"=>"5dd6f66af885cc93-WAW"} Response body: {"status":"error","message":"Invalid input JSON: No content (empty input stream)","correlationId":"5195fa88-e8f2-40ad-8cd6-0319ad307672"}): app/controllers/companies_controller.rb:10:in `index' Started GET "/companies" for ::1 at 2020-10-05 15:07:51 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 667ms (ActiveRecord: 0.0ms) Hubspot::Crm::Timeline::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 05 Oct 2020 12:07:52 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"185", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dd373e2fc0690d9e304b51987080500bf1601899672; expires=Wed, 04-Nov-20 12:07:52 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BE6158E89FF4700EE6806592F67025BE034F08880000000000000000000", "x-hubspot-ratelimit-daily"=>"250000", "x-hubspot-ratelimit-daily-remaining"=>"249997", "x-hubspot-ratelimit-interval-milliseconds"=>"10000", "x-hubspot-ratelimit-remaining"=>"99", "x-hubspot-ratelimit-max"=>"100", "x-hubspot-ratelimit-secondly"=>"10", "x-hubspot-ratelimit-secondly-remaining"=>"9", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"059a4249c70000b86988395200000001", "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"=>"5dd706560c60b869-WAW"} Response body: {"status":"error","message":"ObjectType 'contact' not currently supported. Must be one of: [companies, tickets, deals, contacts]","correlationId":"db0af69d-e597-40ec-a4ce-a6770a458e86"}): app/controllers/companies_controller.rb:16:in `index' Started GET "/companies" for ::1 at 2020-10-05 15:08:27 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (9.9ms) Rendered shared/_header.html.erb (0.7ms) Completed 200 OK in 1067ms (Views: 261.0ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-05 15:08:57 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (3.1ms) Rendered shared/_header.html.erb (0.7ms) Completed 200 OK in 958ms (Views: 28.8ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-05 15:09:05 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (3.4ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 9571ms (Views: 23.3ms | ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-05 15:23:21 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 519ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 05 Oct 2020 12:23:21 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"212", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d1d9b66d1d5f46aaa5c64c7cc40a01f731601900601; expires=Wed, 04-Nov-20 12:23:21 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-hubspot-ratelimit-daily"=>"250000", "x-hubspot-ratelimit-daily-remaining"=>"249997", "x-hubspot-ratelimit-interval-milliseconds"=>"10000", "x-hubspot-ratelimit-remaining"=>"99", "x-hubspot-ratelimit-max"=>"100", "x-hubspot-ratelimit-secondly"=>"10", "x-hubspot-ratelimit-secondly-remaining"=>"9", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"059a5078400000cc9bcfb48200000001", "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"=>"5dd71d06cccfcc9b-WAW"} Response body: {"status":"error","message":"Invalid input JSON on line 1, column 531: Cannot build ObjectSchemaEgg, some of required attributes are not set [name, labels]","correlationId":"44cfbf24-44ac-4c31-bc82-8357126f3b28"}): app/controllers/companies_controller.rb:37:in `index' Started GET "/companies" for ::1 at 2020-10-05 15:25:16 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 2139569ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 05 Oct 2020 13:00:56 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"212", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d1a3ec60aa4958840f499a898fe10518d1601902855; expires=Wed, 04-Nov-20 13:00:55 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-hubspot-ratelimit-daily"=>"250000", "x-hubspot-ratelimit-daily-remaining"=>"249996", "x-hubspot-ratelimit-interval-milliseconds"=>"10000", "x-hubspot-ratelimit-remaining"=>"99", "x-hubspot-ratelimit-max"=>"100", "x-hubspot-ratelimit-secondly"=>"10", "x-hubspot-ratelimit-secondly-remaining"=>"9", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"059a72dd4a0000ffc8af936200000001", "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"=>"5dd7540eddffffc8-WAW"} Response body: {"status":"error","message":"Invalid input JSON on line 1, column 531: Cannot build ObjectSchemaEgg, some of required attributes are not set [name, labels]","correlationId":"59e28050-c661-495e-b0f0-2439087e0163"}): app/controllers/companies_controller.rb:38:in `index' Started GET "/companies" for ::1 at 2020-10-05 16:01:02 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 205230ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 05 Oct 2020 13:04:28 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"212", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d97f2002049f338166b4b159522d9fea91601903067; expires=Wed, 04-Nov-20 13:04:27 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-hubspot-ratelimit-daily"=>"250000", "x-hubspot-ratelimit-daily-remaining"=>"249994", "x-hubspot-ratelimit-interval-milliseconds"=>"10000", "x-hubspot-ratelimit-remaining"=>"99", "x-hubspot-ratelimit-max"=>"100", "x-hubspot-ratelimit-secondly"=>"10", "x-hubspot-ratelimit-secondly-remaining"=>"9", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"059a761ad80000164f02826200000001", "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"=>"5dd7593e2ca2164f-WAW"} Response body: {"status":"error","message":"Invalid input JSON on line 1, column 531: Cannot build ObjectSchemaEgg, some of required attributes are not set [name, labels]","correlationId":"5aab476b-49e2-426f-b5f6-632b51b0b25d"}): app/controllers/companies_controller.rb:38:in `index' Started GET "/companies" for ::1 at 2020-10-05 16:04:35 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 130569ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 05 Oct 2020 13:06:45 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"212", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dd98b9aa947ded67f705f521f7a3593201601903205; expires=Wed, 04-Nov-20 13:06:45 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-hubspot-ratelimit-daily"=>"250000", "x-hubspot-ratelimit-daily-remaining"=>"249993", "x-hubspot-ratelimit-interval-milliseconds"=>"10000", "x-hubspot-ratelimit-remaining"=>"99", "x-hubspot-ratelimit-max"=>"100", "x-hubspot-ratelimit-secondly"=>"10", "x-hubspot-ratelimit-secondly-remaining"=>"9", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"059a78345b0000ffbcf5132200000001", "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"=>"5dd75c9a290affbc-WAW"} Response body: {"status":"error","message":"Invalid input JSON on line 1, column 531: Cannot build ObjectSchemaEgg, some of required attributes are not set [name, labels]","correlationId":"159b7256-1c60-4ce9-9c2e-43cb87b89098"}): app/controllers/companies_controller.rb:38:in `index' Started GET "/companies" for ::1 at 2020-10-05 16:08:00 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 86842ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 05 Oct 2020 13:09:27 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"212", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d4defbd21ea45ef8f32ab6e0d9fd3456b1601903367; expires=Wed, 04-Nov-20 13:09:27 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-hubspot-ratelimit-daily"=>"250000", "x-hubspot-ratelimit-daily-remaining"=>"249992", "x-hubspot-ratelimit-interval-milliseconds"=>"10000", "x-hubspot-ratelimit-remaining"=>"99", "x-hubspot-ratelimit-max"=>"100", "x-hubspot-ratelimit-secondly"=>"10", "x-hubspot-ratelimit-secondly-remaining"=>"9", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"059a7aac0b0000ffc435a90200000001", "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"=>"5dd7608cd8d0ffc4-WAW"} Response body: {"status":"error","message":"Invalid input JSON on line 1, column 531: Cannot build ObjectSchemaEgg, some of required attributes are not set [name, labels]","correlationId":"2ff4c614-8f2e-4e19-8ea2-1fa4a7e08f6c"}): app/controllers/companies_controller.rb:38:in `index' Started GET "/companies" for ::1 at 2020-10-05 16:09:55 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 339ms (ActiveRecord: 0.0ms) Hubspot::Crm::Schemas::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 05 Oct 2020 13:09:56 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"263", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=da679798f8e28311450f557b4653df9611601903395; expires=Wed, 04-Nov-20 13:09:55 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-hubspot-ratelimit-daily"=>"250000", "x-hubspot-ratelimit-daily-remaining"=>"249991", "x-hubspot-ratelimit-interval-milliseconds"=>"10000", "x-hubspot-ratelimit-remaining"=>"99", "x-hubspot-ratelimit-max"=>"100", "x-hubspot-ratelimit-secondly"=>"10", "x-hubspot-ratelimit-secondly-remaining"=>"9", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"059a7b1c800000f2940ba50200000001", "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"=>"5dd76140c8e2f294-WAW"} Response body: {"status":"error","message":"Invalid primary display property: property1","correlationId":"d5f399a0-0820-4fcc-96bf-6c2db4bc90f6","context":{"property":["property1"]},"category":"VALIDATION_ERROR","subCategory":"ObjectSchemaError.INVALID_PRIMARY_DISPLAY_PROPERTY"}): app/controllers/companies_controller.rb:37:in `index' Started GET "/companies" for ::1 at 2020-10-05 16:11:52 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (5.9ms) Rendered shared/_header.html.erb (0.5ms) Completed 200 OK in 16364ms (Views: 202.0ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-10-08 15:40:12 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 468ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `get_page' for #): app/controllers/companies_controller.rb:6:in `index' Started GET "/" for ::1 at 2020-10-08 15:43:50 +0300 Processing by CompaniesController#index as HTML Completed 500 Internal Server Error in 627ms (ActiveRecord: 0.0ms) Hubspot::Crm::Associations::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Thu, 08 Oct 2020 12:43:51 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"345", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d16b065b8900b87d90fce7a3556079e451602161031; expires=Sat, 07-Nov-20 12:43:51 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05a9d6505b0000f1663e86a200000001", "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"=>"5deff32d5932f166-ARN"} Response body: {"status":"error","message":"Invalid input JSON on line 1, column 12: Cannot construct instance of `com.hubspot.apiutils.core.models.PublicObjectId$Json` (although at least one Creator exists): no long/Long-argument constructor/factory method to deserialize from Number value (4371112429)","correlationId":"86cb7e1f-2003-4925-aac6-d1375b9d7dd8"}): app/controllers/companies_controller.rb:10:in `index' Started GET "/" for ::1 at 2020-10-08 15:44:38 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (2.8ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 987ms (Views: 280.8ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-10-08 15:44:41 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 1169ms (ActiveRecord: 0.0ms) Hubspot::Crm::Contacts::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Thu, 08 Oct 2020 12:44:43 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=dbbd8f174848b23dc411dccebe7d51f251602161082; expires=Sat, 07-Nov-20 12:44:42 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B8558B5D55983F87EC7FBB8C62CBB7680BE395B50000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05a9d719fd0000f21086381200000001", "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"=>"5deff46ffbd7f210-ARN"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"094f5035-c947-4959-b1aa-8717c1a81fc6","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/associations/get_by_id.rb:12:in `call' app/controllers/companies_controller.rb:42:in `show' Started GET "/oauth" for ::1 at 2020-10-08 15:50:19 +0300 Processing by Oauth::AuthorizationController#authorize as HTML Redirected to https://app.hubspot.com/oauth/authorize?client_id=8a79cddf-c799-4905-8926-ca0e740f75f7&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foauth%2Fcallback&scope=contacts& Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/oauth/callback?code=1d25fbe3-4f18-4f48-a4c6-31075a6d5d99" for ::1 at 2020-10-08 15:50:23 +0300 Processing by Oauth::AuthorizationController#callback as HTML Parameters: {"code"=>"1d25fbe3-4f18-4f48-a4c6-31075a6d5d99"} Redirected to http://localhost:3000/companies Completed 302 Found in 349ms (ActiveRecord: 0.0ms) Started GET "/companies" for ::1 at 2020-10-08 15:50:24 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (14.8ms) Rendered shared/_header.html.erb (0.7ms) Completed 200 OK in 493ms (Views: 79.0ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-10-08 15:50:26 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 974ms (ActiveRecord: 0.0ms) Hubspot::Crm::Contacts::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Thu, 08 Oct 2020 12:50:27 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d9d44a3f58496ed054f58d6e1fdbc4ef21602161427; expires=Sat, 07-Nov-20 12:50:27 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2B7B307ED879236CF6438CAB219A713EB76955AD25000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05a9dc5c0b0000daa848b4a200000001", "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"=>"5deffcd9aa8ddaa8-ARN"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"e9ab5c83-2310-4e52-a068-edb92df7d2bf","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/associations/get_by_id.rb:12:in `call' app/controllers/companies_controller.rb:42:in `show' Started GET "/companies/4371112429" for ::1 at 2020-10-08 15:51:50 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Started GET "/companies/4371112429" for ::1 at 2020-10-08 15:52:17 +0300 Completed 500 Internal Server Error in 30086ms (ActiveRecord: 0.0ms) Hubspot::Crm::Contacts::ApiError (Error message: the server returns an error HTTP status code: 401 Response headers: {"date"=>"Thu, 08 Oct 2020 12:52:20 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"280", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=d2c046fbf9bea4738e84defff791cfe021602161540; expires=Sat, 07-Nov-20 12:52:20 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "x-trace"=>"2BD0E1E703BE4B8C6E9A073BA3B24248D0B32AE592000000000000000000", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05a9de16180000cb0c9db0c200000001", "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"=>"5defff9cfb03cb0c-ARN"} Response body: {"status":"error","message":"The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/","correlationId":"08412a5e-7b77-4214-b665-a03a788bbf54","category":"INVALID_AUTHENTICATION","links":{"api key":"https://app.hubspot.com/l/api-key/"}}): app/lib/services/hubspot/associations/get_by_id.rb:12:in `call' app/controllers/companies_controller.rb:42:in `show' Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 3495ms (ActiveRecord: 0.0ms) NameError (undefined local variable or method `contacts' for # Did you mean? @contacts): app/controllers/companies_controller.rb:44:in `show' Started GET "/companies/4371112429" for ::1 at 2020-10-08 15:52:45 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (20.2ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 7993ms (Views: 192.0ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-10-08 15:53:15 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (21.5ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 23517ms (Views: 159.1ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-10-08 15:53:53 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (6.3ms) Rendered shared/_header.html.erb (0.5ms) Completed 200 OK in 16540ms (Views: 35.3ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-10-08 15:54:19 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Completed 500 Internal Server Error in 647ms (ActiveRecord: 0.0ms) Hubspot::Crm::Associations::ApiError (Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Thu, 08 Oct 2020 12:54:20 GMT", "content-type"=>"application/json;charset=utf-8", "content-length"=>"335", "connection"=>"keep-alive", "set-cookie"=>"__cfduid=db7dbcce88dd77e88873e9c494e4b2cd41602161660; expires=Sat, 07-Nov-20 12:54:20 GMT; path=/; domain=.hubapi.com; HttpOnly; SameSite=Lax", "vary"=>"Accept-Encoding", "access-control-allow-credentials"=>"false", "cf-cache-status"=>"DYNAMIC", "cf-request-id"=>"05a9dfe8c5000015f838053200000001", "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"=>"5df00287ac3015f8-ARN"} Response body: {"status":"error","message":"Invalid input JSON on line 1, column 12: Cannot construct instance of `com.hubspot.apiutils.core.models.PublicObjectId$Json` (although at least one Creator exists): no int/Int-argument constructor/factory method to deserialize from Number value (42)","correlationId":"bfaebee2-fe5e-49a9-b7e4-f22c2e87e92d"}): app/lib/services/hubspot/associations/get_by_id.rb:21:in `associated_contacts_id_object' app/lib/services/hubspot/associations/get_by_id.rb:10:in `call' app/controllers/companies_controller.rb:42:in `show' Started GET "/companies/4371112429" for ::1 at 2020-10-08 15:54:31 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (6.7ms) Rendered shared/_header.html.erb (0.7ms) Completed 200 OK in 14553ms (Views: 63.1ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-10-08 15:57:37 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (8.6ms) Rendered shared/_header.html.erb (0.5ms) Completed 200 OK in 24227ms (Views: 69.9ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-10-08 15:58:19 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (11.8ms) Rendered shared/_header.html.erb (0.6ms) Completed 200 OK in 35654ms (Views: 59.7ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-10-08 16:02:37 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (1.7ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 8969ms (Views: 19.4ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-10-08 16:02:49 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (8.7ms) Rendered shared/_header.html.erb (0.3ms) Completed 200 OK in 1100350ms (Views: 36.5ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2020-10-09 11:22:52 +0300 Processing by CompaniesController#index as HTML Rendering companies/index.html.erb within layouts/application Rendered companies/index.html.erb within layouts/application (13.5ms) Rendered shared/_header.html.erb (0.4ms) Completed 200 OK in 1123ms (Views: 372.6ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-10-09 11:29:10 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (27.6ms) Rendered shared/_header.html.erb (0.5ms) Completed 200 OK in 1145507ms (Views: 57.2ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-10-09 12:54:09 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (19.0ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 11352ms (Views: 192.3ms | ActiveRecord: 0.0ms) Started GET "/companies/4371112429" for ::1 at 2020-10-09 12:55:30 +0300 Processing by CompaniesController#show as HTML Parameters: {"id"=>"4371112429"} Rendering companies/show.html.erb within layouts/application Rendered companies/show.html.erb within layouts/application (40.4ms) Rendered shared/_header.html.erb (0.2ms) Completed 200 OK in 86649ms (Views: 207.6ms | ActiveRecord: 0.0ms)