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 Shopware 5 + JTL-Connector: sporadische 500 Fehler / PHP-FPM Limit erreicht – trotz unverändertem Setup User helfen Usern - Fragen zu JTL-Wawi 0
Neu Shopware 5 connector und WawI 1.11.06 bis 1.11.8 Shopware-Connector 1
Neu SaaS Connector – product.push Performance-Problem bei Shopware 6.6 Shopware-Connector 3
Neu Gutscheincodes aus Shopware 6 in JTL Wawi als Anmerkung zeigen? Shopware-Connector 0
Neu product_visibility bei JTL-Wawi und Shopware 6 Shopware-Connector 1
Neu Connectorupdates für Shopware 6.7.7 bzw 6.7.8? Shopware-Connector 34
Neu WebP Bilder von JTL zu Shopware Shopware-Connector 2
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 2
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 Shopify Connector lässt sich nicht einrichten Shopify-Connector 0
Neu Störung Saas-Connector Shopware-Connector 8
Neu Fehler Saas-Connector Shopware-Connector 13
Neu Magento 2 Connector JTL Dienstleistung, Jobs und Ähnliches 0
Neu Magento 2 Connector - eCI ( ehem. Sysgrade) - Shipping 3.0 Allgemeines zu den JTL-Connectoren 0
Neu JTL-WaWi + ESL Connector — Entwicklung mit Kostenaufteilung gesucht Business Jungle 0
Statistische Auswertung mit Klar Connector oder Controlling Software? JTL-Wawi 1.10 0
Neu Connector-Core nicht PHP >= 8.4. kompatibel? Technische Fragen zu den JTL-Connectoren 3
Neu Release Shopify-Connector 2.1.0 Shopify-Connector 57
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
hipping 4.0 gibt fehler: Error converting value 500 to type 'Shipping.DHL.GKVAPI40.Shared.RequestStatus'. Path 'status', line 1, position 13. JTL-Wawi 1.11 0
Neu Error 500 Fehler nach Dropper Installation Betrieb / Pflege von JTL-Shop 2
Neu DHL Versenden 4.0 Nachnahme Error: Please enter a Cash on Delivery amount. JTL-ShippingLabels - Fehler und Bugs 8
Neu Leere Suche endet im fatal Error Betrieb / Pflege von JTL-Shop 0
Neu Worker generiert dauernden Security2:error JTL-Shop - Fehler und Bugs 1
Neu HTTP500 Error JTL-Shop - Fehler und Bugs 5
Neu Nach Shopupdate http error 500 JTL-Shop - Fehler und Bugs 9

Ähnliche Themen