allegro / allegro-api

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

Error while creating shipment #7802

Closed TomasReznicek closed 1 year ago

TomasReznicek commented 1 year ago

Występuje problem:

:beetle: Opis / Description Hello, I am unable to create shipment via api shipment-management/shipments/create-commands. The POST part of creation works, but when I check the creation status using GET https://api.allegro.pl/shipment-management/shipments/create-commands/ddf296ae-2dae-4601-9878-ea825e8cd254 I receive error:

{"commandId":"ddf296ae-2dae-4601-9878-ea825e8cd254","status":"ERROR","errors":[{"code":"BAD_REQUEST","message":"Opennet API cannot process request","details":"Opennet API cannot process request","path":null,"userMessage":"Przewoźnik odpowiedział nieznanym błędem [1059]"}],"shipmentId":null}

Lukasz-Zurek commented 1 year ago

As I have checked it closely - there is no possibility to send a package from CZ for this delivery method: 0b9bed2c-0bc1-4e1f-9694-29bb39ebb483 (Allegro One Box, One Kurier). It is dedicated for "allegro-pl" marketplace.

We have marked all of the delivery methods dedicated for CZ:

        "marketplaces": [
            "allegro-cz"
        ],

You can check them by using GET /shipment-management/delivery-services.

If you want to send a package from CZ to PL, you will have to use one of these delivery methods, which we have described here. So it's gonna be UPS or DHL Courier - delivery from Czechia.

TomasReznicek commented 1 year ago

Hello,

I've changed the sender address to PL one, but now I have different error: commandId: 5387b3b1-9c12-44c2-8d8e-14b622b86d29 {"errors":[{"code":"ServiceTimeoutException","message":"An error occurred","details":null,"path":null,"userMessage":"Query response time exceeded. Try again."}]} Can you please explain me this error?

Lukasz-Zurek commented 1 year ago

@TomasReznicek The buyer has selected the pickup point, but you did not provide it in the request, in the receiver.point field. There is no possibility to ship this package door to door in this situation.

TomasReznicek commented 1 year ago

@Lukasz-Zurek same error with point defined. commandId eeb57498-64f6-4e2c-98af-c485f6cd9d99

Lukasz-Zurek commented 1 year ago

@TomasReznicek I don't see any error with commandID: eeb57498-64f6-4e2c-98af-c485f6cd9d99. Are you sure about that commandId?

TomasReznicek commented 1 year ago

@Lukasz-Zurek also 7050da75-7dc6-4091-9f61-e32497480f91

{"errors":[{"code":"ServiceTimeoutException","message":"An error occurred","details":null,"path":null,"userMessage":"Query response time exceeded. Try again."}]}

Lukasz-Zurek commented 1 year ago

@TomasReznicek Ok, thank you. I have reported this to another department.

Lukasz-Zurek commented 1 year ago

@TomasReznicek This was an error on our side. We have already fixed it.

We are sorry for the inconvenience.

stale[bot] commented 1 year 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.