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

Talend exception on Path method o/headless-commerce-admin-account/v1.0/accounts/by-externalReferenceCode/{external reference code}

    Details

      Description

      Executing the patch method o/headless-commerce-admin-account/v1.0/accounts/by-externalReferenceCode/{external reference code} with the tLiferayOutput component the acccount succesfully update but the talend component generate the following exception:

      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:127)
       at com.liferay.talend.runtime.writer.LiferayWriter.write(LiferayWriter.java:182)
       at sapconnector.importcustomers_0_1.importCustomers.tLiferayInput_1Process(importCustomers.java:4302)
       at sapconnector.importcustomers_0_1.importCustomers.tFileInputXML_2Process(importCustomers.java:2681)
       at sapconnector.importcustomers_0_1.importCustomers.tJava_4Process(importCustomers.java:7725)
       at sapconnector.importcustomers_0_1.importCustomers.tFileList_1Process(importCustomers.java:7370)
       at sapconnector.importcustomers_0_1.importCustomers.tJava_2Process(importCustomers.java:10178)
       at sapconnector.importcustomers_0_1.importCustomers.runJobInTOS(importCustomers.java:11466)
       at sapconnector.importcustomers_0_1.importCustomers.main(importCustomers.java:11045)
      Caused by: com.liferay.talend.runtime.client.exception.ResponseContentClientException: Unable to decode response content type []
       at com.liferay.talend.runtime.LiferaySourceOrSink.doPatchRequest(LiferaySourceOrSink.java:114)
       at com.liferay.talend.runtime.writer.LiferayWriter.doUpdate(LiferayWriter.java:122)
       ... 8 more

      The reason seams to be that talend component expects an account json but the api return nothing.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              igor.beslic Igor Beslic
              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