Neu Deserialize-Object Fehler beim Abgleich

  • Ersteller des Themas Gelöschter Benutzer 67916
  • Erstellungsdatum

Gelöschter Benutzer 67916

Guest
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
 

Gelöschter Benutzer 67916

Guest
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  )
 

Gelöschter Benutzer 67916

Guest
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...
 

Gelöschter Benutzer 67916

Guest
Laut Wireshark schickt mein Connector tatsächlich diese fehlerhafte Antwort, das Problem liegt also nicht an der Wawi sondern am connector-core...
 
Zuletzt von einem Moderator bearbeitet:

Immanuel

Gesperrter Benutzer
24. August 2016
1.542
329
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.
 

Gelöschter Benutzer 67916

Guest
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 von einem Moderator bearbeitet:

Immanuel

Gesperrter Benutzer
24. August 2016
1.542
329
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.
 

Gelöschter Benutzer 67916

Guest
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

Gesperrter Benutzer
24. August 2016
1.542
329
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 Probleme mit dem Meta-Crawler und 403 Fehler beim Meta-Datenfeed Upload User helfen Usern 0
Neu Fehler bei Rückbuchung nach Storno JTL-Wawi - Fehler und Bugs 0
Fehler beim Datenbankupdate auf höhere Version JTL-Wawi 1.7 3
Neu GPSR Plugin Format Fehler Plugins für JTL-Shop 0
Neu Filter "Kategorie" resultiert in 404 Fehler - Shop v 5.4.0 JTL-Shop - Fehler und Bugs 0
Neu GRPS 1.0.4 Fehler Plugins für JTL-Shop 3
Fehler beim Abgleich nach Komplettabgleich JTL-Wawi 1.9 0
Neu Gratisgeschenke nicht verfügbar für Kundengruppe X - Warenkorb-Fehler JTL-Shop - Fehler und Bugs 0
GPRS Fehler beim Rendering der Attribute JTL-Wawi 1.9 8
Neu Fehler beim Bearbeiten der E-Mail-Vorlage "Bestellbestätigung" JTL-Shop - Fehler und Bugs 0
Fehler [DbeSClient]JTL-Wawi beim Abgleich mit JTL Shop5 JTL-Wawi 1.9 0
Neu Agbleich Fehler: Invalid module type: flow Shopware-Connector 4
Neu Update für Shopvote 1.1.0 führt zu SQL-Fehler Plugins für JTL-Shop 5
Version 1.9.6 X eine einzige Katastrophe.... Fehler und nervige Dinge JTL-Wawi 1.9 0
Filestream aktivieren, Fehler dbo.tFileAlt-Objekt JTL-Wawi 1.9 3
DHL Druck von Sperrgut triggert Fehler JTL-Wawi 1.9 0
Neu Fehler beim Abgleich mit Amazon durch Worker. Amazon-Anbindung - Fehler und Bugs 0
Neu Fehler bei Zahlungsarten für Kundengruppen einstellen JTL-Shop - Fehler und Bugs 1
Neu Fehler bei Zahlungsarten für Kundengruppen einstellen Allgemeine Fragen zu JTL-Shop 1
Neu Brutto Netto Preisanzeige Fehler bei eingetragener Umsatzsteuer Nummer UID JTL-Shop - Fehler und Bugs 1
Zahlungsmodul - Zahlung senden Fehler | JTL-WaWi 1.9.5.4 JTL-Wawi 1.9 5
Fehler bei Umlagerung zu FBA - Wawi 1.9.6.1 JTL-Wawi 1.9 21
Fehler bei Zahlungsart Einrichtung JTL-Shop5 2
Neu Fehler bei Update: Error "SQLSTATE[42S02]: Base table or view not found: 1146 Table 'web10_14.plugin_state_log' doesn't exist" in migration.... Installation / Updates von JTL-Shop 2
Update 1.9.6.1 weitere Verkaufskanäle fehler bei Abgleich JTL-Wawi 1.9 1
Neu "Noch X € und wir versenden kostenfrei" hat einen Fehler Betrieb / Pflege von JTL-Shop 0
Neu Worker Abgleich Fehler Onlineshop-Anbindung 1
Neu ++ Fehler beim update von 1.55.5.3 auf version 1.8.11.0 ++ Installation von JTL-Wawi 8
Neu Warenpost Fehler - gültige Telefonnummer an. Code: 1101 JTL-ShippingLabels - Fehler und Bugs 1
Neu Fehler 500 bei Versandmeldung an Amazon über JTL-eazyAuction Amazon-Anbindung - Fehler und Bugs 1
Neu Prestashop 8.1.7 neuster Connector Fehler beim einlesen von Bestellungen PrestaShop-Connector 2
paypal zahlunbgsabgleich bringt fehler JTL-Wawi 1.9 0
Neu SQL DB läuft mit Fehler voll und crasht Server JTL-Shop - Fehler und Bugs 1
Google Search Console - Crawling-Fehler: Robots.txt nicht erreichbar Einrichtung JTL-Shop5 6
Neu Fehler mit Zugriff auf die Datenbank (Exec Direct). Installation von JTL-Wawi 4
Fehler bei Rechnungsdatenserverice 2.0 JTL-Wawi 1.9 2
Neu Amazon Lister 2.0 Fehler 90248 Textilbereich Amazon-Lister - Fehler und Bugs 1
Neu Fehler bei Coupons bei Wechsel von 4 auf 5 Betrieb / Pflege von JTL-Shop 0
Neu Fehler 500 mit NOVAchild 5.3.1 in JTL-Shop 5.33 Templates für JTL-Shop 2
Neu JTL FEHLER! - JTL sendet falschen ISO-Code - Nordirland Versand mit DHL nicht mehr möglich JTL-ShippingLabels - Fehler und Bugs 5
In Diskussion Log bei Workflow Fehler JTL-Workflows - Ideen, Lob und Kritik 0
Neu Fehlermeldung: Fehler bei der Kommunikation mit dem eA-Server eBay-Anbindung - Fehler und Bugs 3
Neu Workflow Fehler User helfen Usern - Fragen zu JTL-Wawi 1
Fehler bei Update von 1.5.55.8 auf 1.7.15.6 ( Unbehandelte Ausnahme #7110FFD83C0136E0 vom Typ JTL.Database.SqlUpdater.UpdateException) JTL-Wawi 1.7 0
Neu Fehler bei Abgleich JTl Wawi mit JTL Shop User helfen Usern - Fragen zu JTL-Wawi 2
Fehler von der Kaufland API: productData.attributes.battery_disposal_instruction: No matching model found in additionalProperties to validate battery_ kaufland.de - Anbindung (SCX) 0
ERROR - Hersteller-Senden-Fehler PrestaShop-Connector 0
Neu Fehler bei Connector Shopify-Connector 4
Neu Fehler beim Zugrif aus die Datenbank (Exec Direct) JTL-Wawi - Fehler und Bugs 1
Neu Fehler im Statistik Modul User helfen Usern - Fragen zu JTL-Wawi 0

Ähnliche Themen