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.371
285
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.371
285
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.371
285
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
Neu JTL-SW6 Connector Error: The File for media object with id: [...] is not supported for creating thumbnails. Shopware-Connector 11
Nach dem Update auf 5, object cache leeren oder nicht? Upgrade JTL-Shop4 auf JTL-Shop5 1
Neu Fehler bei Bildübertragung Gambio-Connector 1
Neu Fehler bei Überschreibung der Artikelnummern Shopify-Connector 3
Neu JTL Fulfillment Artikeldaten senden und aktualisieren FEHLER " Product not found" Arbeitsabläufe in JTL-Wawi 3
Onpage Composer Rich Text Editor Fehler Einrichtung JTL-Shop5 1
Neu Fehler - weiße seite bei sprach wechsel auf englisch JTL-Shop - Fehler und Bugs 3
Beantwortet Sammelumlagerungen direkt Fehler nach Umbuchung JTL-WMS / JTL-Packtisch+ - Fehler und Bugs 1
Neu Fehler beim Update in Version 1.5.47.3 (1.5.47.0) JTL-Wawi - Fehler und Bugs 1
Neu 1.5.38.1 Rechnung Email Vorlage Variablen Fehler JTL-Wawi - Fehler und Bugs 2
Neu Bestandsabgleich funktioniert nicht - Fehler Code 99001 A value is required for the "fullfillment_center_id" Amazon-Anbindung - Fehler und Bugs 22
Neu Lieferschein Exportvorlagen Fehler Druck-/ E-Mail-/ Exportvorlagen in JTL-Wawi 0
Neu Variantebilder werden nicht angezeigt / SQL Fehler Shopware-Connector 0
Neu Fehler nach Server-Umzug JTL-Wawi - Fehler und Bugs 5
In Bearbeitung Barcodeschema-Fehler JTL-POS - Fehler und Bugs 4
Gelöst Fehler beim Druck der Pickliste Arbeitsabläufe in JTL-Wawi 2
Neu Amazon Variation Fehler Amazon-Anbindung - Ideen, Lob und Kritik 0
Neu Fehler beim Upload von Bildern mit OPC JTL-Shop - Fehler und Bugs 1
In Bearbeitung Was macht man, wenn beim Kassiervorgang ein Fehler passiert? Allgemeine Fragen zu JTL-POS 4
Neu JTL-Wawi startet nicht mehr. Es ist ein Fehler aufgetreten. Der Wert darf nicht NULL sein. JTL-Wawi - Fehler und Bugs 8
Neu nach Anmeldung kommt Fehler: Der Wert darf nicht NULL sein. Parametername: key JTL-Wawi - Fehler und Bugs 2
Neu Warenkorb - Variations -if-Abfrage - wo habe ich den Fehler gemacht?????????? User helfen Usern 1
Neu JTL-Wawi Fehler bei der Anmeldung JTL-Wawi - Fehler und Bugs 3
In Bearbeitung Fehler bei mehreren gleichen Produkten Allgemeine Fragen zu JTL-POS 3
Neu Fehler bei Übertragung (413) Request Entity Too Large + The EntityManger is closed Shopware-Connector 7
Neu Woo Connector connector.identify "Der Remoteserver hat einen Fehler zurückgegeben: (403) Unzulässig. WooCommerce-Connector 1
Neu Fehler im Update 1.5.46.1 auf 1.5.46.4 Installation von JTL-Wawi 11
In Bearbeitung Swissbit TSE , Fehler seit Update JTL-POS - Fehler und Bugs 23
Neu Shopabgleich Fehler "uncaught error call to a member function" Jtl Shop JTL-Wawi - Fehler und Bugs 1
JTL Shop 5: Warenkorb - Fehler bei Steuer B2B-Kunden? Ausblenden der Versandkosten, wenn 0,00 € möglich? Einrichtung JTL-Shop5 2
Neu Anbindung Script Fehler Amazon-Anbindung - Fehler und Bugs 0
Neu Update von 4.05 auf 4.06.17 Fehler - weiße Seite nach Bestellabschluss JTL-Shop - Fehler und Bugs 1
Neu Fehler nach Update auf Shop 5.0.3 Installation / Updates von JTL-Shop 1
Bilder in News und Header löschen - Fehler noch existent Einrichtung JTL-Shop5 3
Neu Fehler bei Wareneingang JTL-Wawi - Fehler und Bugs 1
Neu Emailbestätigung Shop - LocalizedEinzelpreis - Bedingung - Wo liegt der Fehler? Betrieb / Pflege von JTL-Shop 2
In Bearbeitung Es ist ein Fehler aufgetreten JTL-POS - Fehler und Bugs 2
Neu Fehler OPC Produktstream Kategorien JTL-Shop - Fehler und Bugs 1
Neu Fehler beim Abgleich WooCommerce-Connector 0
Neu Fehler bei der Suche in der Version 4.05 geht nicht JTL-Shop - Fehler und Bugs 2
Gelöst Wawi 1.5.45 - Formulare - Rechnung - Email - Variantenwert ausgeben - wo liegt mein Fehler? O_O Gelöste Themen in diesem Bereich 1
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 2
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

Ähnliche Themen