Neu Deserialize-Object Fehler beim Abgleich

janoschpelzer

Mitglied
7. August 2020
11
1
Hi,

ich kriege seit neustem diesen Fehler hier und kann ihn mir nicht ganz erklären:

Code:
Abgleich-Protokoll:
Bitte beachten Sie, dass JTL-Wawi federführend ist!
Im Shop-Backend vorgenommene Änderungen können nicht mehr automatisiert abgeglichen werden und führen somit zu Datenverlust.
Prüfe Endpointkonfiguration.
Abgleich gestartet für 'Test-Shop'.
Onlineshop-Abgleich beendet für 'Test-Shop'.


Fehler:
Exception: DeserializeObject-Error: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: P. Path '', line 0, position 0.
   bei Newtonsoft.Json.JsonTextReader.ParseValue()
   bei Newtonsoft.Json.JsonTextReader.ReadInternal()
   bei Newtonsoft.Json.JsonTextReader.Read()
   bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
   bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   bei Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   bei Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   bei Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   bei jtlCore.ControllerClasses.Connector.Core.Json.DeserializeObject[T](String json)

Json:ProductManufacturerShippingClassManufacturerProductProductProductProductManufacturerShippingClassManufacturerProductProductProduct{"jtlrpc":"2.0","id":"ae056227576d4eb4adb5a380d8555407","result":[{"id":["",1],"basePriceUnitId":["",0],"manufacturerId":["",1],"masterProductId":["",0],"measurementUnitId":["",0],"partsListId":["",0],"productTypeId":["",0],"shippingClassId":["",1],"unitId":["",0],"additionalHandlingTime":0,"asin":"","availableFrom":null,"basePriceDivisor":0,"basePriceFactor":0,"basePriceQuantity":0,"basePriceUnitCode":"","basePriceUnitName":"","considerBasePrice":false,"considerStock":true,"considerVariationStock":false,"creationDate":"2021-05-17T11:39:41+00:00","discountable":true,"ean":"","epid":"","hazardIdNumber":"","height":0,"isActive":true,"isBatch":false,"isBestBefore":false,"isbn":"","isDivisible":false,"isMasterProduct":false,"isNewProduct":false,"isSerialNumber":false,"isTopProduct":false,"keywords":"","length":0,"manufacturerNumber":"","manufacturer":{"id":["",1],"name":"Test Hersteller","sort":0,"urlPath":"","websiteUrl":"","i18ns":[]},"measurementQuantity":0,"measurementUnitCode":"","minBestBeforeDate":null,"minimumOrderQuantity":0,"minimumQuantity":0,"modified":"2021-05-17T11:46:52+00:00","newReleaseDate":"2021-05-17T11:37:33+00:00","nextAvailableInflowDate":null,"nextAvailableInflowQuantity":0,"note":"","originCountry":"","packagingQuantity":0,"permitNegativeStock":false,"productWeight":0,"purchasePrice":0,"recommendedRetailPrice":0,"serialNumber":"","shippingWeight":0,"sku":"1","sort":0,"stockLevel":{"stockLevel":42},"supplierDeliveryTime":0,"supplierStockLevel":0,"taric":"","unNumber":"","upc":"","vat":19,"width":0,"attributes":[],"categories":[],"checksums":[],"configGroups":[],"customerGroupPackagingQuantities":[],"fileDownloads":[],"i18ns":[{"languageIso":"de","deliveryStatus":"","description":"Lange Beschreibung","measurementUnitName":"","metaDescription":"","metaKeywords":"","name":"Test Schokolade","shortDescription":"Kurzbeschreibung","titleTag":"","unitName":"","urlPath":"","languageISO":"ger"}],"invisibilities":[],"mediaFiles":[],"partsLists":[],"prices":[{"id":["",0],"customerGroupId":["c2c6154f05b342d4b2da85e51ec805c9",1],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]},{"id":["",0],"customerGroupId":["b1d7b4cbe4d846f0b323a9d840800177",2],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]},{"id":["",0],"customerGroupId":["",0],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]}],"specialPrices":[],"specifics":[],"variations":[],"warehouseInfo":[]}],"error":null}
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!
DeserializeObject-Error: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: P. Path '', line 0, position 0.
   bei Newtonsoft.Json.JsonTextReader.ParseValue()
   bei Newtonsoft.Json.JsonTextReader.ReadInternal()
   bei Newtonsoft.Json.JsonTextReader.Read()
   bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
   bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   bei Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   bei Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   bei Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   bei jtlCore.ControllerClasses.Connector.Core.Json.DeserializeObject[T](String json)

Json:ProductManufacturerShippingClassManufacturerProductProductProductProductManufacturerShippingClassManufacturerProductProductProduct{"jtlrpc":"2.0","id":"ae056227576d4eb4adb5a380d8555407","result":[{"id":["",1],"basePriceUnitId":["",0],"manufacturerId":["",1],"masterProductId":["",0],"measurementUnitId":["",0],"partsListId":["",0],"productTypeId":["",0],"shippingClassId":["",1],"unitId":["",0],"additionalHandlingTime":0,"asin":"","availableFrom":null,"basePriceDivisor":0,"basePriceFactor":0,"basePriceQuantity":0,"basePriceUnitCode":"","basePriceUnitName":"","considerBasePrice":false,"considerStock":true,"considerVariationStock":false,"creationDate":"2021-05-17T11:39:41+00:00","discountable":true,"ean":"","epid":"","hazardIdNumber":"","height":0,"isActive":true,"isBatch":false,"isBestBefore":false,"isbn":"","isDivisible":false,"isMasterProduct":false,"isNewProduct":false,"isSerialNumber":false,"isTopProduct":false,"keywords":"","length":0,"manufacturerNumber":"","manufacturer":{"id":["",1],"name":"Test Hersteller","sort":0,"urlPath":"","websiteUrl":"","i18ns":[]},"measurementQuantity":0,"measurementUnitCode":"","minBestBeforeDate":null,"minimumOrderQuantity":0,"minimumQuantity":0,"modified":"2021-05-17T11:46:52+00:00","newReleaseDate":"2021-05-17T11:37:33+00:00","nextAvailableInflowDate":null,"nextAvailableInflowQuantity":0,"note":"","originCountry":"","packagingQuantity":0,"permitNegativeStock":false,"productWeight":0,"purchasePrice":0,"recommendedRetailPrice":0,"serialNumber":"","shippingWeight":0,"sku":"1","sort":0,"stockLevel":{"stockLevel":42},"supplierDeliveryTime":0,"supplierStockLevel":0,"taric":"","unNumber":"","upc":"","vat":19,"width":0,"attributes":[],"categories":[],"checksums":[],"configGroups":[],"customerGroupPackagingQuantities":[],"fileDownloads":[],"i18ns":[{"languageIso":"de","deliveryStatus":"","description":"Lange Beschreibung","measurementUnitName":"","metaDescription":"","metaKeywords":"","name":"Test Schokolade","shortDescription":"Kurzbeschreibung","titleTag":"","unitName":"","urlPath":"","languageISO":"ger"}],"invisibilities":[],"mediaFiles":[],"partsLists":[],"prices":[{"id":["",0],"customerGroupId":["c2c6154f05b342d4b2da85e51ec805c9",1],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]},{"id":["",0],"customerGroupId":["b1d7b4cbe4d846f0b323a9d840800177",2],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]},{"id":["",0],"customerGroupId":["",0],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]}],"specialPrices":[],"specifics":[],"variations":[],"warehouseInfo":[]}],"error":null}
Exception bei product.push:

DeserializeObject-Error: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: P. Path '', line 0, position 0.
   bei Newtonsoft.Json.JsonTextReader.ParseValue()
   bei Newtonsoft.Json.JsonTextReader.ReadInternal()
   bei Newtonsoft.Json.JsonTextReader.Read()
   bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
   bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   bei Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   bei Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   bei Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   bei jtlCore.ControllerClasses.Connector.Core.Json.DeserializeObject[T](String json)

Json:ProductManufacturerShippingClassManufacturerProductProductProductProductManufacturerShippingClassManufacturerProductProductProduct{"jtlrpc":"2.0","id":"ae056227576d4eb4adb5a380d8555407","result":[{"id":["",1],"basePriceUnitId":["",0],"manufacturerId":["",1],"masterProductId":["",0],"measurementUnitId":["",0],"partsListId":["",0],"productTypeId":["",0],"shippingClassId":["",1],"unitId":["",0],"additionalHandlingTime":0,"asin":"","availableFrom":null,"basePriceDivisor":0,"basePriceFactor":0,"basePriceQuantity":0,"basePriceUnitCode":"","basePriceUnitName":"","considerBasePrice":false,"considerStock":true,"considerVariationStock":false,"creationDate":"2021-05-17T11:39:41+00:00","discountable":true,"ean":"","epid":"","hazardIdNumber":"","height":0,"isActive":true,"isBatch":false,"isBestBefore":false,"isbn":"","isDivisible":false,"isMasterProduct":false,"isNewProduct":false,"isSerialNumber":false,"isTopProduct":false,"keywords":"","length":0,"manufacturerNumber":"","manufacturer":{"id":["",1],"name":"Test Hersteller","sort":0,"urlPath":"","websiteUrl":"","i18ns":[]},"measurementQuantity":0,"measurementUnitCode":"","minBestBeforeDate":null,"minimumOrderQuantity":0,"minimumQuantity":0,"modified":"2021-05-17T11:4


Der Fehler tritt auf wenn ich einen Abgleich mit meinem Connector starte. Mit dem Debugger sehe ich, dass die ProductController.php -> push Methode korrekt aufgerufen wird, hier der Code davon:

Code:
    public function push(AbstractDataModel $model): AbstractDataModel
    {
        if ($model instanceof Product) {
            // Upload product to shop code
            // ...
        }
        return $model;
    }

Es entsteht kein Fehler beim hochladen des Produktes und ich gebe einfach das Produkt-Model wieder zurück.
Ich benutze die Connector version 4.0.12
 

janoschpelzer

Mitglied
7. August 2020
11
1
Hier noch der komplette Abgleich- Log:

Code:
JTL-Wawi: StartForm()
JTL-Wawi: MainWindow != null
-- Connector-Konfiguration --
Import: False
Import Artikel/Kategorien: False
Artikel überschreiben: False
Import Bilder: False
Import Aufträge/Kunden: False

Upload: True
Upload Artikel komplett: True
Upload Artikel eingeschränkt: False
Upload Bilder: True

Nur zugeordnete Hersteller senden: False
Endpoint version: 0.1
Wawi-Version: 1.5.44.0
JTL-Wawi: Sync start
JTL-Wawi: Licence is valid
JTL-Wawi: InitCall OK
JTL-Wawi: Initialize model getters...
JTL-Wawi: ModelGetters OK
>>> global_data.pull: {
  "method": "global_data.pull",
  "params": {
    "limit": 50,
    "filters": {}
  },
  "jtlrpc": "2.0",
  "id": "a33465bb227d4f9d905419b3e0b3c4b8"
}
<<< global_data.pull: {"jtlrpc":"2.0","id":"a33465bb227d4f9d905419b3e0b3c4b8","result":[{"configGroups":[],"configItems":[],"crossSellingGroups":[],"currencies":[{"id":["56b0d7e12feb47838e2cd6c49f2cfd82",0],"delimiterCent":",","delimiterThousand":".","factor":1,"hasCurrencySignBeforeValue":false,"isDefault":true,"iso":"EUR","name":"Euro","nameHtml":"\u0026euro;"}],"customerGroups":[{"id":["c2c6154f05b342d4b2da85e51ec805c9",0],"applyNetPrice":false,"discount":0,"isDefault":true,"attributes":[],"i18ns":[{"languageIso":"","name":"Endkunde","languageISO":""}]},{"id":["b1d7b4cbe4d846f0b323a9d840800177",0],"applyNetPrice":true,"discount":0,"isDefault":false,"attributes":[],"i18ns":[{"languageIso":"","name":"Haendler","languageISO":""}]}],"languages":[{"languageIso":"ger","id":["1",0],"isDefault":true,"nameEnglish":"German","nameGerman":"Deutsch","languageISO":"ger"}],"measurementUnits":[],"productTypes":[],"shippingClasses":[],"shippingMethods":[{"id":["7adeec3fbbe942c6a8e910ead168703d",0],"name":"DHL Versand"}],"taxRates":[{"id":["f1ec9220f3f64049926a83f5ba8df985",0],"rate":19},{"id":["ec0a029a85554745aa42fb708d3c5c8c",0],"rate":7}],"units":[],"warehouses":[]}],"error":null}
(1465,7946 milliseconds)
>>> product.push: {
  "method": "product.push",
  "params": [
    {
      "entityType": "Product",
      "categories": [],
      "configGroups": [],
      "fileDownloads": [],
      "i18ns": [
        {
          "measurementUnitName": null,
          "unitName": null,
          "deliveryStatus": null,
          "productId": [
            "",
            1
          ],
          "languageISO": "ger",
          "name": "Test Schokolade",
          "description": "Lange Beschreibung",
          "shortDescription": "Kurzbeschreibung",
          "urlPath": "",
          "metaDescription": "",
          "titleTag": "",
          "metaKeywords": ""
        }
      ],
      "invisibilities": [],
      "mediaFiles": [],
      "prices": [
        {
          "customerId": [
            "",
            0
          ],
          "items": [
            {
              "productPriceId": [
                "",
                0
              ],
              "quantity": 0,
              "netPrice": 0.0
            }
          ],
          "customerGroupId": [
            "c2c6154f05b342d4b2da85e51ec805c9",
            1
          ],
          "sku": null,
          "vat": 19.0,
          "id": [
            "",
            0
          ],
          "productId": [
            "",
            1
          ]
        },
        {
          "customerId": [
            "",
            0
          ],
          "items": [
            {
              "productPriceId": [
                "",
                0
              ],
              "quantity": 0,
              "netPrice": 0.0
            }
          ],
          "customerGroupId": [
            "b1d7b4cbe4d846f0b323a9d840800177",
            2
          ],
          "sku": null,
          "vat": 19.0,
          "id": [
            "",
            0
          ],
          "productId": [
            "",
            1
          ]
        },
        {
          "customerId": [
            "",
            0
          ],
          "items": [
            {
              "productPriceId": [
                "",
                0
              ],
              "quantity": 0,
              "netPrice": 0.0
            }
          ],
          "customerGroupId": [
            "",
            0
          ],
          "sku": null,
          "vat": 19.0,
          "id": [
            "",
            0
          ],
          "productId": [
            "",
            1
          ]
        }
      ],
      "partsLists": [],
      "attributes": [],
      "specialPrices": [],
      "specifics": [],
      "warehouseInfo": [],
      "variations": [],
      "checksums": [],
      "varCombinations": [],
      "customerGroupPackagingQuantities": [],
      "stockLevel": {
        "productId": [
          "",
          1
        ],
        "stockLevel": 42.0,
        "sku": null
      },
      "supplierStockLevel": 0.0,
      "vat": 19.0,
      "basePriceFactor": 0.0,
      "supplierDeliveryTime": 0,
      "measurementUnitCode": "",
      "basePriceUnitCode": "",
      "basePriceUnitName": "",
      "minBestBeforeDate": null,
      "manufacturer": {
        "entityType": "Manufacturer",
        "i18ns": [],
        "id": [
          "",
          1
        ],
        "name": "Test Hersteller",
        "websiteUrl": "",
        "sort": 0,
        "urlPath": ""
      },
      "id": [
        "",
        1
      ],
      "sku": "1",
      "recommendedRetailPrice": 0.0,
      "note": "",
      "isActive": true,
      "minimumOrderQuantity": 0.0,
      "ean": "",
      "isTopProduct": false,
      "shippingWeight": 0.0,
      "isNewProduct": false,
      "isSerialNumber": false,
      "isDivisible": false,
      "considerStock": true,
      "permitNegativeStock": false,
      "minimumQuantity": 0.0,
      "purchasePrice": 0.0,
      "considerVariationStock": false,
      "modified": "2021-05-17T11:46:52Z",
      "considerBasePrice": false,
      "basePriceDivisor": 0.0,
      "keywords": "",
      "taric": "",
      "originCountry": "",
      "creationDate": "2021-05-17T11:39:41Z",
      "availableFrom": null,
      "sort": 0,
      "shippingClassId": [
        "",
        1
      ],
      "productWeight": 0.0,
      "manufacturerNumber": "",
      "serialNumber": "",
      "isbn": "",
      "unNumber": "",
      "hazardIdNumber": "",
      "asin": "",
      "masterProductId": [
        "",
        0
      ],
      "isMasterProduct": false,
      "packagingQuantity": 0.0,
      "partsListId": [
        "",
        0
      ],
      "upc": "",
      "productTypeId": [
        "",
        0
      ],
      "epid": "",
      "isBestBefore": false,
      "isBatch": false,
      "manufacturerId": [
        "",
        1
      ],
      "measurementUnitId": [
        "",
        0
      ],
      "measurementQuantity": 0.0,
      "basePriceUnitId": [
        "",
        0
      ],
      "basePriceQuantity": 0.0,
      "width": 0.0,
      "height": 0.0,
      "length": 0.0,
      "unitId": [
        "",
        0
      ],
      "nextAvailableInflowDate": null,
      "additionalHandlingTime": 0,
      "nextAvailableInflowQuantity": 0.0,
      "newReleaseDate": "2021-05-17T11:37:33Z"
    }
  ],
  "jtlrpc": "2.0",
  "id": "489e4bfb9e1f4b8e8ff7bfbf9109da0d"
}
JTL-Wawi: End sync
Exception: DeserializeObject-Error: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: P. Path '', line 0, position 0.
   bei Newtonsoft.Json.JsonTextReader.ParseValue()
   bei Newtonsoft.Json.JsonTextReader.ReadInternal()
   bei Newtonsoft.Json.JsonTextReader.Read()
   bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
   bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   bei Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   bei Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   bei Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   bei jtlCore.ControllerClasses.Connector.Core.Json.DeserializeObject[T](String json)

Json:ProductManufacturerShippingClassManufacturerProductProductProductProductManufacturerShippingClassManufacturerProductProductProduct{"jtlrpc":"2.0","id":"489e4bfb9e1f4b8e8ff7bfbf9109da0d","result":[{"id":["",1],"basePriceUnitId":["",0],"manufacturerId":["",1],"masterProductId":["",0],"measurementUnitId":["",0],"partsListId":["",0],"productTypeId":["",0],"shippingClassId":["",1],"unitId":["",0],"additionalHandlingTime":0,"asin":"","availableFrom":null,"basePriceDivisor":0,"basePriceFactor":0,"basePriceQuantity":0,"basePriceUnitCode":"","basePriceUnitName":"","considerBasePrice":false,"considerStock":true,"considerVariationStock":false,"creationDate":"2021-05-17T11:39:41+00:00","discountable":true,"ean":"","epid":"","hazardIdNumber":"","height":0,"isActive":true,"isBatch":false,"isBestBefore":false,"isbn":"","isDivisible":false,"isMasterProduct":false,"isNewProduct":false,"isSerialNumber":false,"isTopProduct":false,"keywords":"","length":0,"manufacturerNumber":"","manufacturer":{"id":["",1],"name":"Test Hersteller","sort":0,"urlPath":"","websiteUrl":"","i18ns":[]},"measurementQuantity":0,"measurementUnitCode":"","minBestBeforeDate":null,"minimumOrderQuantity":0,"minimumQuantity":0,"modified":"2021-05-17T11:46:52+00:00","newReleaseDate":"2021-05-17T11:37:33+00:00","nextAvailableInflowDate":null,"nextAvailableInflowQuantity":0,"note":"","originCountry":"","packagingQuantity":0,"permitNegativeStock":false,"productWeight":0,"purchasePrice":0,"recommendedRetailPrice":0,"serialNumber":"","shippingWeight":0,"sku":"1","sort":0,"stockLevel":{"stockLevel":42},"supplierDeliveryTime":0,"supplierStockLevel":0,"taric":"","unNumber":"","upc":"","vat":19,"width":0,"attributes":[],"categories":[],"checksums":[],"configGroups":[],"customerGroupPackagingQuantities":[],"fileDownloads":[],"i18ns":[{"languageIso":"de","deliveryStatus":"","description":"Lange Beschreibung","measurementUnitName":"","metaDescription":"","metaKeywords":"","name":"Test Schokolade","shortDescription":"Kurzbeschreibung","titleTag":"","unitName":"","urlPath":"","languageISO":"ger"}],"invisibilities":[],"mediaFiles":[],"partsLists":[],"prices":[{"id":["",0],"customerGroupId":["c2c6154f05b342d4b2da85e51ec805c9",1],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]},{"id":["",0],"customerGroupId":["b1d7b4cbe4d846f0b323a9d840800177",2],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]},{"id":["",0],"customerGroupId":["",0],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]}],"specialPrices":[],"specifics":[],"variations":[],"warehouseInfo":[]}],"error":null}
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!
DeserializeObject-Error: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: P. Path '', line 0, position 0.
   bei Newtonsoft.Json.JsonTextReader.ParseValue()
   bei Newtonsoft.Json.JsonTextReader.ReadInternal()
   bei Newtonsoft.Json.JsonTextReader.Read()
   bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
   bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   bei Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   bei Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   bei Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   bei jtlCore.ControllerClasses.Connector.Core.Json.DeserializeObject[T](String json)

Json:ProductManufacturerShippingClassManufacturerProductProductProductProductManufacturerShippingClassManufacturerProductProductProduct{"jtlrpc":"2.0","id":"489e4bfb9e1f4b8e8ff7bfbf9109da0d","result":[{"id":["",1],"basePriceUnitId":["",0],"manufacturerId":["",1],"masterProductId":["",0],"measurementUnitId":["",0],"partsListId":["",0],"productTypeId":["",0],"shippingClassId":["",1],"unitId":["",0],"additionalHandlingTime":0,"asin":"","availableFrom":null,"basePriceDivisor":0,"basePriceFactor":0,"basePriceQuantity":0,"basePriceUnitCode":"","basePriceUnitName":"","considerBasePrice":false,"considerStock":true,"considerVariationStock":false,"creationDate":"2021-05-17T11:39:41+00:00","discountable":true,"ean":"","epid":"","hazardIdNumber":"","height":0,"isActive":true,"isBatch":false,"isBestBefore":false,"isbn":"","isDivisible":false,"isMasterProduct":false,"isNewProduct":false,"isSerialNumber":false,"isTopProduct":false,"keywords":"","length":0,"manufacturerNumber":"","manufacturer":{"id":["",1],"name":"Test Hersteller","sort":0,"urlPath":"","websiteUrl":"","i18ns":[]},"measurementQuantity":0,"measurementUnitCode":"","minBestBeforeDate":null,"minimumOrderQuantity":0,"minimumQuantity":0,"modified":"2021-05-17T11:46:52+00:00","newReleaseDate":"2021-05-17T11:37:33+00:00","nextAvailableInflowDate":null,"nextAvailableInflowQuantity":0,"note":"","originCountry":"","packagingQuantity":0,"permitNegativeStock":false,"productWeight":0,"purchasePrice":0,"recommendedRetailPrice":0,"serialNumber":"","shippingWeight":0,"sku":"1","sort":0,"stockLevel":{"stockLevel":42},"supplierDeliveryTime":0,"supplierStockLevel":0,"taric":"","unNumber":"","upc":"","vat":19,"width":0,"attributes":[],"categories":[],"checksums":[],"configGroups":[],"customerGroupPackagingQuantities":[],"fileDownloads":[],"i18ns":[{"languageIso":"de","deliveryStatus":"","description":"Lange Beschreibung","measurementUnitName":"","metaDescription":"","metaKeywords":"","name":"Test Schokolade","shortDescription":"Kurzbeschreibung","titleTag":"","unitName":"","urlPath":"","languageISO":"ger"}],"invisibilities":[],"mediaFiles":[],"partsLists":[],"prices":[{"id":["",0],"customerGroupId":["c2c6154f05b342d4b2da85e51ec805c9",1],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]},{"id":["",0],"customerGroupId":["b1d7b4cbe4d846f0b323a9d840800177",2],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]},{"id":["",0],"customerGroupId":["",0],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]}],"specialPrices":[],"specifics":[],"variations":[],"warehouseInfo":[]}],"error":null}
Exception bei product.push:

DeserializeObject-Error: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: P. Path '', line 0, position 0.
   bei Newtonsoft.Json.JsonTextReader.ParseValue()
   bei Newtonsoft.Json.JsonTextReader.ReadInternal()
   bei Newtonsoft.Json.JsonTextReader.Read()
   bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
   bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   bei Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   bei Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   bei Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   bei jtlCore.ControllerClasses.Connector.Core.Json.DeserializeObject[T](String json)

Json:ProductManufacturerShippingClassManufacturerProductProductProductProductManufacturerShippingClassManufacturerProductProductProduct{"jtlrpc":"2.0","id":"489e4bfb9e1f4b8e8ff7bfbf9109da0d","result":[{"id":["",1],"basePriceUnitId":["",0],"manufacturerId":["",1],"masterProductId":["",0],"measurementUnitId":["",0],"partsListId":["",0],"productTypeId":["",0],"shippingClassId":["",1],"unitId":["",0],"additionalHandlingTime":0,"asin":"","availableFrom":null,"basePriceDivisor":0,"basePriceFactor":0,"basePriceQuantity":0,"basePriceUnitCode":"","basePriceUnitName":"","considerBasePrice":false,"considerStock":true,"considerVariationStock":false,"creationDate":"2021-05-17T11:39:41+00:00","discountable":true,"ean":"","epid":"","hazardIdNumber":"","height":0,"isActive":true,"isBatch":false,"isBestBefore":false,"isbn":"","isDivisible":false,"isMasterProduct":false,"isNewProduct":false,"isSerialNumber":false,"isTopProduct":false,"keywords":"","length":0,"manufacturerNumber":"","manufacturer":{"id":["",1],"name":"Test Hersteller","sort":0,"urlPath":"","websiteUrl":"","i18ns":[]},"measurementQuantity":0,"measurementUnitCode":"","minBestBeforeDate":null,"minimumOrderQuantity":0,"minimumQuantity":0,"modified":"2021-05-17T11:46:52+00:00","newReleaseDate":"2021-05-17T11:37:33+00:00","nextAvailableInflowDate":null,"nextAvailableInflowQuantity":0,"note":"","originCountry":"","packagingQuantity":0,"permitNegativeStock":false,"productWeight":0,"purchasePrice":0,"recommendedRetailPrice":0,"serialNumber":"","shippingWeight":0,"sku":"1","sort":0,"stockLevel":{"stockLevel":42},"supplierDeliveryTime":0,"supplierStockLevel":0,"taric":"","unNumber":"","upc":"","vat":19,"width":0,"attributes":[],"categories":[],"checksums":[],"configGroups":[],"customerGroupPackagingQuantities":[],"fileDownloads":[],"i18ns":[{"languageIso":"de","deliveryStatus":"","description":"Lange Beschreibung","measurementUnitName":"","metaDescription":"","metaKeywords":"","name":"Test Schokolade","shortDescription":"Kurzbeschreibung","titleTag":"","unitName":"","urlPath":"","languageISO":"ger"}],"invisibilities":[],"mediaFiles":[],"partsLists":[],"prices":[{"id":["",0],"customerGroupId":["c2c6154f05b342d4b2da85e51ec805c9",1],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]},{"id":["",0],"customerGroupId":["b1d7b4cbe4d846f0b323a9d840800177",2],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]},{"id":["",0],"customerGroupId":["",0],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]}],"specialPrices":[],"specifics":[],"variations":[],"warehouseInfo":[]}],"error":null}

Response: ProductManufacturerShippingClassManufacturerProductProductProductProductManufacturerShippingClassManufacturerProductProductProduct{"jtlrpc":"2.0","id":"489e4bfb9e1f4b8e8ff7bfbf9109da0d","result":[{"id":["",1],"basePriceUnitId":["",0],"manufacturerId":["",1],"masterProductId":["",0],"measurementUnitId":["",0],"partsListId":["",0],"productTypeId":["",0],"shippingClassId":["",1],"unitId":["",0],"additionalHandlingTime":0,"asin":"","availableFrom":null,"basePriceDivisor":0,"basePriceFactor":0,"basePriceQuantity":0,"basePriceUnitCode":"","basePriceUnitName":"","considerBasePrice":false,"considerStock":true,"considerVariationStock":false,"creationDate":"2021-05-17T11:39:41+00:00","discountable":true,"ean":"","epid":"","hazardIdNumber":"","height":0,"isActive":true,"isBatch":false,"isBestBefore":false,"isbn":"","isDivisible":false,"isMasterProduct":false,"isNewProduct":false,"isSerialNumber":false,"isTopProduct":false,"keywords":"","length":0,"manufacturerNumber":"","manufacturer":{"id":["",1],"name":"Test Hersteller","sort":0,"urlPath":"","websiteUrl":"","i18ns":[]},"measurementQuantity":0,"measurementUnitCode":"","minBestBeforeDate":null,"minimumOrderQuantity":0,"minimumQuantity":0,"modified":"2021-05-17T11:46:52+00:00","newReleaseDate":"2021-05-17T11:37:33+00:00","nextAvailableInflowDate":null,"nextAvailableInflowQuantity":0,"note":"","originCountry":"","packagingQuantity":0,"permitNegativeStock":false,"productWeight":0,"purchasePrice":0,"recommendedRetailPrice":0,"serialNumber":"","shippingWeight":0,"sku":"1","sort":0,"stockLevel":{"stockLevel":42},"supplierDeliveryTime":0,"supplierStockLevel":0,"taric":"","unNumber":"","upc":"","vat":19,"width":0,"attributes":[],"categories":[],"checksums":[],"configGroups":[],"customerGroupPackagingQuantities":[],"fileDownloads":[],"i18ns":[{"languageIso":"de","deliveryStatus":"","description":"Lange Beschreibung","measurementUnitName":"","metaDescription":"","metaKeywords":"","name":"Test Schokolade","shortDescription":"Kurzbeschreibung","titleTag":"","unitName":"","urlPath":"","languageISO":"ger"}],"invisibilities":[],"mediaFiles":[],"partsLists":[],"prices":[{"id":["",0],"customerGroupId":["c2c6154f05b342d4b2da85e51ec805c9",1],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]},{"id":["",0],"customerGroupId":["b1d7b4cbe4d846f0b323a9d840800177",2],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]},{"id":["",0],"customerGroupId":["",0],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]}],"specialPrices":[],"specifics":[],"variations":[],"warehouseInfo":[]}],"error":null}
   bei jtlCore.ControllerClasses.Connector.Core.Json.DeserializeObject[T](String json)
   bei jtlCore.ControllerClasses.Connector.Abgleich.Connector.xNnI3dVeagV(String  , Object  , Boolean  , NetworkCredential  )
 

janoschpelzer

Mitglied
7. August 2020
11
1
Also anscheinend ist das Problem, dass bei der Antwort welche die Wawi von dem Connector erhält folgender Prefix vorzufinden ist: "ProductManufacturerShippingClassManufacturerProductProductProductProductManufacturerShippingClassManufacturerProductProductProduct". Deswegen kann die Antwort nicht korrekt als JSON geparsed werden von der Wawi.

Ich kann mir aber leider nicht erklären wie dieser Prefix entsteht...
 

janoschpelzer

Mitglied
7. August 2020
11
1
Laut Wireshark schickt mein Connector tatsächlich diese fehlerhafte Antwort, das Problem liegt also nicht an der Wawi sondern am connector-core...
 
Zuletzt bearbeitet:

Immanuel

Moderator
Mitarbeiter
24. August 2016
1.307
270
Hallo @janoschpelzer,

bitte stell in der Connector Config das "log_level" auf "debug" und starte nochmal einen Abgleich. Danach solltest du im Connector Log Verzeichnis (../var/log) einen entsprechenden RPC Log finden, in dem das Result welches vom Connector zurück an JTL-Wawi gesendet wird drin steht. Den RPC Log bitte hier reinposten.
 

janoschpelzer

Mitglied
7. August 2020
11
1
Hier ist der rpc-2021-05-17. log Log:

Code:
[2021-05-17T12:51:21.493551+00:00] rpc.DEBUG: {   "method": "core.connector.auth",   "params": {     "token": "******************"   },   "jtlrpc": "2.0",   "id": "96e223eadaca4887a162906b868034b7" } [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Application/Application.php","line":276,"class":"Jtl\\Connector\\Core\\Application\\Application","function":"run"}
[2021-05-17T12:51:21.515745+00:00] rpc.DEBUG: {"jtlrpc":"2.0","id":"96e223eadaca4887a162906b868034b7","result":{"sessionId":"9r8io9s7s9n2jdpttqd8g29ppo","lifetime":1440},"error":null} [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Http/JsonResponse.php","line":68,"class":"Jtl\\Connector\\Core\\Http\\JsonResponse","function":"prepareAndSend"}
[2021-05-17T12:51:21.536013+00:00] rpc.DEBUG: {   "method": "connector.identify",   "params": null,   "jtlrpc": "2.0",   "id": "9bdb3bd4264942f097cac1b3ba6bf6a2" } [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Application/Application.php","line":276,"class":"Jtl\\Connector\\Core\\Application\\Application","function":"run"}
[2021-05-17T12:51:21.548088+00:00] rpc.DEBUG: {"jtlrpc":"2.0","id":"9bdb3bd4264942f097cac1b3ba6bf6a2","result":{"endpointVersion":"0.1","platformName":"Bulk","platformVersion":"","protocolVersion":7,"serverInfo":{"memoryLimit":128,"executionTime":30,"postMaxSize":8,"uploadMaxFilesize":2}},"error":null} [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Http/JsonResponse.php","line":68,"class":"Jtl\\Connector\\Core\\Http\\JsonResponse","function":"prepareAndSend"}
[2021-05-17T12:51:21.568621+00:00] rpc.DEBUG: {   "method": "global_data.pull",   "params": {     "limit": 50,     "filters": {}   },   "jtlrpc": "2.0",   "id": "e9476283eb8447599d0d86cc8df36e7d" } [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Application/Application.php","line":276,"class":"Jtl\\Connector\\Core\\Application\\Application","function":"run"}
[2021-05-17T12:51:22.714464+00:00] rpc.DEBUG: {"jtlrpc":"2.0","id":"e9476283eb8447599d0d86cc8df36e7d","result":[{"configGroups":[],"configItems":[],"crossSellingGroups":[],"currencies":[{"id":["56b0d7e12feb47838e2cd6c49f2cfd82",0],"delimiterCent":",","delimiterThousand":".","factor":1,"hasCurrencySignBeforeValue":false,"isDefault":true,"iso":"EUR","name":"Euro","nameHtml":"\u0026euro;"}],"customerGroups":[{"id":["c2c6154f05b342d4b2da85e51ec805c9",0],"applyNetPrice":false,"discount":0,"isDefault":true,"attributes":[],"i18ns":[{"languageIso":"","name":"Endkunde","languageISO":""}]},{"id":["b1d7b4cbe4d846f0b323a9d840800177",0],"applyNetPrice":true,"discount":0,"isDefault":false,"attributes":[],"i18ns":[{"languageIso":"","name":"Haendler","languageISO":""}]}],"languages":[{"languageIso":"ger","id":["1",0],"isDefault":true,"nameEnglish":"German","nameGerman":"Deutsch","languageISO":"ger"}],"measurementUnits":[],"productTypes":[],"shippingClasses":[],"shippingMethods":[{"id":["7adeec3fbbe942c6a8e910ead168703d",0],"name":"DHL Versand"}],"taxRates":[{"id":["f1ec9220f3f64049926a83f5ba8df985",0],"rate":19},{"id":["ec0a029a85554745aa42fb708d3c5c8c",0],"rate":7}],"units":[],"warehouses":[]}],"error":null} [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Http/JsonResponse.php","line":68,"class":"Jtl\\Connector\\Core\\Http\\JsonResponse","function":"prepareAndSend"}
[2021-05-17T12:51:22.739082+00:00] rpc.DEBUG: {   "method": "core.connector.features",   "params": null,   "jtlrpc": "2.0",   "id": "dc7dd73de45e4840b6df6ab460df7058" } [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Application/Application.php","line":276,"class":"Jtl\\Connector\\Core\\Application\\Application","function":"run"}
[2021-05-17T12:51:22.745757+00:00] rpc.DEBUG: {"jtlrpc":"2.0","id":"dc7dd73de45e4840b6df6ab460df7058","result":{"entities":{"Category":{"pull":false,"push":false,"delete":false},"CategoryAttr":{"pull":false,"push":false,"delete":false},"CategoryAttrI18n":{"pull":false,"push":false,"delete":false},"CategoryCustomerGroup":{"pull":false,"push":false,"delete":false},"CategoryI18n":{"pull":false,"push":false,"delete":false},"CategoryInvisibility":{"pull":false,"push":false,"delete":false},"Checksum":{"pull":false,"push":false,"delete":false},"ConfigGroup":{"pull":false,"push":false,"delete":false},"ConfigGroupI18n":{"pull":false,"push":false,"delete":false},"ConfigItem":{"pull":false,"push":false,"delete":false},"ConfigItemI18n":{"pull":false,"push":false,"delete":false},"ConfigItemPrice":{"pull":false,"push":false,"delete":false},"CrossSelling":{"pull":false,"push":false,"delete":false},"CrossSellingGroup":{"pull":false,"push":false,"delete":false},"CrossSellingGroupI18n":{"pull":false,"push":false,"delete":false},"CrossSellingItem":{"pull":false,"push":false,"delete":false},"Currency":{"pull":false,"push":false,"delete":false},"Customer":{"pull":false,"push":false,"delete":false},"CustomerAttr":{"pull":false,"push":false,"delete":false},"CustomerGroup":{"pull":false,"push":false,"delete":false},"CustomerGroupAttr":{"pull":false,"push":false,"delete":false},"CustomerGroupI18n":{"pull":false,"push":false,"delete":false},"CustomerGroupPackagingQuantity":{"pull":false,"push":false,"delete":false},"CustomerOrder":{"pull":true,"push":false,"delete":false},"CustomerOrderAttr":{"pull":false,"push":false,"delete":false},"CustomerOrderBillingAddress":{"pull":true,"push":false,"delete":false},"CustomerOrderItem":{"pull":true,"push":false,"delete":false},"CustomerOrderItemVariation":{"pull":false,"push":false,"delete":false},"CustomerOrderPaymentInfo":{"pull":false,"push":false,"delete":false},"CustomerOrderShippingAddress":{"pull":true,"push":false,"delete":false},"DeliveryNote":{"pull":true,"push":false,"delete":false},"DeliveryNoteItem":{"pull":true,"push":false,"delete":false},"DeliveryNoteItemInfo":{"pull":true,"push":false,"delete":false},"FileDownload":{"pull":false,"push":false,"delete":false},"FileDownloadI18n":{"pull":false,"push":false,"delete":false},"FileUpload":{"pull":false,"push":false,"delete":false},"FileUploadI18n":{"pull":false,"push":false,"delete":false},"GlobalData":{"pull":true,"push":false,"delete":false},"Image":{"pull":false,"push":true,"delete":true},"Language":{"pull":false,"push":false,"delete":false},"Manufacturer":{"pull":false,"push":false,"delete":false},"ManufacturerI18n":{"pull":false,"push":false,"delete":false},"MeasurementUnit":{"pull":false,"push":false,"delete":false},"MeasurementUnitI18n":{"pull":false,"push":false,"delete":false},"MediaFile":{"pull":false,"push":false,"delete":false},"MediaFileAttr":{"pull":false,"push":false,"delete":false},"MediaFileAttrI18n":{"pull":false,"push":false,"delete":false},"MediaFileI18n":{"pull":false,"push":false,"delete":false},"PartsList":{"pull":false,"push":false,"delete":false},"Payment":{"pull":false,"push":false,"delete":false},"Product":{"pull":false,"push":true,"delete":true},"Product2Category":{"pull":false,"push":false,"delete":false},"ProductAttr":{"pull":false,"push":true,"delete":true},"ProductAttrI18n":{"pull":false,"push":true,"delete":true},"ProductConfigGroup":{"pull":false,"push":false,"delete":false},"ProductFileDownload":{"pull":false,"push":false,"delete":false},"ProductI18n":{"pull":false,"push":true,"delete":true},"ProductInvisibility":{"pull":false,"push":false,"delete":false},"ProductPartsList":{"pull":false,"push":false,"delete":false},"ProductPrice":{"pull":false,"push":true,"delete":true},"ProductPriceItem":{"pull":false,"push":true,"delete":true},"ProductSpecialPrice":{"pull":false,"push":false,"delete":false},"ProductSpecialPriceItem":{"pull":false,"push":false,"delete":false},"ProductSpecific":{"pull":false,"push":false,"delete":false},"ProductStockLevel":{"pull":false,"push":true,"delete":true},"ProductType":{"pull":false,"push":false,"delete":false},"ProductVarCombination":{"pull":false,"push":false,"delete":false},"ProductVariation":{"pull":false,"push":false,"delete":false},"ProductVariationI18n":{"pull":false,"push":false,"delete":false},"ProductVariationInvisibility":{"pull":false,"push":false,"delete":false},"ProductVariationValue":{"pull":false,"push":false,"delete":false},"ProductVariationValueDependency":{"pull":false,"push":false,"delete":false},"ProductVariationValueExtraCharge":{"pull":false,"push":false,"delete":false},"ProductVariationValueI18n":{"pull":false,"push":false,"delete":false},"ProductVariationValueInvisibility":{"pull":false,"push":false,"delete":false},"ProductWarehouseInfo":{"pull":false,"push":false,"delete":false},"Shipment":{"pull":false,"push":false,"delete":false},"ShippingClass":{"pull":false,"push":false,"delete":false},"Specific":{"pull":false,"push":false,"delete":false},"SpecificI18n":{"pull":false,"push":false,"delete":false},"SpecificValue":{"pull":false,"push":false,"delete":false},"SpecificValueI18n":{"pull":false,"push":false,"delete":false},"Statistic":{"pull":false,"push":false,"delete":false},"StatusChange":{"pull":false,"push":false,"delete":false},"TaxClass":{"pull":false,"push":false,"delete":false},"TaxRate":{"pull":false,"push":false,"delete":false},"TaxZone":{"pull":false,"push":false,"delete":false},"TaxZoneCountry":{"pull":false,"push":false,"delete":false},"Unit":{"pull":false,"push":false,"delete":false},"UnitI18n":{"pull":false,"push":false,"delete":false},"Warehouse":{"pull":false,"push":false,"delete":false}},"flags":{"var_combination_child_first":false,"product_images_supported":true,"category_images_supported":true,"manufacturer_images_supported":false,"specific_images_supported":false,"specific_value_images_supported":false,"config_group_images_supported":false,"product_variation_value_images_supported":false,"variation_products_supported":false,"variation_combinations_supported":true,"set_articles_supported":false,"free_field_supported":false,"needs_category_root":false,"translated_attributes_supported":false,"send_all_acks":false,"disable_statistics":false,"needs_finish_call":true}},"error":null} [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Http/JsonResponse.php","line":68,"class":"Jtl\\Connector\\Core\\Http\\JsonResponse","function":"prepareAndSend"}
[2021-05-17T12:51:24.125111+00:00] rpc.DEBUG: {   "method": "connector.identify",   "params": null,   "jtlrpc": "2.0",   "id": "7452ebaf02634a2dbda6a0d9ad5933ee" } [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Application/Application.php","line":276,"class":"Jtl\\Connector\\Core\\Application\\Application","function":"run"}
[2021-05-17T12:51:24.129912+00:00] rpc.DEBUG: {"jtlrpc":"2.0","id":"7452ebaf02634a2dbda6a0d9ad5933ee","result":{"endpointVersion":"0.1","platformName":"Bulk","platformVersion":"","protocolVersion":7,"serverInfo":{"memoryLimit":128,"executionTime":30,"postMaxSize":8,"uploadMaxFilesize":2}},"error":null} [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Http/JsonResponse.php","line":68,"class":"Jtl\\Connector\\Core\\Http\\JsonResponse","function":"prepareAndSend"}
[2021-05-17T12:51:24.151464+00:00] rpc.DEBUG: {   "method": "core.connector.init",   "params": null,   "jtlrpc": "2.0",   "id": "f8199dbc0abf4baea5e7196eaa4076aa" } [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Application/Application.php","line":276,"class":"Jtl\\Connector\\Core\\Application\\Application","function":"run"}
[2021-05-17T12:51:24.156843+00:00] rpc.DEBUG: {"jtlrpc":"2.0","id":"f8199dbc0abf4baea5e7196eaa4076aa","result":true,"error":null} [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Http/JsonResponse.php","line":68,"class":"Jtl\\Connector\\Core\\Http\\JsonResponse","function":"prepareAndSend"}
[2021-05-17T12:51:24.391334+00:00] rpc.DEBUG: {   "method": "global_data.pull",   "params": {     "limit": 50,     "filters": {}   },   "jtlrpc": "2.0",   "id": "68beecb2f4184c54b7f1f33db2ee2416" } [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Application/Application.php","line":276,"class":"Jtl\\Connector\\Core\\Application\\Application","function":"run"}
[2021-05-17T12:51:25.244042+00:00] rpc.DEBUG: {"jtlrpc":"2.0","id":"68beecb2f4184c54b7f1f33db2ee2416","result":[{"configGroups":[],"configItems":[],"crossSellingGroups":[],"currencies":[{"id":["56b0d7e12feb47838e2cd6c49f2cfd82",0],"delimiterCent":",","delimiterThousand":".","factor":1,"hasCurrencySignBeforeValue":false,"isDefault":true,"iso":"EUR","name":"Euro","nameHtml":"\u0026euro;"}],"customerGroups":[{"id":["c2c6154f05b342d4b2da85e51ec805c9",0],"applyNetPrice":false,"discount":0,"isDefault":true,"attributes":[],"i18ns":[{"languageIso":"","name":"Endkunde","languageISO":""}]},{"id":["b1d7b4cbe4d846f0b323a9d840800177",0],"applyNetPrice":true,"discount":0,"isDefault":false,"attributes":[],"i18ns":[{"languageIso":"","name":"Haendler","languageISO":""}]}],"languages":[{"languageIso":"ger","id":["1",0],"isDefault":true,"nameEnglish":"German","nameGerman":"Deutsch","languageISO":"ger"}],"measurementUnits":[],"productTypes":[],"shippingClasses":[],"shippingMethods":[{"id":["7adeec3fbbe942c6a8e910ead168703d",0],"name":"DHL Versand"}],"taxRates":[{"id":["f1ec9220f3f64049926a83f5ba8df985",0],"rate":19},{"id":["ec0a029a85554745aa42fb708d3c5c8c",0],"rate":7}],"units":[],"warehouses":[]}],"error":null} [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Http/JsonResponse.php","line":68,"class":"Jtl\\Connector\\Core\\Http\\JsonResponse","function":"prepareAndSend"}
[2021-05-17T12:51:25.479412+00:00] rpc.DEBUG: {   "method": "product.push",   "params": [     {       "entityType": "Product",       "categories": [],       "configGroups": [],       "fileDownloads": [],       "i18ns": [         {           "measurementUnitName": null,           "unitName": null,           "deliveryStatus": null,           "productId": [             "",             1           ],           "languageISO": "ger",           "name": "Test Schokolade",           "description": "Lange Beschreibung",           "shortDescription": "Kurzbeschreibung",           "urlPath": "",           "metaDescription": "",           "titleTag": "",           "metaKeywords": ""         }       ],       "invisibilities": [],       "mediaFiles": [],       "prices": [         {           "customerId": [             "",             0           ],           "items": [             {               "productPriceId": [                 "",                 0               ],               "quantity": 0,               "netPrice": 0.0             }           ],           "customerGroupId": [             "c2c6154f05b342d4b2da85e51ec805c9",             1           ],           "sku": null,           "vat": 19.0,           "id": [             "",             0           ],           "productId": [             "",             1           ]         },         {           "customerId": [             "",             0           ],           "items": [             {               "productPriceId": [                 "",                 0               ],               "quantity": 0,               "netPrice": 0.0             }           ],           "customerGroupId": [             "b1d7b4cbe4d846f0b323a9d840800177",             2           ],           "sku": null,           "vat": 19.0,           "id": [             "",             0           ],           "productId": [             "",             1           ]         },         {           "customerId": [             "",             0           ],           "items": [             {               "productPriceId": [                 "",                 0               ],               "quantity": 0,               "netPrice": 0.0             }           ],           "customerGroupId": [             "",             0           ],           "sku": null,           "vat": 19.0,           "id": [             "",             0           ],           "productId": [             "",             1           ]         }       ],       "partsLists": [],       "attributes": [],       "specialPrices": [],       "specifics": [],       "warehouseInfo": [],       "variations": [],       "checksums": [],       "varCombinations": [],       "customerGroupPackagingQuantities": [],       "stockLevel": {         "productId": [           "",           1         ],         "stockLevel": 42.0,         "sku": null       },       "supplierStockLevel": 0.0,       "vat": 19.0,       "basePriceFactor": 0.0,       "supplierDeliveryTime": 0,       "measurementUnitCode": "",       "basePriceUnitCode": "",       "basePriceUnitName": "",       "minBestBeforeDate": null,       "manufacturer": {         "entityType": "Manufacturer",         "i18ns": [],         "id": [           "",           1         ],         "name": "Test Hersteller",         "websiteUrl": "",         "sort": 0,         "urlPath": ""       },       "id": [         "",         1       ],       "sku": "1",       "recommendedRetailPrice": 0.0,       "note": "",       "isActive": true,       "minimumOrderQuantity": 0.0,       "ean": "",       "isTopProduct": false,       "shippingWeight": 0.0,       "isNewProduct": false,       "isSerialNumber": false,       "isDivisible": false,       "considerStock": true,       "permitNegativeStock": false,       "minimumQuantity": 0.0,       "purchasePrice": 0.0,       "considerVariationStock": false,       "modified": "2021-05-17T11:46:52Z",       "considerBasePrice": false,       "basePriceDivisor": 0.0,       "keywords": "",       "taric": "",       "originCountry": "",       "creationDate": "2021-05-17T11:39:41Z",       "availableFrom": null,       "sort": 0,       "shippingClassId": [         "",         1       ],       "productWeight": 0.0,       "manufacturerNumber": "",       "serialNumber": "",       "isbn": "",       "unNumber": "",       "hazardIdNumber": "",       "asin": "",       "masterProductId": [         "",         0       ],       "isMasterProduct": false,       "packagingQuantity": 0.0,       "partsListId": [         "",         0       ],       "upc": "",       "productTypeId": [         "",         0       ],       "epid": "",       "isBestBefore": false,       "isBatch": false,       "manufacturerId": [         "",         1       ],       "measurementUnitId": [         "",         0       ],       "measurementQuantity": 0.0,       "basePriceUnitId": [         "",         0       ],       "basePriceQuantity": 0.0,       "width": 0.0,       "height": 0.0,       "length": 0.0,       "unitId": [         "",         0       ],       "nextAvailableInflowDate": null,       "additionalHandlingTime": 0,       "nextAvailableInflowQuantity": 0.0,       "newReleaseDate": "2021-05-17T11:37:33Z"     }   ],   "jtlrpc": "2.0",   "id": "5966eeca79f64e389bd0670cc5e9f7e8" } [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Application/Application.php","line":276,"class":"Jtl\\Connector\\Core\\Application\\Application","function":"run"}
[2021-05-17T12:51:26.364403+00:00] rpc.DEBUG: {"jtlrpc":"2.0","id":"5966eeca79f64e389bd0670cc5e9f7e8","result":[{"id":["",1],"basePriceUnitId":["",0],"manufacturerId":["",1],"masterProductId":["",0],"measurementUnitId":["",0],"partsListId":["",0],"productTypeId":["",0],"shippingClassId":["",1],"unitId":["",0],"additionalHandlingTime":0,"asin":"","availableFrom":null,"basePriceDivisor":0,"basePriceFactor":0,"basePriceQuantity":0,"basePriceUnitCode":"","basePriceUnitName":"","considerBasePrice":false,"considerStock":true,"considerVariationStock":false,"creationDate":"2021-05-17T11:39:41+00:00","discountable":true,"ean":"","epid":"","hazardIdNumber":"","height":0,"isActive":true,"isBatch":false,"isBestBefore":false,"isbn":"","isDivisible":false,"isMasterProduct":false,"isNewProduct":false,"isSerialNumber":false,"isTopProduct":false,"keywords":"","length":0,"manufacturerNumber":"","manufacturer":{"id":["",1],"name":"Test Hersteller","sort":0,"urlPath":"","websiteUrl":"","i18ns":[]},"measurementQuantity":0,"measurementUnitCode":"","minBestBeforeDate":null,"minimumOrderQuantity":0,"minimumQuantity":0,"modified":"2021-05-17T11:46:52+00:00","newReleaseDate":"2021-05-17T11:37:33+00:00","nextAvailableInflowDate":null,"nextAvailableInflowQuantity":0,"note":"","originCountry":"","packagingQuantity":0,"permitNegativeStock":false,"productWeight":0,"purchasePrice":0,"recommendedRetailPrice":0,"serialNumber":"","shippingWeight":0,"sku":"1","sort":0,"stockLevel":{"stockLevel":42},"supplierDeliveryTime":0,"supplierStockLevel":0,"taric":"","unNumber":"","upc":"","vat":19,"width":0,"attributes":[],"categories":[],"checksums":[],"configGroups":[],"customerGroupPackagingQuantities":[],"fileDownloads":[],"i18ns":[{"languageIso":"de","deliveryStatus":"","description":"Lange Beschreibung","measurementUnitName":"","metaDescription":"","metaKeywords":"","name":"Test Schokolade","shortDescription":"Kurzbeschreibung","titleTag":"","unitName":"","urlPath":"","languageISO":"ger"}],"invisibilities":[],"mediaFiles":[],"partsLists":[],"prices":[{"id":["",0],"customerGroupId":["c2c6154f05b342d4b2da85e51ec805c9",1],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]},{"id":["",0],"customerGroupId":["b1d7b4cbe4d846f0b323a9d840800177",2],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]},{"id":["",0],"customerGroupId":["",0],"customerId":["",0],"productId":["",1],"items":[{"netPrice":0,"quantity":0}]}],"specialPrices":[],"specifics":[],"variations":[],"warehouseInfo":[]}],"error":null} [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Http/JsonResponse.php","line":68,"class":"Jtl\\Connector\\Core\\Http\\JsonResponse","function":"prepareAndSend"}
[2021-05-17T12:51:26.395741+00:00] rpc.DEBUG: {   "method": "connector.finish",   "params": null,   "jtlrpc": "2.0",   "id": "cdd28adadaa9414495ee8426e0243ee5" } [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Application/Application.php","line":276,"class":"Jtl\\Connector\\Core\\Application\\Application","function":"run"}
[2021-05-17T12:51:26.399977+00:00] rpc.DEBUG: {"jtlrpc":"2.0","id":"cdd28adadaa9414495ee8426e0243ee5","result":true,"error":null} [] {"file":"{CONNECTOR_ROOT}/vendor/jtl/connector/src/Http/JsonResponse.php","line":68,"class":"Jtl\\Connector\\Core\\Http\\JsonResponse","function":"prepareAndSend"}

Laut diesem wird für product.push eine korrekte Antwort generiert, also ohne den Prefix.

Wenn ich mir die Response aber in Wireshark ansehe dann sehe ich, dass dort ein Prefix vor der Antwort steht:

Bildschirmfoto 2021-05-17 um 14.59.13.png
 
Zuletzt bearbeitet:

Immanuel

Moderator
Mitarbeiter
24. August 2016
1.307
270
Kann es sein, dass du irgendwo für Debugzwecke ein echo reingesetzt hast? Was ist, wenn du den Vendor Ordner löschst und nochmal per composer neu installierst/updatest? Sicherheitshalber würde ich auch ../var/ cache leeren.
 
  • Gefällt mir
Reaktionen: janoschpelzer

janoschpelzer

Mitglied
7. August 2020
11
1
Hi, wow das war tatsächlich das Problem, es lag an diesem echo statement in der PrimaryKeyMapper Klasse:

Code:
   public function getEndpointId(int $type, int $hostId): ?string
    {
        $modelName = Model::getModelByType($type);

        echo $modelName;
        
        return null;
    }

Aber warum das zu dem Fehler führen könnte ist mir ein Rätsel...

Vielen Dank auf jeden Fall!
 
  • Gefällt mir
Reaktionen: Immanuel

Immanuel

Moderator
Mitarbeiter
24. August 2016
1.307
270
Die Ausgabe wurde aus irgendeinem Grund in den Response Body vor die eigentliche Payload gesetzt. Möglicherweise was mit Output Buffering? Ist nur spekuliert, müsste ich debuggen um etwas konkreteres sagen zu können.
 
Ähnliche Themen
Titel Forum Antworten Datum
Nach dem Update auf 5, object cache leeren oder nicht? Upgrade JTL-Shop4 auf JTL-Shop5 1
Neu Wawi 1.5.45 - Formulare - Rechnung - Email - Variantenwert ausgeben - wo liegt mein Fehler? O_O Druck-/ E-Mail-/ Exportvorlagen in JTL-Wawi 0
Neu Leider gibt es nach wie vor Fehler bei der Ausgabe von Adressetiketten JTL-Wawi - Fehler und Bugs 0
Neu Fehler bei Installation der Community Free Version Einrichtung JTL-Shop5 2
Neu Fehler beim Abgleich des Shops Shopware-Connector 0
Neu Google Search Console Fehler auf Kategorieseiten Allgemeine Fragen zu JTL-Shop 6
Neu FTP / Media Fehler JTL-Shop - Fehler und Bugs 0
Neu Fehler aus der Amazon Schnittstelle Amazon-Anbindung - Fehler und Bugs 1
Neu Zahlungsmodul Fehler nach Update 1.5.34.0 auf 1.5.45.1 - Keine Liste erlaubter TAN-Verfahren erhalten JTL-Wawi - Fehler und Bugs 0
Neu Fehler nach dem Template-Cache leeren JTL-Shop - Fehler und Bugs 2
Neu Fehler bei starten von JTL Client JTL-Wawi - Fehler und Bugs 5
Neu Fehler im Header auf meiner Seite Allgemeine Fragen zu JTL-Shop 2
Neu Google Core Web Vitals - CLS Fehler JTL-Shop - Ideen, Lob und Kritik 1
Neu Connector Fehler "getTaxClassId()" Shopify-Connector 2
Neu Fehler 403 und keine Bildübertragung WooCommerce-Connector 0
Neu Fehler beim Onlineshop-Abgleich PrestaShop-Connector 0
Neu Warenpost - Fehler: Hard validation error occured. JTL-ShippingLabels - Fehler und Bugs 0
Neu Rechnungen (Neu) - Export wirft Steuerfonfigurations-Fehler und exportiert Datensatz nicht JTL-Ameise - Fehler und Bugs 2
Shop Upgrade 4.06 auf 5.0.1 - Diverse Fehler ... Upgrade JTL-Shop4 auf JTL-Shop5 6
Neu Wie kann ich Fehler in der Suche umgehen/lösen? JTL-Shop - Fehler und Bugs 1
Fehler die es im 5er noch gibt und die Nerven Upgrade JTL-Shop4 auf JTL-Shop5 1
Neu JTL Connector mit WooCommerce Fehler: "Es wurde ein Absturz festgestellt" WooCommerce-Connector 0
Gelöst Fehlermeldung: Es ist ein Fehler im JTL-WMS Mobile Server aufgetreten. Sie können die Feedback Funktion nutzen, um den Fehler zu melden. Arbeitsabläufe in JTL-WMS / JTL-Packtisch+ 4
Neu Amazon Fehler 8105 raubt mir den Nerv – ungültige Werte, nur welche? Amazon-Lister - Fehler und Bugs 20
Neu Fehler bei Umlagerung zu FBA Lager - Name Field Must be no longer than 50 Bytes Amazon-Anbindung - Fehler und Bugs 4
Neu Fehler: Special page for link type 6 could not be found. Allgemeine Fragen zu JTL-Shop 2
Neu Fehler Verfügbarkeitsanzeige bei Vaterartikel JTL-Shop - Fehler und Bugs 1
Neu Fehler Newsletter JTL-Shop - Fehler und Bugs 4
Neu Webshopabgleich-Fehler abhängig von DSL-Anbieter: Das Zeitlimit für den Vorgang wurde erreicht. JTL-Wawi - Fehler und Bugs 0
Neu Error 500 Fehler direkt beim Wawi / Shopabgleich Betrieb / Pflege von JTL-Shop 0
Neu JTL FFN - immer wieder Fehler bei Übertragung JTL-Wawi - Fehler und Bugs 0
Neu ecodms - Fehler beim Backup User helfen Usern 0
Neu 1.5.44.0 - Fehler bei Emailvorlagenbearbeitung und Versand JTL-Wawi - Fehler und Bugs 1
Neu Fehler "Bearbeitungszeit" beim Import in eBay-Vorlagen JTL-Wawi - Fehler und Bugs 0
Neu Fehler: Exception: Allowed memory size Shopware-Connector 4
Gelöst Fehler bei Shopware 6 Connector Übertragung von Artikelbildern durch den Shopabgleich Shopware-Connector 7
Neu Fehler bei Designvorlagen Bearbeitung JTL-Wawi - Fehler und Bugs 1
Neu Hinzufügen Merkmale bricht stetig ab - ich finde den Fehler leider nicht JTL-Ameise - Ideen, Lob und Kritik 5
Neu Fehler bei Shop-Abgleich User helfen Usern - Fragen zu JTL-Wawi 1
Beantwortet Update Shop 5 - SQLSTATE Fehler - diverse Installation / Updates von JTL-Shop 1
Neu Diverse Fehler nach update auf 1.0.4.5 JTL-POS - Fehler und Bugs 0
Neu Fehler beim Erstellen eines Zertifikats für POS-Schnittstelle JTL-Wawi - Fehler und Bugs 1
Neu Vaterartikel für einen Shop erstellt alle melden Fehler Modified eCommerce-Connector 0
Neu Fehler in JTL Design Vorlage Dienstleistung, Jobs und Ähnliches 0
Frontend Aufruf aus dem Backend bei aktivem Wartungsmodus bringt Fehler Upgrade JTL-Shop4 auf JTL-Shop5 0
Neu Shipping Fehler: An item with the same key has already been added. JTL-ShippingLabels - Fehler und Bugs 1
Neu eBay Upload Fehler XML error eBay-Anbindung - Fehler und Bugs 0
Neu Fehler in Leitcodierung - Falsche PLZ User helfen Usern - Fragen zu JTL-Wawi 0
Installation erfolgreich, aber OnpageComposer gibt nur Fehler aus Einrichtung JTL-Shop5 2
Beantwortet Amazon Abgleich - Fehler [Gelöst] Amazon-Anbindung - Fehler und Bugs 1

Ähnliche Themen