Error on initial spotify product sync

meet

20 Aug, 2014 01:44 AM

Hi again.

I have run into a new Error on my initial sync. Due to my previous issue: Product Questions #919. I had disabled an order sync and was to peform a product import only. This is the error I receive:

2024-08-19 21:55:14,717 - root           : Exception: Error: {'base': ['Options are not unique']} for product variant: <Product 0x13516C3> id:1276 name:Owl Hats, 3 Months code:YC0020-3M upload data {'requires_shipping': True, 'updated_at': '2014-08-19T21:31:19+10:00', 'inventory_quantity': Decimal('0'), 'compare_at_price': None, 'id': 904452269, 'sku': u'YC0020-3M', 'title': '3M', 'inventory_policy': 'deny', 'inventory_management': 'shopify', 'fulfillment_service': 'manual', 'option2': None, 'option3': None, 'option1': u'3M-O', 'price': Decimal('45.00'), 'barcode': None, 'image_id': None, 'taxable': False, 'old_inventory_quantity': 0, 'product_id': 358062513, 'grams': Decimal('0'), 'created_at': '2014-08-19T21:31:19+10:00', 'position': 10}
2024-08-19 21:55:14,717 - webstore       : Sync session Exception: Error: {'base': ['Options are not unique']} for product variant: <Product 0x13516C3> id:1276 name:Owl Hats, 3 Months code:YC0020-3M upload data {'requires_shipping': True, 'updated_at': '2014-08-19T21:31:19+10:00', 'inventory_quantity': Decimal('0'), 'compare_at_price': None, 'id': 904452269, 'sku': u'YC0020-3M', 'title': '3M', 'inventory_policy': 'deny', 'inventory_management': 'shopify', 'fulfillment_service': 'manual', 'option2': None, 'option3': None, 'option1': u'3M-O', 'price': Decimal('45.00'), 'barcode': None, 'image_id': None, 'taxable': False, 'old_inventory_quantity': 0, 'product_id': 358062513, 'grams': Decimal('0'), 'created_at': '2014-08-19T21:31:19+10:00', 'position': 10}
Traceback (most recent call last):
  File "/Users/marcvano/dev/Acclivity/checkout4_env/Checkout/build/Release/Checkout.plugin/Contents/Resources/lib/python2.7/site-packages/webstore/engine/syncsession.py", line 247, in sync
  File "/Users/marcvano/dev/Acclivity/checkout4_env/Checkout/build/Release/Checkout.plugin/Contents/Resources/lib/python2.7/site-packages/webstore/engine/syncsession.py", line 447, in push_objects
  File "/Users/marcvano/dev/Acclivity/checkout4_env/Checkout/build/Release/Checkout.plugin/Contents/Resources/lib/python2.7/site-packages/webstore/shopify/productvariationshopifymodelsynchronizer.py", line 376, in sync_with_verb
  File "/Users/marcvano/dev/Acclivity/checkout4_env/Checkout/build/Release/Checkout.plugin/Contents/Resources/lib/python2.7/site-packages/webstore/shopify/productvariationshopifymodelsynchronizer.py", line 356, in sync_product_with_verb
CouldNotCreateResourceOnWebstoreError: Error: {'base': ['Options are not unique']} for product variant: <Product 0x13516C3> id:1276 name:Owl Hats, 3 Months code:YC0020-3M upload data {'requires_shipping': True, 'updated_at': '2014-08-19T21:31:19+10:00', 'inventory_quantity': Decimal('0'), 'compareat_price': None, 'id': 904452269, 'sku': u'YC0020-3M', 'title': '3M', 'inventory_policy': 'deny', 'inventory_management': 'shopify', 'fulfillment_service': 'manual', 'option2': None, 'option3': None, 'option1': u'3M-O', 'price': Decimal('45.00'), 'barcode': None, 'imageid': None, 'taxable': False, 'old_inventory_quantity': 0, 'product_id': 358062513, 'grams': Decimal('0'), 'created_at': '2014-08-19T21:31:19+10:00', 'position': 10}
2024-08-19 21:55:14,815 - root           : Exception as e: Error: {'base': ['Options are not unique']} for product variant: <Product 0x13516C3> id:1276 name:Owl Hats, 3 Months code:YC0020-3M upload data {'requires_shipping': True, 'updated_at': '2014-08-19T21:31:19+10:00', 'inventory_quantity': Decimal('0'), 'compare_at_price': None, 'id': 904452269, 'sku': u'YC0020-3M', 'title': '3M', 'inventory_policy': 'deny', 'inventory_management': 'shopify', 'fulfillment_service': 'manual', 'option2': None, 'option3': None, 'option1': u'3M-O', 'price': Decimal('45.00'), 'barcode': None, 'image_id': None, 'taxable': False, 'old_inventory_quantity': 0, 'product_id': 358062513, 'grams': Decimal('0'), 'created_at': '2014-08-19T21:31:19+10:00', 'position': 10}

Please advise.

Cheers.

  1. Support Staff 1 Posted by Checkout Suppor... on 20 Aug, 2014 01:32 PM

    Hi meet:

    I'm sorry that you're having this problem. From the above error log, it's indicating a problem with the options for product 'YC0020-3M' because it's not unique. This message will come back from Shopify when a product is a duplicate and Upload to Web Store is turned on for both products.

    To resolve this issue, open Checkout and navigate to Manager > Products and turn off the Upload to Web Store option for the duplicate product, then sync.

    I hope this helps.

    Regards,
    Andy
    Checkout Support

  2. Support Staff 2 Posted by Checkout Suppor... on 28 Aug, 2014 08:06 PM

    Hi meet,

    We have just released an update - Checkout 4.0.6. This should fix your issue.

    For reference, this was caused because the product had 2 variations that had the same Product Code. This is something that's not possible since the release of Checkout v3. As there are still older stores that can have such data, we are now generating a web store sync conflict for it so it is easier for end users to trace which product is causing it.

    Also, thank you for getting us the right information quickly. As our users help us with issues, we can address them quickly.

    Regards,

    Mike
    Checkout Support

  3. 3 Posted by meet on 01 Sep, 2014 11:57 PM

    Hi,

    Thank you for the update. I am now having another issue with the Shopify
    Connector.

    I am currently ensuring all products in checkout are up to date with product
    variations, quantities, images etc. I have performed the initial sync and
    everything has been imported appropriately. So now I am doing the final tidy
    up. I have noticed an issue with the variations after performing a sync.

    In shopify I have updated the variation name with the actual colour name ­
    see "screen shot 1² under the column ³Meadow². This is the description in
    checkout ­ see ³screen shot 2². When I sync though, the description in
    shopify is reverted to the code in ³screen shot 2². There is an example in
    ³screen shot 1² in the 5th variation.

    Is there a way to ensure that the description in checkout and the shopify
    remain the description rather than the code?

    Regards,
    Chris

    Chris Hughes & Karen Voelske
    59 Smith Street
    Fitzroy VIC 3065 <http://www.yarnandco.com/>
    03 9416 3306
    [email blocked]
    yarnandco.com <http://yarnandco.com/>

    From: Checkout Support
    <[email blocked]>

  4. Support Staff 4 Posted by Checkout Suppor... on 09 Sep, 2014 06:34 PM

    Hi Chris:

    Sorry for the delay but it looks like you submitted this in as an email case and have been in response with you via email.

    Regards,
    Andy
    Checkout Support

  5. Checkout Support closed this discussion on 09 Sep, 2014 06:34 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac