Neu Shopware 6 - Connector Error: Malformed UTF-8 characters

g.proebster

Mitglied
17. Juni 2021
20
1
Hallo zusammen,

habe Gestern den JTL Connector für Shopware 6 ausprobiert. Bis zum ersten Komplettabgleich kein Problem, ist ja auch super Dokumentiert.

Leider dann beim ~1000. Artikel folgende Fehlermeldung bekommen:
Code:
Exception: Controller = Product | Action = push | JTL-Wawi PK = 25100 | SKU = 14640 | Name = Siemens iQ 700 Backofen mit integrierter Mikrowelle HN878G4B6 60 cm Gerätehöhe | [d8e02ada-9906-46bb-8f6d-5cd423f2d487] The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = Malformed UTF-8 characters, possibly incorrectly encoded
Controller = Product | Action = push | JTL-Wawi PK = 25100 | SKU = 14640 | Name = Siemens iQ 700 Backofen mit integrierter Mikrowelle HN878G4B6 60 cm Gerätehöhe | [dd2aece4-fe40-48ed-a467-fab0ee260f37] The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = Malformed UTF-8 characters, possibly incorrectly encoded
Artikel-Senden-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 product.push: Controller = Product | Action = push | JTL-Wawi PK = 25100 | SKU = 14640 | Name = Siemens iQ 700 Backofen mit integrierter Mikrowelle HN878G4B6 60 cm Gerätehöhe | [d8e02ada-9906-46bb-8f6d-5cd423f2d487] The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = Malformed UTF-8 characters, possibly incorrectly encoded
Controller = Product | Action = push | JTL-Wawi PK = 25100 | SKU = 14640 | Name = Siemens iQ 700 Backofen mit integrierter Mikrowelle HN878G4B6 60 cm Gerätehöhe | [dd2aece4-fe40-48ed-a467-fab0ee260f37] The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = Malformed UTF-8 characters, possibly incorrectly encoded
Response: {"jtlrpc":"2.0","id":"30579b89ce984423ab9d0bdab73eb486","result":null,"error":{"code":500,"message":"Controller = Product | Action = push | JTL-Wawi PK = 25100 | SKU = 14640 | Name = Siemens iQ 700 Backofen mit integrierter Mikrowelle HN878G4B6 60 cm Ger\u00e4teh\u00f6he | [075308a9-0a53-4f69-8971-9fe17ec15d02] The Shopware 6 Admin API responded with an error: \nCode = 0 | Status = 500 | Detail = Malformed UTF-8 characters, possibly incorrectly encoded","data":"Jtl\\Shopware6\\Client\\Exception\\ClientException (Code: 500) in ...\/ClientException.php:101"}}
Exception bei product.push: Controller = Product | Action = push | JTL-Wawi PK = 25100 | SKU = 14640 | Name = Siemens iQ 700 Backofen mit integrierter Mikrowelle HN878G4B6 60 cm Gerätehöhe | [d8e02ada-9906-46bb-8f6d-5cd423f2d487] The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = Malformed UTF-8 characters, possibly incorrectly encoded
Controller = Product | Action = push | JTL-Wawi PK = 25100 | SKU = 14640 | Name = Siemens iQ 700 Backofen mit integrierter Mikrowelle HN878G4B6 60 cm Gerätehöhe | [dd2aece4-fe40-48ed-a467-fab0ee260f37] The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = Malformed UTF-8 characters, possibly incorrectly encoded
Response: {"jtlrpc":"2.0","id":"f6781ba6c2194b8096b0122286f6a3f4","result":null,"error":{"code":500,"message":"Controller = Product | Action = push | JTL-Wawi PK = 25100 | SKU = 14640 | Name = Siemens iQ 700 Backofen mit integrierter Mikrowelle HN878G4B6 60 cm Ger\u00e4teh\u00f6he | [d8e02ada-9906-46bb-8f6d-5cd423f2d487] The Shopware 6 Admin API responded with an error: \nCode = 0 | Status = 500 | Detail = Malformed UTF-8 characters, possibly incorrectly encoded","data":"Jtl\\Shopware6\\Client\\Exception\\ClientException (Code: 500) in ...\/ClientException.php:101"}}
   bei jtlCore.ControllerClasses.Connector.Abgleich.Connector.JjBcpY291ir(String  , Object  , Boolean  , NetworkCredential  )
   bei jtlCore.ControllerClasses.Connector.Abgleich.Connector.c4WcpsWvf6k(String  , Object  , Boolean  , NetworkCredential  )
   bei jtlCore.ControllerClasses.Connector.Abgleich.Connector.JjBcpY291ir(String  , Object  , Boolean  , NetworkCredential  )

Habe den Namen schon auf merkwürdige Zeichen überprüft. Scheint mir alles normal zu sein. (Auch schon das 'ä' und das 'ö' nochmal ersetzt und neu gespeichert.)
Was mir aber auffiel ist, dass Bilder in der Beschreibung gepflegt sind. Das sollte aber kein Problem sein oder? Vor allem da er ja den Namen anmeckert.

Habe schon ein paar Einträge hier im Forum gefunden bezüglich dieses Fehlers.
Da dieser jedoch anscheinend etwas zu wage ist um direkt auf den Fehler zu schließen pack ich mal die Log-File mit rein.


Viele Grüße,

GP
 

Anhänge

  • log-jtl.txt
    410,5 KB · Aufrufe: 2

Immanuel

Gesperrter Benutzer
24. August 2016
1.542
329
Hallo @g.proebster und herzlich willkommen im Forum!

Die von der Shopware API zurückgegebene Fehlermeldung ist in der Tat etwas irreführend. Da sollte Shopware dringend nacharbeiten. Ich habe im serverseitigen Connector Log nachgesehen. Das tatsächliche Problem scheint die Angabe einer Kategorie am Artikel zu sein, die nicht mehr im Shop existiert. Das passiert in der Regel dann, wenn eine Kategorie über das Shop Backend und nicht über JTL-Wawi gelöscht wurde. Beheben lassen sollte sich das Problem durch einen Komplettabgleich von Kategorien über JTL-Wawi (Onlineshop -> Komplettabgleich -> Checkbox bei Kategorien anhaken -> Speichern -> Abgleich starten).

Hier die (wahrscheinlich) tatsächliche Fehlermeldung zu dem Problem:
An exception occurred while executing 'REPLACE INTO product_category (product_id, product_version_id, category_id, category_version_id) VALUES ('\u0010+Җ{\\nI-�r\f*��\f\u0016','\u000F�\u001C��jK¾K��u,4%','�\\r֔ܜHۊ\u0006��WK�r','\u000F�\u001C��jK¾K��u,4%');':\n\nSQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`pastgeraete`.`product_category`, CONSTRAINT `fk.product_category.category_id` FOREIGN KEY (`category_id`, `category_version_id`) REFERENCES `category` (`id`, `version_id`) ON DELETE CASCADE O)
 

g.proebster

Mitglied
17. Juni 2021
20
1
Ich weiß noch nicht ob das ganze funktioniert hat. Anscheinend bricht der Import jetzt leider schon vorher ohne Fehlermeldung ab. (Habe die Artikel wohl auch nochmal neu importiert)
Ein Ausschnitt aus der Log-file:
Code:
JTL-Wawi: End sync
Exception: Controller = Product | Action = push | JTL-Wawi PK = 10571 | SKU = 10559 | Name = Miele Einbau-Kühlschrank K 37222 iD Nische 178 cm | [3a5d8eac-daed-4871-ac96-363f91f1d693] The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = Fk can not be detected
Controller = Product | Action = push | JTL-Wawi PK = 27074 | SKU = 15561 | Name = Pyramis Einbauspüle Pyragranite Athlos 1 1/4B 1D Carbon 070010212 | No JTL translation found
Artikel-Senden-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 product.push: Controller = Product | Action = push | JTL-Wawi PK = 10571 | SKU = 10559 | Name = Miele Einbau-Kühlschrank K 37222 iD Nische 178 cm | [3a5d8eac-daed-4871-ac96-363f91f1d693] The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = Fk can not be detected

Controller = Product | Action = push | JTL-Wawi PK = 27074 | SKU = 15561 | Name = Pyramis Einbauspüle Pyragranite Athlos 1 1/4B 1D Carbon 070010212 | No JTL translation found

Response: {"jtlrpc":"2.0","id":"8bfcc421716d4b09a73aed9ed0346f7e","result":null,"error":{"code":8,"message":"Controller = Product | Action = push | JTL-Wawi PK = 27074 | SKU = 15561 | Name = Pyramis Einbausp\u00fcle Pyragranite Athlos 1 1\/4B 1D Carbon 070010212 | No JTL translation found","data":"Jtl\\Connector\\Shopware6\\Exception\\ControllerException (Code: 8) in ...\/ControllerException.php:59"}}
Exception bei product.push: Controller = Product | Action = push | JTL-Wawi PK = 10571 | SKU = 10559 | Name = Miele Einbau-Kühlschrank K 37222 iD Nische 178 cm | [3a5d8eac-daed-4871-ac96-363f91f1d693] The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = Fk can not be detected

Controller = Product | Action = push | JTL-Wawi PK = 27074 | SKU = 15561 | Name = Pyramis Einbauspüle Pyragranite Athlos 1 1/4B 1D Carbon 070010212 | No JTL translation found

Response: {"jtlrpc":"2.0","id":"5ebccbe2a6e9473e97204ad0bd38dd5d","result":null,"error":{"code":8,"message":"Controller = Product | Action = push | JTL-Wawi PK = 27074 | SKU = 15561 | Name = Pyramis Einbausp\u00fcle Pyragranite Athlos 1 1\/4B 1D Carbon 070010212 | No JTL translation found","data":"Jtl\\Connector\\Shopware6\\Exception\\ControllerException (Code: 8) in ...\/ControllerException.php:59"}}
   bei jtlCore.ControllerClasses.Connector.Abgleich.Connector.JjBcpY291ir(String  , Object  , Boolean  , NetworkCredential  )
   bei jtlCore.ControllerClasses.Connector.Abgleich.Connector.c4WcpsWvf6k(String  , Object  , Boolean  , NetworkCredential  )
   bei jtlCore.ControllerClasses.Connector.Abgleich.Connector.JjBcpY291ir(String  , Object  , Boolean  , NetworkCredential  )

Der ganze Log - ziped, weil sonst zu groß - im Anhang.
 

Anhänge

  • log-jtl.txt.zip
    2,3 MB · Aufrufe: 1

g.proebster

Mitglied
17. Juni 2021
20
1
Die Error-Meldung bzgl. der UTF-8-Character konnte durch einen Komplettabgleich gelöst werden. Für die andere Fehlermeldung haben wir einfach vorerst den Artikel exkludiert.
Falls wir es lösen können würde ich hier nochmal Rückmeldung geben.
 
Ähnliche Themen
Titel Forum Antworten Datum
Neu SaaS Connector – product.push Performance-Problem bei Shopware 6.6 Shopware-Connector 1
Neu JTL-Connector + Shopware 6: Zweite Lizenz führt zu „Invalid credentials“ und blockiert bestehenden Shop Shopware-Connector 3
Neu Shopware Connector sendet keine Zahlungs und Versandinfos von WAWI zu SW6 Shopware-Connector 7
Neu Shopware 6 Kundenstornierung im Webshop Shopware-Connector 0
Neu Langfristiger JTL-Partner gesucht: Shopware 6 / Marktplätze (Mirakl, Otto, Kaufland) & Prozess-Optimierung Dienstleistung, Jobs und Ähnliches 1
Neu Artikel aus Shopware in der Wawi importieren und WMS redy machen Shopware-Connector 0
Wichtig Connectorversion 2.1.3 - Kompatibilität zu Shopware 6.7.6.0 und weitere Performanceoptimierungen Shopware-Connector 5
Neu Shopware 6.7.6.2 Fehler [No supported api version found.] 100 Shopware-Connector 1
Neu Mehrere Shopware Kunden in einem JTL Kundenkonto zusammenführen Onlineshop-Anbindung 0
Neu Connector bleibt am Anfang stehen / Fehlermeldung Abbruch Shopify-Connector 3
Neu Shopify Connector + JTL Wawi Preis Shopify-Connector 4
Neu Connector zu WooCommerce ist im Worker gesperrt trotz Lizenz Technische Fragen zu den JTL-Connectoren 5
Neu Störung / Connector verbindet sich nicht (Shopify) Shopify-Connector 7
Neu WPML: Funktioniert bis und inkl. Connector-Version 2.4.1 nicht mehr WooCommerce-Connector 0
Neu Shopify Connector Fehlermeldung bei Kategoriebildern Shopify-Connector 6
Neu Wechsel von JTL Shop 5 zu Shopify / ERP-Connector Produkte mit Variationen werden nicht übertragen Shopify-Connector 1
ERP Connector übermittelt keine Bestände an Shopify Shopify-Connector 9
Neu HTTP500 Error JTL-Shop - Fehler und Bugs 5
Neu Nach Shopupdate http error 500 JTL-Shop - Fehler und Bugs 9
Neu Bewusst deaktivierte Mail-Vorlagen erscheinen als Core Error im Logbuch Betrieb / Pflege von JTL-Shop 5
Seit Update auf 1.11.4 Workflow für Kartonauswahl gibt error JTL Das Objekt mit Nullwert muss einen Wert haben. BrowsePk: 152325 WorkflowAktionId: 155 JTL-Wawi 1.11 1

Ähnliche Themen