Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-2576

Talend Exception in update product because of wrong API response code

    Details

      Description

      The PATCH method

      o/headless-commerce-admin-catalog/v1.0/products/by-externalReferenceCode/{externalReferenceCode}

      update the product but throw the following exception evaluating liferay response:

      Exception in component tLiferayOutput_3 (import_products)
      java.io.IOException: com.liferay.talend.runtime.client.exception.ResponseContentClientException: Unable to decode response content type []
       at com.liferay.talend.avro.RejectHandler.reject(RejectHandler.java:60)
       at com.liferay.talend.runtime.writer.LiferayWriter.doUpdate(LiferayWriter.java:134)
       at com.liferay.talend.runtime.writer.LiferayWriter.write(LiferayWriter.java:187)
       at lfrgs_liferay_sap_connector.import_products_0_1.import_products.tJava_24Process(import_products.java:18966)
       at lfrgs_liferay_sap_connector.import_products_0_1.import_products.tJava_20Process(import_products.java:12995)
       at lfrgs_liferay_sap_connector.import_products_0_1.import_products.tJava_19Process(import_products.java:12806)
       at lfrgs_liferay_sap_connector.import_products_0_1.import_products.tJava_4Process(import_products.java:10496)
       at lfrgs_liferay_sap_connector.import_products_0_1.import_products.tJava_18Process(import_products.java:9012)
       at lfrgs_liferay_sap_connector.import_products_0_1.import_products.tJava_13Process(import_products.java:8210)
       at lfrgs_liferay_sap_connector.import_products_0_1.import_products.tJava_5Process(import_products.java:5995)
       at lfrgs_liferay_sap_connector.import_products_0_1.import_products.tRunJob_8Process(import_products.java:5817)
       at lfrgs_liferay_sap_connector.import_products_0_1.import_products.tFileList_1Process(import_products.java:5466)
       at lfrgs_liferay_sap_connector.import_products_0_1.import_products.tJava_2Process(import_products.java:26386)
       at lfrgs_liferay_sap_connector.import_products_0_1.import_products.runJobInTOS(import_products.java:27877)
       at lfrgs_liferay_sap_connector.import_products_0_1.import_products.main(import_products.java:26609)
      Caused by: com.liferay.talend.runtime.client.exception.ResponseContentClientException: Unable to decode response content type []
       at com.liferay.talend.runtime.LiferaySourceOrSink._getResponseContentJsonObject(LiferaySourceOrSink.java:305)
       at com.liferay.talend.runtime.LiferaySourceOrSink.doPatchRequest(LiferaySourceOrSink.java:84)
       at com.liferay.talend.runtime.writer.LiferayWriter.doUpdate(LiferayWriter.java:129)
       ... 13 more
       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            giovanni.ciganotto Giovanni Ciganotto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2.1.0