Skip to content

Instantly share code, notes, and snippets.

@beck03076
Created August 17, 2015 16:23
Show Gist options
  • Save beck03076/4dc3c7a9a2aa2d514970 to your computer and use it in GitHub Desktop.
Save beck03076/4dc3c7a9a2aa2d514970 to your computer and use it in GitHub Desktop.
================= Request - 1 =====================
6 products cannot change categories
------------------------------------
I, [2015-08-14T17:09:35.568194 #17185] INFO -- : {"productIds":[131302,131384,131385,131388,131390,131392],"categoryId":642}
I, [2015-08-14T17:09:35.568228 #17185] INFO -- : ------------ Request -----------------------------------------
I, [2015-08-14T17:09:35.758727 #17185] INFO -- : ------------ Response -----------------------------------------
I, [2015-08-14T17:09:35.758792 #17185] INFO -- : {"response"=>{"code"=>200, "message"=>"SuccessBULK_UPDATE_PRODUCT_ERROR: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement\nBULK_UPDATE_PRODUCT_ERROR: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement\nBULK_UPDATE_PRODUCT_ERROR: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement\nBULK_UPDATE_PRODUCT_ERROR: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement\nBULK_UPDATE_PRODUCT_ERROR: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement\nBULK_UPDATE_PRODUCT_ERROR: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement\n"}, "products"=>[nil, nil, nil, nil, nil, nil]}
================= Request - 2 =====================
Sending "ADMIN", getting "Admin"
--------------------------------
================= Request - 3 =====================
Why this product create failed?
-------------------------------
------------ Request -----------------------------------------
2015-08-17T16:20:19Z 38120 TID-11c52o UploadsWorker JID-3b1b6a42ede07a0369177f0e INFO: #<Faraday::Connection:0x000000071e7e20>
2015-08-17T16:20:19Z 38120 TID-11c52o UploadsWorker JID-3b1b6a42ede07a0369177f0e INFO: ======================
2015-08-17T16:20:19Z 38120 TID-11c52o UploadsWorker JID-3b1b6a42ede07a0369177f0e INFO: {"name":"MORTISE HANDLE - AJIVA","description":"Mortise handle with nice finish,having a base plate and handle which is installed on the plate. This is made from fine material. A pack contain two handles, Spindle (center rod) and fixing Screws. :diamonds: Smart Buyer :diamonds: :diamonds: Bulk Order :diamonds: :diamonds: Coupon Codes :diamonds:","price":null,"applicablePrice":1892.0,"productCondition":"new","categoryId":646,"userId":46836,"city":"Hubli","locality":"","latitude":0,"longitude":0,"googlePlaceId":"","source":"ADMIN","images":[{"original":"http://res.cloudinary.com/shopo/image/upload/v1439828415/aewitljnpja4c2souo1i.jpg","originalHeight":600,"originalWidth":600,"predominantColor":{"google":[["white",90.5],["brown",8.4]]},"thumb":"http://res.cloudinary.com/shopo/image/upload/c_thumb,h_72,w_72/v1439828415/aewitljnpja4c2souo1i.jpg","thumbHeight":72,"thumbWidth":72,"medium":"http://res.cloudinary.com/shopo/image/upload/c_fit,w_560/v1439828415/aewitljnpja4c2souo1i.jpg","mediumHeight":560,"mediumWidth":560,"listing":"http://res.cloudinary.com/shopo/image/upload/c_fit,w_1080/v1439828415/aewitljnpja4c2souo1i.jpg","listingHeight":1080,"listingWidth":1080},{"original":"http://res.cloudinary.com/shopo/image/upload/v1439828418/drbvzbfhcaumvoycfwfp.jpg","originalHeight":600,"originalWidth":600,"predominantColor":{"google":[["white",80.3],["brown",17.3]]},"thumb":"http://res.cloudinary.com/shopo/image/upload/c_thumb,h_72,w_72/v1439828418/drbvzbfhcaumvoycfwfp.jpg","thumbHeight":72,"thumbWidth":72,"medium":"http://res.cloudinary.com/shopo/image/upload/c_fit,w_560/v1439828418/drbvzbfhcaumvoycfwfp.jpg","mediumHeight":560,"mediumWidth":560,"listing":"http://res.cloudinary.com/shopo/image/upload/c_fit,w_1080/v1439828418/drbvzbfhcaumvoycfwfp.jpg","listingHeight":1080,"listingWidth":1080}]}
2015-08-17T16:20:19Z 38120 TID-11c52o UploadsWorker JID-3b1b6a42ede07a0369177f0e INFO: ------------ Request -----------------------------------------
2015-08-17T16:20:19Z 38120 TID-11c52o UploadsWorker JID-3b1b6a42ede07a0369177f0e INFO: ------------ Response -----------------------------------------
2015-08-17T16:20:19Z 38120 TID-11c52o UploadsWorker JID-3b1b6a42ede07a0369177f0e INFO: {"status"=>404, "message"=>"PRODUCT_CREATE_ERROR: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement\nNull response received from server. Check logs for more info", "product"=>nil}
2015-08-17T16:20:19Z 38120 TID-11c52o UploadsWorker JID-3b1b6a42ede07a0369177f0e INFO: ------------ Response -----------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment