allegro / allegro-api

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

question about the returned errors #10295

Open cammon0212 opened 1 week ago

cammon0212 commented 1 week ago

"commandId":"cb144f86-09dd-4350-b4c9-22068e1d1b97" It returns ”Building number is required“in ALLEGRO_GET_ASSIGN_RESULT . What is the reason for this? Have there been any changes in Allegro recently? 70 orders are stuck due to this issue. Please handle it as soon as possible. Order Example: "commandId":"67e27755-78f8-4618-ba4c-8e55f1af76dc" "commandId":"044fe7bc-140d-4d64-8bad-464071bba0a3" "commandId":"dacb9a67-651e-4fe4-b840-db2aa7133e7c"

PrzemyslawLukanowski commented 1 week ago

In this case, the error is returned correctly, because you provided only the sender street, without the building number - "Swiecko" (which is a city by the way, and in the city field you provided "Poland").

cammon0212 commented 1 week ago

20241115-210907 Our address has not changed Is this related to our transmission of streetnumbers?

cammon0212 commented 1 week ago

our system address is correct, but why goes to the order parcel information, it's wrong, "43B" after Swiecko is missing. I think it's your internal problem

PrzemyslawLukanowski commented 1 week ago

Yes, the screenshot comes from the website, but in the API you are sending:

        "sender": {
            "name": "PL Swiecko DC",
            "company": "XIAOMI",
            "street": "Swiecko",    <- street number is missing
            "streetNumber": null,
            "postalCode": "69-100",
            "city": "Poland",
            "state": null,
            "countryCode": "PL",
            "email": "xxx",
            "phone": "xxx",
            "point": null
        },
cammon0212 commented 1 week ago

If we pass streetNumber containing '43B', can we solve it?

PrzemyslawLukanowski commented 1 week ago

Yes.

PrzemyslawLukanowski commented 1 week ago

But it's better to add a street number in the street field, as you can see in our documentation:

Zrzut ekranu 2024-11-15 o 14 48 41

streetNumber field will be removed soon.