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
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
Vaterartikel wird trotz Varianten eigenständig im Shopware-6-Storefront angezeigt, 0 €, kein Bild, falscher Bestand Shopware-Connector 1
Neu Shopify-Connector auf neues JTL-Kundenkonto umstellen – App bleibt altem Konto zugeordnet Shopify-Connector 4
Neu Drittanbieter Connector Technische Fragen zu den JTL-Connectoren 1
Neu Release Shopify-Connector 2.1.10 Shopify-Connector 9
Neu Connector 2.1.6 ist Live ! Releaseforum 0
Neu Release Shopify-Connector 2.1.6 ist Live Shopify-Connector 49
Eigener Drittshop-Connector (jtl/connector 5.3): valide Variationskombinationen werden mit „besitzt keine Variationen" nicht gesendet JTL-Wawi 1.11 1
Neu Problem mit dem JTL-Connector – Invalid Shopify connection credentials. Shopify-Connector 3
Neu JTL → Shopify Connector: MappingTablesException / „Endpoint id is empty“ – betroffene Artikel aus Logs per SQL finden Shopify-Connector 2
JTL ERP-Connector JTL-Wawi 2.0 0
Neu Fragen zum SaaS-Connector / Shopware6 bei Lagerbestandskorrektur Shopware-Connector 0
Neu Stripe plugin mit JTL SHOP Error 500 Plugins für JTL-Shop 2
Neu AVIF Bildeinstellung = 500 Server Error Allgemeine Fragen zu JTL-Shop 1
Neu S360 Custom Sort: „Request error: parsererror" – Solution360-Server nicht erreichbar? Plugins für JTL-Shop 3
Neu GLS: An error occurred when validating input: Field 'Name1' in Delivery is not present or not valid. JTL-ShippingLabels - Fehler und Bugs 0
Neu HTTP ERROR 500 Allgemeine Fragen zu JTL-Shop 2
Neu DHL 4.0 Postfiliale ohne Postnummer ERROR JTL-ShippingLabels - Ideen, Lob und Kritik 13
Error 500 bei Neuinstallation Einrichtung JTL-Shop5 7

Ähnliche Themen