allegro / allegro-api

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

chyby v produktech API #9550

Open Mishk73 opened 1 month ago

Mishk73 commented 1 month ago

Występuje problem:

:beetle: v púříloze je scan obrazovky s chybami produktu, prosím o info proč to je

PrzemyslawLukanowski commented 1 month ago

Hello, as in the error message - there are some missing required parameters that need to be provided when you list an offer.

Mishk73 commented 1 month ago

Sorry, i must have sent the wrong scan. I am sending the correct one in the attachment.

Přeji příjemný den, Michal Kubica


Chopper-horse s.r.o.

Třebízského 1481, 738 01 Frýdek-Místek

+420 777 113 567 :: @.***

www.chopperhorse.cz :: www.bikersmode.cz :: www.westernmoda.cz :: www.botykmm.cz :: www chopperstore.cz :: www.westerntrade.cz

logo_podpisemail

From: PrzemyslawLukanowski @.*** Sent: Wednesday, July 31, 2024 7:06 AM To: allegro/allegro-api Cc: Mishk73; Author Subject: Re: [allegro/allegro-api] chyby v produktech API (Issue #9550)

Hello, as in the error message - there are some missing required parameters that need to be provided when you list an offer.

— Reply to this email directly, view it on GitHub https://github.com/allegro/allegro-api/issues/9550#issuecomment-2259661166 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BKGQ4FBI3BWBWAPQSXZCF7TZPBWDNAVCNFSM6AAAAABLWLFI7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJZGY3DCMJWGY . You are receiving this because you authored the thread. https://github.com/notifications/beacon/BKGQ4FGV5CZHPUQBX4XQJNDZPBWDNA5CNFSM6AAAAABLWLFI7GWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUGV6YW4.gif Message ID: @.***>

-- Tento e-mail byl antivirovým softwarem AVG zkontrolován na viry. www.avg.com

PrzemyslawLukanowski commented 1 month ago

Sorry, but it seems the image is still not uploaded, I can't see it.

Zrzut ekranu 2024-07-31 o 11 03 27
Mishk73 commented 1 month ago

scan2

PrzemyslawLukanowski commented 1 month ago

Could you please send me a sample trace-id associated with this failed operation? I'm asking cause this error message on the screenshot does not come directly from our API. If a given product already exists in our database, we always return the ID of such product, thanks to which integration knows which product can be used to associate with the offer.

Mishk73 commented 1 month ago

these products were on allegro.pl. we canceled the account and created a new one on allegro.cz. could it be that in history these products are somehow stored and connected? I don't know where to find it, I have to write to the eshop system administrator

PrzemyslawLukanowski commented 1 month ago

If you created these products before, that may be the case, but please send us some sample trace-ids once you got it.

Mishk73 commented 1 month ago

admin sent me this, can you translate?

Dobrý den, trace-id: a3f01c3d3a267aa5

V dokumentaci vidím, že tam přidali metadata a měli by tam posílat i vazbu na existující produkt (jak píše i ve zprávě Vám), ale neposílají to tam.

Pošlete jim taky, že nám vrátili toto bez vazby na konkrétní produkt: {"errors":[{"code":"ProductDuplicate","message":"An error has occurred","details":null,"path":null,"userMessage":"Produkt ji\u017e existuje. Kontaktujte autora aplikace.","metadata":{}}]}

PrzemyslawLukanowski commented 1 month ago

Thank you. You can forward the following info to the admin - we added a metadata field, but right now it applies to the /sale/product-offers resource. Your trace-id is connected with the /sale/product-proposals operations and in this case, when we found a duplicate, we return information about the product ID in the Location header:

Zrzut ekranu 2024-07-31 o 13 10 27
Mishk73 commented 1 month ago

dzień dobry, naprawiliśmy oryginalne błędy, ale są też inne, które prawdopodobnie są związane z oryginalnym polskim profilem, gdzie opis błędu brzmi: „Allegro podaje, że produkt już istnieje jako 3f47bc5c-61ab-44e0-9809-31ccd827f024, ale ten jest już sparowany z produktem 75800"

czy możemy to rozwiązać?

Przesyłam oświadczenie od naszego administratora "Tady je komplikace v tom, že Allegro nás odkáže na produkt z Allegra, který už je spárovaný s jiným produktem z eshopu. Pokud bychom jej i přesto spárovali, tak by Vám Allegro psalo, že máte duplicitní nabídky a hrozilo by Vám pozastavením prodeje. Proto to zahlásíme jako chybu a produkt nespárujeme."

AureliuszBrussy commented 1 month ago

Jest możliwe wystawienie do 5 ofert tego samego produktu i to nie grozi zablokowaniem. Zwrócimy błąd jeżeli ta liczba zostanie przekroczona. Niestety, ale myślę, że te ewentualne ograniczenia leżą po stronie charakterystyki integracji, z jakiej korzystasz i to po stronie supportu aplikacji powinno to zostać wyjaśnione.

stale[bot] commented 1 month ago

W tym wątku nie pojawiła się żadna nowa odpowiedź w ciągu 7 dni, dlatego automatycznie oznaczamy go jako przeterminowany. Jeśli w ciągu kolejnych 7 dni nie pojawi się żadna odpowiedź, wątek zostanie zamknięty. Dziękujemy za zaangażowanie w dyskusję i zachęcamy Cię do wypełnienia ankiety dotyczącej naszego wsparcia na forum.


There was no new reply in this thread within 7 days, therefore, we automatically marked it as expired. If no response is received within the next 7 days, this thread will be closed. Thank you for engaging in the discussion. We encourage you to complete our forum support survey.