[2024-05-31 16:41:53] local.INFO: array ( 'transfer-encoding' => array ( 0 => 'chunked', ), 'connection' => array ( 0 => 'close', ), 'host' => array ( 0 => 'api.srcfreight.com', ), 'content-type' => array ( 0 => 'application/json; charset=utf-8', ), ) [2024-05-31 16:41:53] local.INFO: array ( ) [2024-05-31 16:41:53] local.ERROR: App\Http\Controllers\Controller::prepare(): Return value must be of type object, array returned {"exception":"[object] (TypeError(code: 0): App\\Http\\Controllers\\Controller::prepare(): Return value must be of type object, array returned at /var/www/html/shipping_service/app/Http/Controllers/Controller.php:10) [stacktrace] #0 /var/www/html/shipping_service/app/Http/Controllers/UpsController.php(45): App\\Http\\Controllers\\Controller->prepare() #1 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\UpsController->rate() #2 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch() #3 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Routing/Route.php(206): Illuminate\\Routing\\Route->runController() #4 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Routing/Router.php(806): Illuminate\\Routing\\Route->run() #5 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}() #6 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #7 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle() #8 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #9 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Routing/Router.php(805): Illuminate\\Pipeline\\Pipeline->then() #10 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Routing/Router.php(784): Illuminate\\Routing\\Router->runRouteWithinStack() #11 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Routing/Router.php(748): Illuminate\\Routing\\Router->runRoute() #12 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Routing/Router.php(737): Illuminate\\Routing\\Router->dispatchToRoute() #13 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch() #14 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}() #15 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #16 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle() #17 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle() #18 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #19 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle() #20 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle() #21 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #22 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\ValidatePostSize->handle() #23 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #24 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle() #25 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(62): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #26 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\HandleCors->handle() #27 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #28 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\TrustProxies->handle() #29 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #30 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then() #31 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter() #32 /var/www/html/shipping_service/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1172): Illuminate\\Foundation\\Http\\Kernel->handle() #33 /var/www/html/shipping_service/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest() #34 {main} "} [2024-05-31 16:41:53] local.INFO: array ( 'connection' => array ( 0 => 'close', ), 'content-length' => array ( 0 => '2550', ), 'content-type' => array ( 0 => 'application/json', ), 'user-agent' => array ( 0 => 'HTTPie', ), 'host' => array ( 0 => 'api.srcfreight.com', ), 'authorization' => array ( 0 => 'Basic Og==', ), 'php-auth-user' => array ( 0 => '', ), 'php-auth-pw' => array ( 0 => '', ), ) [2024-05-31 16:41:53] local.INFO: array ( 'carrier' => 'UPS', 'account_key' => 'key', 'account_secret' => 'secret', 'account_number' => 'R95229', 'service_type' => NULL, 'pickup_type' => NULL, 'shipment' => array ( 'billing' => array ( 'company_name' => 'SRC Logistics Inc.', 'address_line_1' => '2607 N. Mulroy Rd', 'address_line_2' => NULL, 'city' => 'Springfield', 'state_code' => 'MO', 'postal_code' => '65803', 'country_code' => 'US', 'name' => 'Nathan Dievert', 'contact_phone' => '417-888-9999', 'contact_email' => 'ndievert@srclogisticsinc.com', ), 'origin' => array ( 'company_name' => 'SRC Electrical', 'address_line_1' => '2401 E. Sunshine St', 'address_line_2' => NULL, 'city' => 'Springfield', 'state_code' => 'MO', 'postal_code' => '65804', 'country_code' => 'US', 'name' => 'Shipping', 'contact_phone' => '800-634-2858', 'contact_email' => NULL, ), 'destination' => array ( 'company_name' => 'Bright Solutions', 'address_line_1' => '8339 Harrison Road', 'address_line_2' => NULL, 'city' => 'Miami', 'state_code' => 'FL', 'postal_code' => '33161', 'country_code' => 'US', 'name' => 'Someone', 'contact_phone' => '417-888-8889', 'contact_email' => NULL, ), 'customs' => array ( 'tinNumber' => NULL, ), 'line_items' => array ( 0 => array ( 'items' => array ( 0 => array ( 'product' => array ( 'part_number' => 'AC1234567', 'description' => 'Big Engine Part', 'nmfc' => NULL, 'value' => 1, 'currency' => '3 digit ISO code: USD', 'country_of_manufacture' => '2 digit country ISO code: US', 'export_compliance_statement' => '30.37(f)', 'regulatory_control_statement' => 0, ), ), ), 'handling_unit' => array ( 'package_type' => 0, 'length' => 10, 'width' => 10, 'height' => 10, 'length_unit' => 0, 'weight' => 1.0, 'weight_unit' => 0, 'class' => 70.5, ), ), ), ), ) [2024-05-31 16:54:30] local.INFO: array ( 'expect' => array ( 0 => '100-continue', ), 'content-length' => array ( 0 => '2444', ), 'content-type' => array ( 0 => 'application/json', ), 'accept' => array ( 0 => '*/*', ), 'user-agent' => array ( 0 => 'curl/7.61.1', ), 'host' => array ( 0 => 'api.srcfreight.com', ), ) [2024-05-31 16:54:30] local.INFO: array ( 'shipment' => array ( 'origin' => array ( 'name' => 'JASON', 'inputIsValid' => true, 'address_id' => 525, 'address_line_1' => '1600 N 25TH AVE', 'city' => 'Melrose Park', 'state_code' => 'IL', 'postal_code' => '60160', 'country' => 'US', 'is_shipping' => 0, 'is_destination' => 0, 'is_billto' => 0, 'contact_name' => 'JASON', 'contact_phone' => '4178933016', 'ready_date' => '2024-05-30', 'ready_time' => '08:00', 'close_time' => '17:00', 'country_code' => 'US', 'requires_inside_delivery' => false, 'is_residential' => false, 'requires_liftgate' => false, 'has_appointment' => false, 'is_limited_access' => false, 'additional_services' => NULL, 'company_name' => 'INTERLAKE MECALUX', ), 'destination' => array ( 'name' => 'TRAVIS/LUIS', 'inputIsValid' => true, 'address_id' => 1712, 'address_line_1' => '2065 E PYTHIAN DOCK DOORS 1-7', 'city' => 'Springfield', 'state_code' => 'MO', 'postal_code' => '65802', 'country' => 'US', 'is_shipping' => 0, 'is_destination' => 1, 'is_billto' => 0, 'contact_name' => 'TRAVIS/LUIS', 'contact_phone' => '4178933016', 'country_code' => 'US', 'requires_inside_delivery' => false, 'is_residential' => false, 'requires_liftgate' => false, 'has_appointment' => false, 'is_limited_access' => false, 'additional_services' => NULL, 'company_name' => 'CNH DEPOT 29 SRC LOGISTICS INC', ), 'billing' => array ( 'name' => 'Freight', 'address_line_1' => 'P.O. Box 9147', 'address_line_2' => NULL, 'city' => 'Springfield', 'state_code' => 'MO', 'postal_code' => '65801', 'country_code' => 'US', 'contact_name' => 'Freight', 'contact_phone' => '417-479-9565', 'contact_extension' => NULL, 'contact_fax' => NULL, 'contact_email' => 'freight@srclogisticsinc.com', 'contacts' => array ( 'contacts' => array ( 0 => array ( 'name' => 'Freight', 'phone' => '4174799565', 'extension' => NULL, 'email' => 'freight@srclogisticsinc.com', 'fax' => NULL, ), ), ), 'company_name' => 'SRC Logistics, Inc.', ), 'line_items' => array ( 0 => array ( 'items' => array ( 0 => array ( 'product' => array ( 'part_number' => NULL, 'description' => NULL, 'nmfc' => '0', 'value' => 1, 'currency' => '3 digit ISO code: USD', 'country_of_manufacture' => '2 digit country ISO code: US', 'export_compliance_statement' => '30.37(f)', 'regulatory_control_statement' => 0, ), ), ), 'handling_unit' => array ( 'package_type' => 'BOX', 'length' => 5, 'width' => 4, 'height' => 3, 'length_unit' => 'IN', 'weight' => 2, 'weight_unit' => 'LB', 'class' => '70', ), ), ), 'identifiers' => array ( ), ), 'organization_id' => 44, 'group_id' => NULL, 'location_id' => NULL, 'service_type' => 'LTL', 'return_service' => true, 'rlms_number' => NULL, 'is_rlms' => false, 'is_manual' => 'false', 'terms' => 'PREPAID', 'direction' => 'THIRD_PARTY', 'quote' => array ( ), 'dealer_number' => NULL, 'return_number' => NULL, 'quote_mode' => 'FULL', 'carrier' => 'UPS', 'account_key' => 'DxiSi7ds2b8U6zWrjSBAmn1FdXICuA9FMVHEnakUk8VKPZCR', 'account_secret' => 'NiJ0Cq5GhBhx5MXRG5i5U36jxwLuc3UJqOaSBVmSsfMbOY7ZNXrDTK4ZrYeCaLkQ', 'account_number' => 'R95229', ) [2024-05-31 16:56:44] local.INFO: array ( 'expect' => array ( 0 => '100-continue', ), 'content-length' => array ( 0 => '2444', ), 'content-type' => array ( 0 => 'application/json', ), 'accept' => array ( 0 => '*/*', ), 'user-agent' => array ( 0 => 'curl/7.61.1', ), 'host' => array ( 0 => 'api.srcfreight.com', ), ) [2024-05-31 16:56:44] local.INFO: array ( 'shipment' => array ( 'origin' => array ( 'name' => 'JASON', 'inputIsValid' => true, 'address_id' => 525, 'address_line_1' => '1600 N 25TH AVE', 'city' => 'Melrose Park', 'state_code' => 'IL', 'postal_code' => '60160', 'country' => 'US', 'is_shipping' => 0, 'is_destination' => 0, 'is_billto' => 0, 'contact_name' => 'JASON', 'contact_phone' => '4178933016', 'ready_date' => '2024-05-30', 'ready_time' => '08:00', 'close_time' => '17:00', 'country_code' => 'US', 'requires_inside_delivery' => false, 'is_residential' => false, 'requires_liftgate' => false, 'has_appointment' => false, 'is_limited_access' => false, 'additional_services' => NULL, 'company_name' => 'INTERLAKE MECALUX', ), 'destination' => array ( 'name' => 'TRAVIS/LUIS', 'inputIsValid' => true, 'address_id' => 1712, 'address_line_1' => '2065 E PYTHIAN DOCK DOORS 1-7', 'city' => 'Springfield', 'state_code' => 'MO', 'postal_code' => '65802', 'country' => 'US', 'is_shipping' => 0, 'is_destination' => 1, 'is_billto' => 0, 'contact_name' => 'TRAVIS/LUIS', 'contact_phone' => '4178933016', 'country_code' => 'US', 'requires_inside_delivery' => false, 'is_residential' => false, 'requires_liftgate' => false, 'has_appointment' => false, 'is_limited_access' => false, 'additional_services' => NULL, 'company_name' => 'CNH DEPOT 29 SRC LOGISTICS INC', ), 'billing' => array ( 'name' => 'Freight', 'address_line_1' => 'P.O. Box 9147', 'address_line_2' => NULL, 'city' => 'Springfield', 'state_code' => 'MO', 'postal_code' => '65801', 'country_code' => 'US', 'contact_name' => 'Freight', 'contact_phone' => '417-479-9565', 'contact_extension' => NULL, 'contact_fax' => NULL, 'contact_email' => 'freight@srclogisticsinc.com', 'contacts' => array ( 'contacts' => array ( 0 => array ( 'name' => 'Freight', 'phone' => '4174799565', 'extension' => NULL, 'email' => 'freight@srclogisticsinc.com', 'fax' => NULL, ), ), ), 'company_name' => 'SRC Logistics, Inc.', ), 'line_items' => array ( 0 => array ( 'items' => array ( 0 => array ( 'product' => array ( 'part_number' => NULL, 'description' => NULL, 'nmfc' => '0', 'value' => 1, 'currency' => '3 digit ISO code: USD', 'country_of_manufacture' => '2 digit country ISO code: US', 'export_compliance_statement' => '30.37(f)', 'regulatory_control_statement' => 0, ), ), ), 'handling_unit' => array ( 'package_type' => 'BOX', 'length' => 5, 'width' => 4, 'height' => 3, 'length_unit' => 'IN', 'weight' => 2, 'weight_unit' => 'LB', 'class' => '70', ), ), ), 'identifiers' => array ( ), ), 'organization_id' => 44, 'group_id' => NULL, 'location_id' => NULL, 'service_type' => 'LTL', 'return_service' => true, 'rlms_number' => NULL, 'is_rlms' => false, 'is_manual' => 'false', 'terms' => 'PREPAID', 'direction' => 'THIRD_PARTY', 'quote' => array ( ), 'dealer_number' => NULL, 'return_number' => NULL, 'quote_mode' => 'FULL', 'carrier' => 'UPS', 'account_key' => 'DxiSi7ds2b8U6zWrjSBAmn1FdXICuA9FMVHEnakUk8VKPZCR', 'account_secret' => 'NiJ0Cq5GhBhx5MXRG5i5U36jxwLuc3UJqOaSBVmSsfMbOY7ZNXrDTK4ZrYeCaLkQ', 'account_number' => 'R95229', )