allegro / allegro-api

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

Błąd przy pobieraniu obrazków #9275

Open PiotrPiotrP opened 2 weeks ago

PiotrPiotrP commented 2 weeks ago

POST https://api.allegro.pl/sale/product-offers/ requestBody={"productSet":[{"quantity":{"value":1},"product":{"id":"289ed545-1561-4378-95e2-2bbd4fb89005"}}],"category":{"id":"76024"},"attachments":[],"delivery":{"shippingRates":{"id":"94522535-978f-4712-94cd-ae1e0ff9764e"},"handlingTime":"PT24H"},"publication":{"marketplaces":{"base":{"id":"allegro-pl"},"additional":[{"id":"allegro-sk"},{"id":"allegro-cz"}]},"startingAt":"2024-06-26T17:20:02.000Z","status":"ACTIVE","republish":false},"additionalMarketplaces":{},"language":"pl-PL","validation":{"errors":[]},"afterSalesServices":{"impliedWarranty":{"id":"02778fe6-b201-4f7d-be2c-1ffc204e961b"},"returnPolicy":{"id":"f57bc1e4-a2d6-456c-a999-b6eccfad93a2"},"warranty":{"id":"eaad2d5b-9680-4181-9a4d-a19dd027b623"}},"discounts":{},"stock":{"available":1,"unit":"UNIT"},"parameters":[{"id":"11323","values":["Nowy"],"valuesIds":["11323_1"]}],"createdAt":{"date":{"year":2024,"month":6,"day":25},"time":{"hour":9,"minute":12,"second":6,"nano":0}},"updatedAt":{"date":{"year":2024,"month":6,"day":25},"time":{"hour":9,"minute":33,"second":2,"nano":166000000}},"name":"SHEIN STRÓJ KĄPIELOWY DWUCZĘŚCIOWY RÓŻOWY L ŁSA","payments":{"invoice":"VAT"},"sellingMode":{"format":"BUY_NOW","price":{"amount":59.99,"currency":"PLN"}},"location":{"city":"Skawina","countryCode":"PL","postCode":"32-050","province":"MALOPOLSKIE"},"images":["https://a.allegroimg.com/original/112d29/ad2dbc094231b1c24f920ab87bdc","https://a.allegroimg.com/original/113cd5/8727a60548cd8536b9335965e1d3","https://a.allegroimg.com/original/115064/5f7fb9d243b38deb522038d6d617","https://a.allegroimg.com/original/113a29/e6fdbb1a4a02a232b7dd34692990"],"description":{"sections":[{"items":[{"type":"TEXT","content":"\u003ch2\u003eSHEIN STRÓJ KĄPIELOWY DWUCZĘŚCIOWY RÓŻOWY\u003c/h2\u003e"}]},{"items":[{"type":"IMAGE","url":"https://a.allegroimg.com/original/112d29/ad2dbc094231b1c24f920ab87bdc"},{"type":"TEXT","content":"\u003ch2\u003eOpis Produktu\u003c/h2\u003e\u003cul\u003e\u003cli\u003e\u003cb\u003eMarka\u003c/b\u003e Shein\u003c/li\u003e\u003cli\u003e\u003cb\u003eKolor\u003c/b\u003e różowy \u003c/li\u003e\u003cli\u003e\u003cb\u003eSkład\u003c/b\u003e 95%Poliester \u0026amp; 5%Elastan\u003c/li\u003e\u003cli\u003e\u003cb\u003eMetka papierowa\u003c/b\u003e Brak\u003c/li\u003e\u003cli\u003e\u003cb\u003eMetka wewnętrzna\u003c/b\u003e \tTak\u003c/li\u003e\u003cli\u003e\u003cb\u003eRozmiar\u003c/b\u003e L\u003c/li\u003e\u003cli\u003e\u003cb\u003eCena katalogowa\u003c/b\u003e 57,99 zł\u003c/li\u003e\u003cli\u003e\u003cb\u003eUwagi\u003c/b\u003e lekko jaśniejszy odcień w rzeczywistości\u003c/li\u003e\u003c/ul\u003e"}]},{"items":[{"type":"IMAGE","url":"https://a.allegroimg.com/original/113cd5/8727a60548cd8536b9335965e1d3"},{"type":"IMAGE","url":"https://a.allegroimg.com/original/115064/5f7fb9d243b38deb522038d6d617"}]},{"items":[{"type":"IMAGE","url":"https://a.allegroimg.com/original/113a29/e6fdbb1a4a02a232b7dd34692990"}]}]},"external":{"id":"stocksell_448403538"},"tax":{}} exception=Niepoprawna odpowiedź z Allegro. Kod: 422. Błąd: OfferImagesNotAvailableException Nie można obecnie pobrać zdjęć oferty. Spróbuj ponownie. Unable to download the offer images at this time. Try again. OfferImagesNotAvailableException . Trace-id=[907a56d187659c6c].

Jaki dokładnie był powód tego błędu, kod, wiadomość z serwera?

AureliuszBrussy commented 2 weeks ago

To był chwilowy problem z dostępnością tych zdjęć na naszym serwerze. Aktualnie, gdy powtórzysz request - uda Ci się wystawić ofertę.

PiotrPiotrP commented 1 week ago

Dziękuję za odpowiedź

PiotrPiotrP commented 1 week ago

Wiadomość allegro: Niepoprawna odpowiedź z Allegro. Kod: 422. Błąd: DownloadError.ServiceUnavailable Downloading image from URL 'https://images.stocksell.io/images/e0/e0f3441e-b7a6-4a3a-ab96-172759ab7e41' failed. Server returned the following HTTP status code: 503 SERVICE_UNAVAILABLE and response body: '{"message":"upstream connect error or disconnect/reset before headers. reset reason: connection failure, transport failure reason: TLS error: 268435581:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED","code":"UF,UO","details":{"connectionId":8915183},"destination":{"host":"public-downloader","originalDst":null,"path":"/get?url=https%3A%2F%2Fimages.stocksell.io%2Fimages%2Fe0%2Fe0f3441e-b7a6-4a3a-ab96-172759ab7e41&max_size=26214400","serviceTag":null}} '. Downloading image from URL 'https://images.stocksell.io/images/e0/e0f3441e-b7a6-4a3a-ab96-172759ab7e41' failed. Server returned the following HTTP status code: 503 SERVICE_UNAVAILABLE and response body: '{"message":"upstream connect error or disconnect/reset before headers. reset reason: connection failure, transport failure reason: TLS error: 268435581:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED","code":"UF,UO","details":{"connectionId":8915183},"destination":{"host":"public-downloader","originalDst":null,"path":"/get?url=https%3A%2F%2Fimages.stocksell.io%2Fimages%2Fe0%2Fe0f3441e-b7a6-4a3a-ab96-172759ab7e41&max_size=26214400","serviceTag":null}} '. images. Trace-id=[35239ce546269314]. Teraz mamy taki błąd.

AureliuszBrussy commented 1 week ago

Wyjaśnialiśmy w wątku: #9300 - błąd już nie powinien występować, przepraszam za problemy.

PiotrPiotrP commented 1 week ago

Dziękuję

stale[bot] commented 4 days 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.