“Resource was unprocessable” error
-
When we install this plugin, and try to add items to a cart for a logged-in user only, we get a complicated “The resources was unprocessable” message – see below.
Our site is complicated site with numerous plugins and custom functions. It also has both a DEV site and a LIVE site, so we can create an account for you at the former – or you can do so yourself – to examine the problem. We also understand that we can attempt a normal troubleshooting process, but we’re hoping you might have a quick fix.
Here’s the error message:
The resource was unprocessable. {“resource”:”ecomOrder”,”context”:”{\”ecomOrder\”:{\”customerid\”:\”266934\”,\”currency\”:\”USD\”,\”email\”:\”[email protected]\”,\”externalcheckoutid\”:\”5b803b137966d\”,\”id\”:\”\”,\”source\”:\”1\”,\”totalPrice\”:\”23491\”,\”orderDate\”:\”2018-08-24T17:06:27+00:00\”,\”orderUrl\”:\”https:\\\/\\\/dev.gbes.com\\\/cart\\\/\”,\”orderProducts\”:[{\”category\”:\”LEED\”,\”externalid\”:1198,\”name\”:\”LEED Green Associate Practice Tests for LEED v4 GA Exam Prep\”,\”price\”:6997,\”quantity\”:1,\”imageUrl\”:\”https:\\\/\\\/dev.gbes.com\\\/content\\\/uploads\\\/2016\\\/11\\\/PracticeTest_GA-600×400.png\”,\”description\”:\”Includes our exam simulator with 600 practice test questions\”},{\”category\”:\”LEED\”,\”externalid\”:1313,\”name\”:\”LEED Green Associate Exam Prep Crash Course\”,\”price\”:12997,\”quantity\”:1,\”imageUrl\”:\”https:\\\/\\\/dev.gbes.com\\\/content\\\/uploads\\\/2016\\\/12\\\/Webinar_GA.jpg\”,\”description\”:\”\”},{\”category\”:\”LEED\”,\”externalid\”:1232,\”name\”:\”LEED Green Associate Study Sheets\”,\”price\”:3497,\”quantity\”:1,\”imageUrl\”:\”https:\\\/\\\/dev.gbes.com\\\/content\\\/uploads\\\/2016\\\/11\\\/Book_GA-600×400.png\”,\”description\”:\”2 sheets, each formatted 11\\\” x 17\\\” (PDF download)\”}]}}”,”response”:{},”0″:”#0 \/home\/gbesgreen\/www\/content\/plugins\/activecampaign-for-woocommerce\/vendor\/guzzlehttp\/guzzle\/src\/Middleware.php(66): GuzzleHttp\\Exception\\RequestException::create(Object(GuzzleHttp\\Psr7\\Request), Object(GuzzleHttp\\Psr7\\Response))\n#1 \/home\/gbesgreen\/www\/content\/plugins\/activecampaign-for-woocommerce\/vendor\/guzzlehttp\/promises\/src\/Promise.php(203): GuzzleHttp\\Middleware::GuzzleHttp\\{closure}(Object(GuzzleHttp\\Psr7\\Response))\n#2 \/home\/gbesgreen\/www\/content\/plugins\/activecampaign-for-woocommerce\/vendor\/guzzlehttp\/promises\/src\/Promise.php(156): GuzzleHttp\\Promise\\Promise::callHandler(1, Object(GuzzleHttp\\Psr7\\Response), Array)\n#3 \/home\/gbesgreen\/www\/content\/plugins\/activecampaign-for-woocommerce\/vendor\/guzzlehttp\/promises\/src\/TaskQueue.php(47): GuzzleHttp\\Promise\\Promise::GuzzleHttp\\Promise\\{closure}()\n#4 \/home\/gbesgreen\/www\/content\/plugins\/activecampaign-for-woocommerce\/vendor\/guzzlehttp\/promises\/src\/Promise.php(246): GuzzleHttp\\Promise\\TaskQueue->run(true)\n#5 \/home\/gbesgreen\/www\/content\/plugins\/activecampaign-for-woocommerce\/vendor\/guzzlehttp\/promises\/src\/Promise.php(223): GuzzleHttp\\Promise\\Promise->invokeWaitFn()\n#6 \/home\/gbesgreen\/www\/content\/plugins\/activecampaign-for-woocommerce\/vendor\/guzzlehttp\/promises\/src\/Promise.php(267): GuzzleHttp\\Promise\\Promise->waitIfPending()\n#7 \/home\/gbesgreen\/www\/content\/plugins\/activecampaign-for-woocommerce\/vendor\/guzzlehttp\/promises\/src\/Promise.php(225): GuzzleHttp\\Promise\\Promise->invokeWaitList()\n#8 \/home\/gbesgreen\/www\/content\/plugins\/activecampaign-for-woocommerce\/vendor\/guzzlehttp\/promises\/src\/Promise.php(62): GuzzleHttp\\Promise\\Promise->waitIfPending()\n#9 \/home\/gbesgreen\/www\/content\/plugins\/activecampaign-for-woocommerce\/vendor\/guzzlehttp\/guzzle\/src\/Client.php(131): GuzzleHttp\\Promise\\Promise->wait()\n#10 \/home\/gbesgreen\/www\/content\/plugins\/activecampaign-for-woocommerce\/includes\/api-client\/class-activecampaign-for-woocommerce-api-client.php(355): GuzzleHttp\\Client->request(‘POST’, ‘ecomOrders?filt…’, Array)\n#11 \/home\/gbesgreen\/www\/content\/plugins\/activecampaign-for-woocommerce\/includes\/traits\/class-activecampaign-for-woocommerce-interacts-with-api-trait.php(188): Activecampaign_For_Woocommerce_Api_Client->execute()\n#12 \/home\/gbesgreen\/www\/content\/plugins\/activecampaign-for-woocommerce\/includes\/repositories\/class-activecampaign-for-woocommerce-ecom-order-repository.php(155): Activecampaign_For_Woocommerce_Ecom_Order_Repository->create_and_set_model_properties_from_api(Object(Activecampaign_For_Woocommerce_Api_Client), Object(Activecampaign_For_Woocommerce_Ecom_Order), Array)\n#13 \/home\/gbesgreen\/www\/content\/plugins\/activecampaign-for-woocommerce\/includes\/commands\/class-activecampaign-for-woocommerce-update-cart-command.php(133): Activecampaign_For_Woocommerce_Ecom_Order_Repository->create(Object(Activecampaign_For_Woocommerce_Ecom_Order))\n#14 \/home\/gbesgreen\/www\/cms\/wp-includes\/class-wp-hook.php(286): Activecampaign_For_Woocommerce_Update_Cart_Command->execute(”)\n#15 \/home\/gbesgreen\/www\/cms\/wp-includes\/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)\n#16 \/home\/gbesgreen\/www\/cms\/wp-includes\/plugin.php(453): WP_Hook->do_action(Array)\n#17 \/home\/gbesgreen\/www\/content\/plugins\/activecampaign-for-woocommerce\/includes\/events\/class-activecampaign-for-woocommerce-cart-updated-event.php(32): do_action(‘activecampaign_…’)\n#18 \/home\/gbesgreen\/www\/cms\/wp-includes\/class-wp-hook.php(288): Activecampaign_For_Woocommerce_Cart_Updated_Event->trigger(‘e53a0a2978c2887…’)\n#19 \/home\/gbesgreen\/www\/cms\/wp-includes\/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)\n#20 \/home\/gbesgreen\/www\/cms\/wp-includes\/plugin.php(453): WP_Hook->do_action(Array)\n#21 \/home\/gbesgreen\/www\/content\/plugins\/woocommerce\/includes\/class-wc-cart.php(1127): do_action(‘woocommerce_add…’, ‘e53a0a2978c2887…’, 1232, 1, 0, Array, Array)\n#22 \/home\/gbesgreen\/www\/content\/plugins\/woocommerce\/includes\/class-wc-form-handler.php(841): WC_Cart->add_to_cart(1232, 1)\n#23 \/home\/gbesgreen\/www\/content\/plugins\/woocommerce\/includes\/class-wc-form-handler.php(815): WC_Form_Handler::add_to_cart_handler_simple(1232)\n#24 \/home\/gbesgreen\/www\/cms\/wp-includes\/class-wp-hook.php(286): WC_Form_Handler::add_to_cart_action(”)\n#25 \/home\/gbesgreen\/www\/cms\/wp-includes\/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)\n#26 \/home\/gbesgreen\/www\/cms\/wp-includes\/plugin.php(453): WP_Hook->do_action(Array)\n#27 \/home\/gbesgreen\/www\/cms\/wp-settings.php(471): do_action(‘wp_loaded’)\n#28 \/home\/gbesgreen\/www\/cms\/wp-config.php(140): require_once(‘\/home\/gbesgreen…’)\n#29 \/home\/gbesgreen\/www\/cms\/wp-load.php(37): require_once(‘\/home\/gbesgreen…’)\n#30 \/home\/gbesgreen\/www\/cms\/wp-blog-header.php(13): require_once(‘\/home\/gbesgreen…’)\n#31 \/home\/gbesgreen\/www\/index.php(17): require(‘\/home\/gbesgreen…’)\n#32 {main}”}
- The topic ‘“Resource was unprocessable” error’ is closed to new replies.