allegro / allegro-api

Issue tracker and wiki for Allegro REST API
https://developer.allegro.pl/
217 stars 39 forks source link

Error when updating offer #1929

Closed nikosv closed 5 years ago

nikosv commented 5 years ago

Występuje problem:

:beetle: Opis

When updating offers, on some of the offers we get the following validation error: ERR_NOT_EXISTING_VALUE_IN_ATTRIBUTE

An example request that produces that error is below:

{
  "name": "Renault  Scenic Energy (2015)",
  "category": {
    "id": "253871"
  },
  "parameters": [
    {
      "id": "11323",
      "valuesIds": [
        "11323_2"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "1",
      "values": [
        2015
      ],
      "rangeValue": null
    },
    {
      "id": "4",
      "values": [
        132532
      ],
      "rangeValue": null
    },
    {
      "id": "5",
      "values": [
        1598
      ],
      "rangeValue": null
    },
    {
      "id": "14",
      "values": [
        130
      ],
      "rangeValue": null
    },
    {
      "id": "16",
      "valuesIds": [
        "16_2"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "13",
      "valuesIds": [
        "13_11"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "3",
      "valuesIds": [
        "3_7"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "199",
      "valuesIds": [
        "199_2"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "12",
      "valuesIds": [
        "12_3"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128789",
      "values": [
        5
      ],
      "rangeValue": null
    },
    {
      "id": "128791",
      "valuesIds": [
        "128791_4"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "215898",
      "values": [
        "VF1JZ030H54591086"
      ],
      "rangeValue": null
    },
    {
      "id": "128794",
      "valuesIds": [
        "128794_1",
        "128794_2",
        "128794_2097152",
        "128794_8",
        "128794_8"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128795",
      "valuesIds": [
        "128795_256",
        "128795_32",
        "128795_2",
        "128795_16"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128796",
      "valuesIds": [
        "128796_16384",
        "128796_32768",
        "128796_512",
        "128796_32",
        "128796_2048"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128793",
      "valuesIds": [
        "128793_8192",
        "128793_64",
        "128793_524288",
        "128793_2097152",
        "128793_1",
        "128793_4",
        "128793_2048",
        "128793_16384"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "211066",
      "valuesIds": [
        "211066_246570"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "215882",
      "valuesIds": [
        "215882_272070"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "178",
      "valuesIds": [
        "178_1"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128790",
      "valuesIds": [
        "128790_2"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128788",
      "valuesIds": [
        "128788_24"
      ],
      "values": [],
      "rangeValue": null
    }
  ],
  "description": {
    "sections": [
      {
        "items": [
          {
            "type": "TEXT",
            "content": "<p>Wyr\\u00f3\\u017cnij si\\u0119 kolorem swojego auta, b\\u0105d\\u017a bardziej oryginalny od swoich s\\u0105siad\\u00f3w \\ud83d\\ude0a. Auto idealne dla Ciebie i dla Twojej rodziny. \\u015awietne rodzinne auto, komfort i wygoda dla wszystkich pasa\\u017cer\\u00f3w niezale\\u017cnie od miejsca. Samoch\\u00f3d z odpowiednio dopasowan\\u0105 moc\\u0105, na pewno nie zabraknie Ci jej podczas wyprzedzania albo szybkiego ruszania. Zobacz jakie ciekawe opcje posiada wybrane przez Ciebie auto: czujniki parkowania, felgi aluminiowe, turbo, przyciski do sterowania w kierownicy, system Eco Start Stop, gniazdo USB, komputer podr\\u00f3\\u017cy, system mocowania fotelik\\u00f3w Isofix, system antypo\\u015blizgowy (ASR), elektryczny hamulec postojowy. Wybrane auto przez Ciebie nie wymaga kompletnie \\u017cadnego wk\\u0142adu finansowego. Auto jest bezwypadkowe i rzeczywistym przebiegiem. Do tego samochodu otrzymujesz raport 180+, kt\\u00f3ry na pi\\u015bmie informuje o stanie technicznym pojazdu wraz z kompletem informacji. Raport zawiera r\\u00f3wnie\\u017c informacje o kompleksowej inspekcji tego auta dokonanej przez naszych mechanik\\u00f3w. Kupuj\\u0105c konkretnie ten samoch\\u00f3d przys\\u0142uguje Ci prawo do 7 dniowego zwrotu bez podania przyczyny. W Spotawheel sprzedajemy samochody u\\u017cywane tyle, \\u017ce w zupe\\u0142nie inny spos\\u00f3b \\u2013 \\u0142atwiejszy, wygodniejszy i absolutnie przejrzysty. Wierzymy w nasz proces i naszych pracownik\\u00f3w, kt\\u00f3rzy zrobi\\u0105 wszystko, aby znale\\u017a\\u0107 dla Ciebie najlepsze samochody na rynku!<\\/p>"
          }
        ]
      },
      {
        "items": [
          {
            "type": "IMAGE",
            "url": "https:\\/\\/e.allegroimg.com\\/original\\/039ed4\\/aad0c83c45f4b0e95ac720df0dca"
          },
          {
            "type": "IMAGE",
            "url": "https:\\/\\/a.allegroimg.com\\/original\\/1198f9\\/c9dae5b444f7874c98cbb4079cd1"
          }
        ]
      }
    ]
  },
  "sellingMode": {
    "format": "ADVERTISEMENT",
    "price": {
      "amount": 43900,
      "currency": "PLN"
    },
    "startingPrice": null,
    "minimalPrice": null
  },
  "payments": {
    "invoice": "VAT"
  },
  "location": {
    "countryCode": "PL",
    "province": "MAZOWIECKIE",
    "city": "Warszawa",
    "postCode": "00-057"
  },
  "external": {
    "id": 111
  },
  "contact": {
    "id": "4aa7d20a-0534-4e98-86f8-3584ba73785e"
  },
  "images": [
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/1196e7\\/25431f7d48f2b54b452a12064403"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11feb9\\/27f0e5ba4a96aaa5e89e13b0187a"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11798a\\/d3125d28499bafd776482b1ad643"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/111495\\/a4ddb0c94c11b237eaf0cc21fea8"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11c3c7\\/7c05b8ae4879b199938e59cb41e7"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/1156f7\\/543c44f04d55b13eb46fb24eea81"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11940c\\/81798f194bdaa17b55d73c150b06"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11cc4f\\/96cf90924f95ac0c7dadd1751c9c"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/1171d5\\/3fb7dce34e5da172c9b6579e3d40"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/119aa5\\/b5ee551a4e1495d2ea8967217702"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/113a3a\\/d06135134127a985b53f225e7013"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/1137b7\\/b7f59953468088ed047959004e00"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/119561\\/576a05b447aa9578bb90c182c208"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11405e\\/34922fb44fa0b7edf75f1e71e773"
    },
    {
      "url": "https:\\/\\/e.allegroimg.com\\/original\\/039ed4\\/aad0c83c45f4b0e95ac720df0dca"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/1198f9\\/c9dae5b444f7874c98cbb4079cd1"
    }
  ],
  "id": "8268927982"
}
PrzemyslawLukanowski commented 5 years ago

I verified your data - API didn't return any errors. Does the problem still occurs?

nikosv commented 5 years ago

Yes we are still getting errors on update. The specific error is for car with id 8268927982.

But we getting other strange errors also.

For example in car with id 8268875049:

{"errors":[{"code":"VALIDATION_ERROR","message":"You cannot change category after 12 hours from publication.","details":"","path":"","userMessage":"You cannot change category after 12 hours from publication."}]}

Even though we don't try to change category as seen in the request:

{
  "name": "Kia  Ceed  (2018)",
  "category": {
    "id": "253871"
  },
  "parameters": [
    {
      "id": "11323",
      "valuesIds": [
        "11323_2"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "1",
      "values": [
        2018
      ],
      "rangeValue": null
    },
    {
      "id": "4",
      "values": [
        23724
      ],
      "rangeValue": null
    },
    {
      "id": "5",
      "values": [
        1591
      ],
      "rangeValue": null
    },
    {
      "id": "14",
      "values": [
        135
      ],
      "rangeValue": null
    },
    {
      "id": "16",
      "valuesIds": [
        "16_1"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "13",
      "valuesIds": [
        "13_3"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "3",
      "valuesIds": [
        "3_10"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "199",
      "valuesIds": [
        "199_1"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "12",
      "valuesIds": [
        "12_3"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128789",
      "values": [
        5
      ],
      "rangeValue": null
    },
    {
      "id": "128791",
      "valuesIds": [
        "128791_4"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "215898",
      "values": [
        "U5YHM813GJL262241"
      ],
      "rangeValue": null
    },
    {
      "id": "128794",
      "valuesIds": [
        "128794_1",
        "128794_2",
        "128794_2097152",
        "128794_8",
        "128794_1048576"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128795",
      "valuesIds": [
        "128795_256",
        "128795_64",
        "128795_32",
        "128795_16"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128796",
      "valuesIds": [
        "128796_16384",
        "128796_32768",
        "128796_256",
        "128796_32",
        "128796_64",
        "128796_2048"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128793",
      "valuesIds": [
        "128793_8192",
        "128793_524288",
        "128793_2097152",
        "128793_1",
        "128793_4",
        "128793_2048",
        "128793_16384",
        "128793_1024"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "211066",
      "valuesIds": [
        "211066_246570"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "215882",
      "valuesIds": [
        "215882_272070"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "178",
      "valuesIds": [
        "178_1"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128790",
      "valuesIds": [
        "128790_2"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128788",
      "valuesIds": [
        "128788_24"
      ],
      "values": [],
      "rangeValue": null
    }
  ],
  "description": {
    "sections": [
      {
        "items": [
          {
            "type": "TEXT",
            "content": "<p>Auto z bardzo niskim i rzeczywistym przebiegiem, zadbane, praktycznie brak \\u015blad\\u00f3w u\\u017cytkowania przez poprzedniego w\\u0142a\\u015bciciela. Najbardziej funkcjonalny kolor Twojego samochodu. Kolor auta, kt\\u00f3ry zawsze pozostanie czysty. Wypad za miasto na \\u017cagle, snowboard b\\u0105d\\u017a nurkowanie nie stanowi dla Ciebie problemu. Auto z odpowiednio dopasowan\\u0105 moc\\u0105, na pewno nie zabraknie Ci jej podczas wyprzedzania albo szybkiego ruszania. Automatyczna skrzynia bieg\\u00f3w to prawdziwy komfort. Idealna w trasie oraz perfekcyjna w mie\\u015bcie. Nawet do 5 lat gwarancji. Zobacz jakie ciekawe opcje posiada wybrane przez Ciebie auto: kamera cofania, czujniki parkowania (ty\\u0142), felgi aluminiowe, gniazdo USB, podgrzewane fotele, system mocowania fotelik\\u00f3w Isofix, kierownica wielofunkcyjna, komputer podr\\u00f3\\u017cy, nawigacja GPS, \\u0142opatki do zmiany bieg\\u00f3w w kierownicy. Samoch\\u00f3d nie wymaga \\u017cadnego wk\\u0142adu finansowego. Bezwypadkowe i z rzeczywistym przebiegiem. Auto posiada raport 180+, informuj\\u0105cy w szczeg\\u00f3\\u0142owy spos\\u00f3b o faktycznym stanie pojazdu. Prawo do 7 dniowego zwrotu bez podania przyczyny.<\\/p>"
          }
        ]
      },
      {
        "items": [
          {
            "type": "IMAGE",
            "url": "https:\\/\\/e.allegroimg.com\\/original\\/039ed4\\/aad0c83c45f4b0e95ac720df0dca"
          },
          {
            "type": "IMAGE",
            "url": "https:\\/\\/a.allegroimg.com\\/original\\/1198f9\\/c9dae5b444f7874c98cbb4079cd1"
          }
        ]
      }
    ]
  },
  "sellingMode": {
    "format": "ADVERTISEMENT",
    "price": {
      "amount": 69900,
      "currency": "PLN"
    },
    "startingPrice": null,
    "minimalPrice": null
  },
  "payments": {
    "invoice": "VAT"
  },
  "location": {
    "countryCode": "PL",
    "province": "MAZOWIECKIE",
    "city": "Warszawa",
    "postCode": "00-057"
  },
  "external": {
    "id": 138
  },
  "contact": {
    "id": "4aa7d20a-0534-4e98-86f8-3584ba73785e"
  },
  "images": [
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/118dd4\\/336c52774c2a94cb0d18fa921a1d"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/1108d1\\/e6df0c1e434fa2a50931e26e9ec5"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11c54c\\/fb72ee8046eeaa2e1e2e319f2445"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/113fcf\\/cc456e37427198a0f35803a15cc1"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/114bc2\\/2e61f1f04a4fae1ffc6a750180a6"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/110ab0\\/3eb473f049cd9236fa2f250646c1"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/115df1\\/b0458c584172b13737b92457de4e"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11b4b7\\/adef0725431e9ee2908a83a0493f"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11b15f\\/09075baf4708a482d49ee6529041"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11c499\\/ba4f083c46a5a33c58508be2f1e4"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11f776\\/d6266158410f8d48c5e8ce36cb32"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/118512\\/e46f99c84fa59d2f4505d8e9db8b"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11bc9f\\/233a9396439a940689e0aae1eb4c"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/1161e3\\/f63c7c4a4f21b43a1b68f682e782"
    },
    {
      "url": "https:\\/\\/e.allegroimg.com\\/original\\/039ed4\\/aad0c83c45f4b0e95ac720df0dca"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/1198f9\\/c9dae5b444f7874c98cbb4079cd1"
    }
  ],
  "id": "8268875049"
}

We also get the following error for id

{"errors":[{"code":"VALIDATION_ERROR","message":"Package is unassigned to offer or category does not match to the package.","details":"","path":"","userMessage":"Package is unassigned to offer or category does not match to the package."}]}

Request sent:

{
  "name": "Kia  Rio M (2017)",
  "category": {
    "id": "253871"
  },
  "parameters": [
    {
      "id": "11323",
      "valuesIds": [
        "11323_2"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "1",
      "values": [
        2017
      ],
      "rangeValue": null
    },
    {
      "id": "4",
      "values": [
        35930
      ],
      "rangeValue": null
    },
    {
      "id": "5",
      "values": [
        1368
      ],
      "rangeValue": null
    },
    {
      "id": "14",
      "values": [
        100
      ],
      "rangeValue": null
    },
    {
      "id": "16",
      "valuesIds": [
        "16_1"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "13",
      "valuesIds": [
        "13_1"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "3",
      "valuesIds": [
        "3_7"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "199",
      "valuesIds": [
        "199_2"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "12",
      "valuesIds": [
        "12_3"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128789",
      "values": [
        5
      ],
      "rangeValue": null
    },
    {
      "id": "128791",
      "valuesIds": [
        "128791_4"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "215898",
      "values": [
        "KNADB514AH6069342"
      ],
      "rangeValue": null
    },
    {
      "id": "128794",
      "valuesIds": [
        "128794_1",
        "128794_2",
        "128794_2097152",
        "128794_8",
        "128794_1048576"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128795",
      "valuesIds": [
        "128795_256",
        "128795_1",
        "128795_32",
        "128795_16"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128796",
      "valuesIds": [
        "128796_16384",
        "128796_32768",
        "128796_512",
        "128796_32"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128793",
      "valuesIds": [
        "128793_8192",
        "128793_524288",
        "128793_2097152",
        "128793_1",
        "128793_4",
        "128793_2048",
        "128793_16384"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "211066",
      "valuesIds": [
        "211066_246562"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "215882",
      "valuesIds": [
        "215882_272070"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "178",
      "valuesIds": [
        "178_1"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128790",
      "valuesIds": [
        "128790_2"
      ],
      "values": [],
      "rangeValue": null
    },
    {
      "id": "128788",
      "valuesIds": [
        "128788_24"
      ],
      "values": [],
      "rangeValue": null
    }
  ],
  "description": {
    "sections": [
      {
        "items": [
          {
            "type": "TEXT",
            "content": "<p>Auto z bardzo niskim i rzeczywistym przebiegiem, zadbane, praktycznie brak \\u015blad\\u00f3w u\\u017cytkowania przez poprzedniego w\\u0142a\\u015bciciela. Wyr\\u00f3\\u017cnij si\\u0119 kolorem swojego auta, b\\u0105d\\u017a bardziej oryginalny od swoich s\\u0105siad\\u00f3w \\ud83d\\ude0a. Wszechstronne auto z du\\u017cymi mo\\u017cliwo\\u015bciami. Idealne do miasta, ale \\u015bwietnie nadaj\\u0105ce si\\u0119 r\\u00f3wnie\\u017c w tras\\u0119. Z rodzin\\u0105 b\\u0105d\\u017a solo. Wyb\\u00f3r zale\\u017cy tylko od Ciebie. Auto z odpowiednio dopasowan\\u0105 moc\\u0105, na pewno nie zabraknie Ci jej podczas wyprzedzania albo szybkiego ruszania. Zobacz jakie ciekawe opcje posiada wybrane przez Ciebie auto: bluetooth, kierownica wielofunkcyjna, system Eco Start Stop, przyciski do sterowania w kierownicy, system mocowania fotelik\\u00f3w Isofix, gniazdo USB, komputer podr\\u00f3\\u017cy, system antypo\\u015blizgowy (ASR), system wspomagania nag\\u0142ego hamowania (BAS), poduszki powietrzne kierowcy i pasa\\u017cera. Wybrane auto przez Ciebie nie wymaga kompletnie \\u017cadnego wk\\u0142adu finansowego. Auto jest bezwypadkowe i rzeczywistym przebiegiem. Do tego samochodu otrzymujesz raport 180+, kt\\u00f3ry na pi\\u015bmie informuje o stanie technicznym pojazdu wraz z kompletem informacji. Raport zawiera r\\u00f3wnie\\u017c informacje o kompleksowej inspekcji tego auta dokonanej przez naszych mechanik\\u00f3w. Kupuj\\u0105c konkretnie ten samoch\\u00f3d przys\\u0142uguje Ci prawo do 7 dniowego zwrotu bez podania przyczyny. W Spotawheel sprzedajemy samochody u\\u017cywane tyle, \\u017ce w zupe\\u0142nie inny spos\\u00f3b \\u2013 \\u0142atwiejszy, wygodniejszy i absolutnie przejrzysty. Wierzymy w nasz proces i naszych pracownik\\u00f3w, kt\\u00f3rzy zrobi\\u0105 wszystko, aby znale\\u017a\\u0107 dla Ciebie najlepsze samochody na rynku!<\\/p>"
          }
        ]
      },
      {
        "items": [
          {
            "type": "IMAGE",
            "url": "https:\\/\\/e.allegroimg.com\\/original\\/039ed4\\/aad0c83c45f4b0e95ac720df0dca"
          },
          {
            "type": "IMAGE",
            "url": "https:\\/\\/a.allegroimg.com\\/original\\/1198f9\\/c9dae5b444f7874c98cbb4079cd1"
          }
        ]
      }
    ]
  },
  "sellingMode": {
    "format": "ADVERTISEMENT",
    "price": {
      "amount": 42900,
      "currency": "PLN"
    },
    "startingPrice": null,
    "minimalPrice": null
  },
  "payments": {
    "invoice": "VAT"
  },
  "location": {
    "countryCode": "PL",
    "province": "MAZOWIECKIE",
    "city": "Warszawa",
    "postCode": "00-057"
  },
  "external": {
    "id": 79
  },
  "contact": {
    "id": "4aa7d20a-0534-4e98-86f8-3584ba73785e"
  },
  "images": [
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/115476\\/aba3c5f445cc80bd9b7d051b2222"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11c56d\\/92eca5e642989804385684c4015c"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11844f\\/4eac162b43779a56492724c2edca"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11aa80\\/1f7e9e5e49e4afaeb5d664303af8"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11ffa1\\/b2ec930944ae831f35692b140088"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/118881\\/e416a5b247448d2032f3590261db"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/1132e2\\/378501624b729a720fb9ee595936"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/1140f3\\/9b31310443e0ba95b35f7d5b55b4"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/118a5e\\/7ce341f94969801e3dddff30e13f"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/113415\\/7d9da5d74e15b54e8129b41f0adb"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11abd5\\/e7df299047249479839beba42035"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/117ad6\\/21890ec54c5289ce48aa1570ecf4"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11108e\\/74759bf14176adc09e2b8bbee55b"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/11607e\\/3618f9cc43c7b3d2d46ebed023d7"
    },
    {
      "url": "https:\\/\\/e.allegroimg.com\\/original\\/039ed4\\/aad0c83c45f4b0e95ac720df0dca"
    },
    {
      "url": "https:\\/\\/a.allegroimg.com\\/original\\/1198f9\\/c9dae5b444f7874c98cbb4079cd1"
    }
  ],
  "id": "8254885229"
}
PrzemyslawLukanowski commented 5 years ago

Offer 8268927982 - In parameter with id "128794" You’re trying to provide the same value twice:

{
  "id": "128794",
      "valuesIds": [
        "128794_1",
        "128794_2",
        "128794_2097152",
        "128794_8" <--
        "128794_8" <--
      ],
      "values": [],
      "rangeValue": null
    }

Offer 8268875049 - category id for this offer is 259921, You’re trying to change it to 253871.