Neu Shopware 6 - Abgleich klappt nicht

oriepl

Gut bekanntes Mitglied
13. Dezember 2011
172
6
Ich bekommen beim Abgleich folgenden Fehler.

Da ich leider kein IT Profi bin, bin ich über jede Hilfe dankbar.

IST EINE GANZ NEUE INSTALLATION - und das passiert beim ersten Abgleich!




Fehler:
Exception: Controller = Category | Action = delete | JTL-Wawi PK = 444 | The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = An exception occurred while executing 'DELETE FROM `category` WHERE id = ? AND version_id = ?' with params ["\xeb\x14\xf2\xcf\xf0\x03\x4f\x2a\x86\xc5\x10\xbe\x8e\xc9\x9c\x2b", "\x0f\xa9\x1c\xe3\xe9\x6a\x4b\xc2\xbe\x4b\xd9\xce\x75\x2c\x34\x25"]:

SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`k001249_45_shopgsshop`.`sales_channel`, CONSTRAINT `fk.sales_channel.navigation_category_id` FOREIGN KEY (`navigation_category_id`, `navigation_category_version_id`) REFERENCES `category` (`i)
Controller = Category | Action = delete | JTL-Wawi PK = 444 | The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = An exception occurred while executing 'DELETE FROM `category` WHERE id = ? AND version_id = ?' with params ["\xeb\x14\xf2\xcf\xf0\x03\x4f\x2a\x86\xc5\x10\xbe\x8e\xc9\x9c\x2b", "\x0f\xa9\x1c\xe3\xe9\x6a\x4b\xc2\xbe\x4b\xd9\xce\x75\x2c\x34\x25"]:

SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`k001249_45_shopgsshop`.`sales_channel`, CONSTRAINT `fk.sales_channel.navigation_category_id` FOREIGN KEY (`navigation_category_id`, `navigation_category_version_id`) REFERENCES `category` (`i)
Kategorien-Löschen-Fehler: Bitte beachten Sie, dass zur Fehler-Diagnose ebenfalls die Log-Datei des Servers und das Abgleich-Log der JTL-Wawi notwendig sind!
Exception bei category.delete: Controller = Category | Action = delete | JTL-Wawi PK = 444 | The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = An exception occurred while executing 'DELETE FROM `category` WHERE id = ? AND version_id = ?' with params ["\xeb\x14\xf2\xcf\xf0\x03\x4f\x2a\x86\xc5\x10\xbe\x8e\xc9\x9c\x2b", "\x0f\xa9\x1c\xe3\xe9\x6a\x4b\xc2\xbe\x4b\xd9\xce\x75\x2c\x34\x25"]:

SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`k001249_45_shopgsshop`.`sales_channel`, CONSTRAINT `fk.sales_channel.navigation_category_id` FOREIGN KEY (`navigation_category_id`, `navigation_category_version_id`) REFERENCES `category` (`i)

Controller = Category | Action = delete | JTL-Wawi PK = 444 | The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = An exception occurred while executing 'DELETE FROM `category` WHERE id = ? AND version_id = ?' with params ["\xeb\x14\xf2\xcf\xf0\x03\x4f\x2a\x86\xc5\x10\xbe\x8e\xc9\x9c\x2b", "\x0f\xa9\x1c\xe3\xe9\x6a\x4b\xc2\xbe\x4b\xd9\xce\x75\x2c\x34\x25"]:

SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`k001249_45_shopgsshop`.`sales_channel`, CONSTRAINT `fk.sales_channel.navigation_category_id` FOREIGN KEY (`navigation_category_id`, `navigation_category_version_id`) REFERENCES `category` (`i)

Response: {"jtlrpc":"2.0","id":"595da6599ff348dcad56e6adec2a3f5a","result":null,"error":{"code":500,"message":"Controller = Category | Action = delete | JTL-Wawi PK = 444 | The Shopware 6 Admin API responded with an error: \nCode = 0 | Status = 500 | Detail = An exception occurred while executing \u0027DELETE FROM `category` WHERE id = ? AND version_id = ?\u0027 with params [\u0022\\xeb\\x14\\xf2\\xcf\\xf0\\x03\\x4f\\x2a\\x86\\xc5\\x10\\xbe\\x8e\\xc9\\x9c\\x2b\u0022, \u0022\\x0f\\xa9\\x1c\\xe3\\xe9\\x6a\\x4b\\xc2\\xbe\\x4b\\xd9\\xce\\x75\\x2c\\x34\\x25\u0022]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`k001249_45_shopgsshop`.`sales_channel`, CONSTRAINT `fk.sales_channel.navigation_category_id` FOREIGN KEY (`navigation_category_id`, `navigation_category_version_id`) REFERENCES `category` (`i)","data":"Jtl\\Shopware6\\Client\\Exception\\ClientException (Code: 500) in ...\/ClientException.php:65"}}
Exception bei category.delete: Controller = Category | Action = delete | JTL-Wawi PK = 444 | The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = An exception occurred while executing 'DELETE FROM `category` WHERE id = ? AND version_id = ?' with params ["\xeb\x14\xf2\xcf\xf0\x03\x4f\x2a\x86\xc5\x10\xbe\x8e\xc9\x9c\x2b", "\x0f\xa9\x1c\xe3\xe9\x6a\x4b\xc2\xbe\x4b\xd9\xce\x75\x2c\x34\x25"]:

SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`k001249_45_shopgsshop`.`sales_channel`, CONSTRAINT `fk.sales_channel.navigation_category_id` FOREIGN KEY (`navigation_category_id`, `navigation_category_version_id`) REFERENCES `category` (`i)

Controller = Category | Action = delete | JTL-Wawi PK = 444 | The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = An exception occurred while executing 'DELETE FROM `category` WHERE id = ? AND version_id = ?' with params ["\xeb\x14\xf2\xcf\xf0\x03\x4f\x2a\x86\xc5\x10\xbe\x8e\xc9\x9c\x2b", "\x0f\xa9\x1c\xe3\xe9\x6a\x4b\xc2\xbe\x4b\xd9\xce\x75\x2c\x34\x25"]:

SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`k001249_45_shopgsshop`.`sales_channel`, CONSTRAINT `fk.sales_channel.navigation_category_id` FOREIGN KEY (`navigation_category_id`, `navigation_category_version_id`) REFERENCES `category` (`i)

Response: {"jtlrpc":"2.0","id":"598fc98e2d7b4b0682e6e84b94614d8a","result":null,"error":{"code":500,"message":"Controller = Category | Action = delete | JTL-Wawi PK = 444 | The Shopware 6 Admin API responded with an error: \nCode = 0 | Status = 500 | Detail = An exception occurred while executing \u0027DELETE FROM `category` WHERE id = ? AND version_id = ?\u0027 with params [\u0022\\xeb\\x14\\xf2\\xcf\\xf0\\x03\\x4f\\x2a\\x86\\xc5\\x10\\xbe\\x8e\\xc9\\x9c\\x2b\u0022, \u0022\\x0f\\xa9\\x1c\\xe3\\xe9\\x6a\\x4b\\xc2\\xbe\\x4b\\xd9\\xce\\x75\\x2c\\x34\\x25\u0022]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`k001249_45_shopgsshop`.`sales_channel`, CONSTRAINT `fk.sales_channel.navigation_category_id` FOREIGN KEY (`navigation_category_id`, `navigation_category_version_id`) REFERENCES `category` (`i)","data":"Jtl\\Shopware6\\Client\\Exception\\ClientException (Code: 500) in ...\/ClientException.php:65"}}
bei jtlCore.ControllerClasses. Connector.Abgleich.Connector.WppJK9RuYow(String , Object , Boolean , NetworkCredential )
bei jtlCore.ControllerClasses.Connector.Abgleich.Connector.mLQJKJx2eu0(String , Object , Boolean , NetworkCredential )
bei jtlCore.ControllerClasses.Connector.Abgleich.Connector.WppJK9RuYow(String , Object , Boolean , NetworkCredential )



Warnungen:
Abgleich abgebrochen.Abgleich abgebrochen.Abgleich abgebrochen.Abgleich abgebrochen.Abgleich abgebrochen.Abgleich abgebrochen.Abgleich abgebrochen.Abgleich abgebrochen.Abgleich abgebrochen.
 

Immanuel

Gesperrter Benutzer
24. August 2016
1.542
329
Hallo @Fünfacht ,

Problem hier vermutlich ist, dass der Connector versucht eine Kategorie zu löschen, die bei einem Verkaufskanal (Sales Channel) als Wurzekategorie eingetragen ist. Das Problem kann am einfachsten gelöst werden, indem im Shop eine einzelne Kategorie angelegt und diese dann temporär bei dem Verkaufskanal als Wurzelkategorie eingetragen wird. Dann sollte das Löschen der anderen Kategorie durch den Connector funktionieren.
 
Ähnliche Themen
Titel Forum Antworten Datum
Vaterartikel wird trotz Varianten eigenständig im Shopware-6-Storefront angezeigt, 0 €, kein Bild, falscher Bestand Shopware-Connector 1
Shopware-6-Connector (SaaS) – image.push meldet Erfolg, Bild kommt aber nie in Shopware an (reproduzierbar, mehrere Artikel) Shopware-Connector 1
Neu Release Shopware-Connector 2.1.8 Shopware-Connector 3
Neu Amazon Störung Abgleich Amazon-Anbindung - Fehler und Bugs 20
Neu Versandprofile trotz eBay-Abgleich nicht vorhanden JTL-Wawi 2.0 2
Plattform Abgleich nicht möglich JTL-Wawi 1.11 2
Neu Amazon.com - kein Abgleich der Bestände Wawi 1.11.9 Amazon-Anbindung - Fehler und Bugs 0
Wroker macht keinen abgleich für Kaufland JTL-Wawi 2.0 8
Beantwortet Shop Abgleich nach Update auf 5.7.2 nicht mehr möglich JTL-Shop - Fehler und Bugs 4
Neu Paypal Abgleich - Schnittstelle geändert- Wawi Update Erforderlich ! JTL-Wawi - Fehler und Bugs 12
Neu Erstellung der Sitemap bei WaWi Abgleich funktioniert nicht Allgemeine Fragen zu JTL-Shop 0
Neu eBay-Abgleich Fehlermeldung: Datenverarbeitung fehlgeschlagen: Die Sequenz enthält keine Elemente eBay-Anbindung - Fehler und Bugs 11
Gelöst: Amazon Abgleich Fehlermeldungen Störungsmeldungen 1
Fehler beim Abgleich mit Amazon JTL-Wawi 2.0 10
Abgleich Amazon mit Fehlern beendet 1.11.08 JTL-Wawi 1.11 14
Probleme beim Shopify-Abgleich: Artikel trotz erfolgreichem Abgleich nicht in Shopify auffindbar JTL-Wawi 1.11 1
Fehler beim Abgleich mit dem JTL-Shop JTL-Wawi 2.0 12
Neu Datenbankumzug klappt nicht Installation von JTL-Wawi 5
Neu Amazon - Einlesen / Übernahme der Bestellungen klappt nicht ?! Amazon-Anbindung - Fehler und Bugs 2
Neu CCV Pax A920 Terminal über O.P.I klappt nicht Allgemeine Fragen zu JTL-POS 0

Ähnliche Themen