Inventory out of sync again with 404 errors in logs
-
Hi guys, me again!
I’ve had clients get in touch yesterday regarding more out of sync products (they’re currently checking levels after every purchase as have lost faith in the plugin’s reliability – I don’t blame them). I checked the logs and there are 3 404 not found errors referencing the products, here’s the first one:
2022-01-20T12:11:56+00:00 DEBUG Added 1 jobs to the queue 2022-01-20T12:11:56+00:00 DEBUG Added 1 jobs to the queue 2022-01-20T12:11:56+00:00 INFO ZettleRestException: ENTITY_NOT_FOUND Got status 404 when sending GET request to https://products.izettle.com/organizations/self/products/61e968e2-0000-1000-8000-0011fbcb34c2 PRODUCT_V2 with UUID 61e968e2-0000-1000-8000-0011fbcb34c2 not found Violations: [] Thrown in /public_html/wp-content/plugins/zettle-pos-integration/modules/zettle-php-sdk/src/Psr18RestClient.php:184 With data: {"developerMessage":"PRODUCT_V2 with UUID 61e968e2-0000-1000-8000-0011fbcb34c2 not found","errorType":"ENTITY_NOT_FOUND","violations":[]} and payload: [] 2022-01-20T12:11:56+00:00 INFO Product with Id:6685 and Uuid:61e968e2-0000-1000-8000-0011fbcb34c2 was successfully created at PayPal Zettle Backoffice. 2022-01-20T12:11:56+00:00 INFO Enabled inventory tracking for WC product 6685 with UUID 61e968e2-0000-1000-8000-0011fbcb34c2 2022-01-20T12:11:56+00:00 DEBUG Executed Job 'set-inventory-tracking' with ID 0. 2022-01-20T12:11:56+00:00 INFO Attempting to sync inventory of WC_Product_Simple 6685 with PayPal Zettle UUID 61e968e2-0000-1000-8000-0011fbcb34c2 2022-01-20T12:11:57+00:00 INFO Moved 12 items from SUPPLIER to STORE 2022-01-20T12:11:57+00:00 DEBUG Executed Job 'sync-product-stock' with ID 0. 2022-01-20T12:11:57+00:00 DEBUG Executed Job 'sync-product' with ID 12933. 2022-01-20T12:11:57+00:00 DEBUG Removed 1 jobs from the queue 2022-01-20T12:11:57+00:00 DEBUG Executed Job 'sync-product' with ID 12934. 2022-01-20T12:11:57+00:00 DEBUG Removed 1 jobs from the queue 2022-01-20T12:11:57+00:00 INFO Received Webhook: ProductCreated
The levels were wrong in WooCommerce so I updated to bring in line with Zettle levels, manually changing on either platform updated the other as expected. Can you see anything your end suggesting why these 404s would have occurred when the products exist and seem to be syncing fine?
Kind regards,
MatthewThe page I need help with: [log in to see the link]
- The topic ‘Inventory out of sync again with 404 errors in logs’ is closed to new replies.