ZettleRestException: CONSTRAINT_VIOLATION
-
Hello,
I got some problems regarding sync and stock, hopefully you can help.I′ve got a couple of variationproducts that has the label “Not synced” ( syncable) next to them. When I look in the logfiles after deactivating and reactivating the plugin I can see the following:
[ { "propertyName":"variants", "developerMessage":"One or more item in collection was not unique: [61643d69-0000-1000-8000-002ab7c4e4e4, 61643d67-0000-1000-8000-002ab7c4e4e4, 61643d68-0000-1000-8000-002ab7c4e4e4, 61643d69-0000-1000-8000-002ab7c4e4e4, 61643d6a-0000-1000-8000-002ab7c4e4e4]", "constraintType":"UNKNOWN", "value":"[VariantDTO(uuid=61643d69-0000-1000-8000-002ab7c4e4e4, name=Optional[Orran\u00e4s Flame XXS - Lila], description=Optional[], sku=Optional[e5af4960-41dd-11eb-bccb-27b2b1f90de2], barcode=Optional[], price=Optional[Price(currencyId=SEK, amount=70000)], costPrice=Optional.empty, options=[VariantOption(name=F\u00e4rg, value=Lila)], presentation=Optional.empty), VariantDTO(uuid=61643d67-0000-1000-8000-002ab7c4e4e4, name=Optional[Orran\u00e4s Flame XXS - Rosa], description=Optional[], sku=Optional[e766e470-41dd-11eb-bccb-27b2b1f90de2], barcode=Optional[], price=Optional[Price(currencyId=SEK, amount=70000)], costPrice=Optional.empty, options=[VariantOption(name=F\u00e4rg, value=Rosa)], presentation=Optional.empty), VariantDTO(uuid=61643d68-0000-1000-8000-002ab7c4e4e4, name=Optional[Orran\u00e4s Flame XXS - R\u00f6d], description=Optional[], sku=Optional[e8ce63b0-41dd-11eb-bccb-27b2b1f90de2], barcode=Optional[], price=Optional[Price(currencyId=SEK, amount=70000)], costPrice=Optional.empty, options=[VariantOption(name=F\u00e4rg, value=R\u00f6d)], presentation=Optional.empty), VariantDTO(uuid=61643d69-0000-1000-8000-002ab7c4e4e4, name=Optional[Orran\u00e4s Flame XXS - Orange], description=Optional[], sku=Optional[eb960f30-41dd-11eb-bccb-27b2b1f90de2], barcode=Optional[], price=Optional[Price(currencyId=SEK, amount=70000)], costPrice=Optional.empty, options=[VariantOption(name=F\u00e4rg, value=Orange)], presentation=Optional.empty), VariantDTO(uuid=61643d6a-0000-1000-8000-002ab7c4e4e4, name=Optional[Orran\u00e4s Flame XXS - Gul], description=Optional[], sku=Optional[ecb4c5a0-41dd-11eb-bccb-27b2b1f90de2], barcode=Optional[], price=Optional[Price(currencyId=SEK, amount=70000)], costPrice=Optional.empty, options=[VariantOption(name=F\u00e4rg, value=Gul)], presentation=Optional.empty)]" } ]
So, there seems to be a duplicate of “61643d69-0000-1000-8000-002ab7c4e4e4” that i suspect is causing the issue. However, the SKU that is assigned to the variants in woocommerce does not match the UUID′s.
I cant figure out where these UID′s come from. The url the the product in question is: https://my.zettle.com/products/45b1390e-3fae-11eb-9643-f92f288bc69c
How can I the “Syncable” products sync?
Thanks!
- The topic ‘ZettleRestException: CONSTRAINT_VIOLATION’ is closed to new replies.