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 JTL Connector - Shopware 5 / 6: keine Erstübertragung der Daten Shopware-Connector 2
Einzelartikel als Kindartikel zu einem neuen Vaterartikel zusammenführen (JTL-Wawi + Shopware Connector) JTL-Wawi 1.8 0
Neu Mediendateien nicht mit Shopware synchronisiert Shopware-Connector 0
Neu Connectorversion 2.1.0 - Kompatibilität zu Shopware 6.7 und Performanceoptimierungen Shopware-Connector 15
Neu PIM -> Shopware 6 <-> JTL Shopware-Connector 12
Neu Fehler beim Übertragen von Bildern JTL - Shopware Thumbnail Problem height width dürfen nicht leer sein Shopware-Connector 11
ERP Connector Shopify JTL-Wawi 1.10 3
Neu Verbindung zu Shopify Connector (App) -> "Lizensdaten ungültig" Shopify-Connector 1
Neu JTL Shopify Connector selektiver Import in JTL Shopify-Connector 2
Neu Fehler Connector Shopify Collection not found Shopify-Connector 8
Neu Update: JTL-Gambio-Connector Gambio-Connector 0
Neu Download Connector Modul .zip PrestaShop-Connector 0
Neu Biete Connector-Tools für vollautomatische Lieferantenbestellungen an uvm. Dienstleistung, Jobs und Ähnliches 2
Neu Woocommerce + JTL Connector + Litespeed Cache WooCommerce-Connector 0
Neu Probleme bei WooCommerce JTL-Connector, keine Aktivierung möglich, Bestands-Shop lahmgelegt Onlineshop-Anbindung 0
Neu Wawi zu Shopify connector Funktionseinstellungen ändern Allgemeines zu den JTL-Connectoren 0
Neu Connector extrem langsam Shopify-Connector 17
Neu JTL Connector Shopware-Connector 10
Neu Probleme beim Abgleich mit dem WooCommerce-Connector WooCommerce-Connector 0
Neu Abgleich WooCommerce / JTL mit dem Connector – Fehlermeldung WooCommerce-Connector 0
Neu Connector - benötigte Berechtigungen Shopware-Connector 4
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
Neu [ERROR] Attribut child_parent_sku_relationship fehlt. Amazon-Lister - Fehler und Bugs 3
Neu Fehlercode: 500 Internal Server Error beim Bestellabschluss Einrichtung JTL-Shop5 5
Neu Syntax error im Template NOVA JTL-Shop - Fehler und Bugs 2
Datum-Filter Error JTL-Wawi 1.9 1
Neu HTTP ERROR 500 - plugin installieren JTL-Shop - Fehler und Bugs 0
Neu JTL Wawi 1.10.14.3 / Unbehandelte Ausnahme im WaWi-Error-Log / Die Sammlung wurde geändert. Der Enumerationsvorgang kann möglicherweise .... JTL-Wawi - Fehler und Bugs 1
Neu E-Mail-Vorlagen HTTP 500 Error JTL-Shop - Fehler und Bugs 2
Neu 404 Error DHL beim erstmaligen Aufruf der Tracking URL JTL-Wawi - Fehler und Bugs 0
Neu Plötzlich bei Bestellung beim Lieferanten Menge: "Error" JTL-Wawi - Fehler und Bugs 0
Neu Logbuch Error Eintrag JTL-Shop - Fehler und Bugs 1

Ähnliche Themen