1

Issue with Mandatory x,y Fields in Logistics Services

(14/03/2025 22:21:12 отредактировано jisnajoby03)

Тема: Issue with Mandatory x,y Fields in Logistics Services

Hi Team,

I am experiencing an issue with the Logistics Services /api/import endpoint (calling the endpoint from Postman) while creating orders.
Specifically:

1) If I provide only the address (p.a) without x and y, no orders are created, and I receive the following error:
{
  "parse": {
    "ok": 1,
    "detail": {
      "errors_count": 0,
      "msgs": [],
      "errors_at": []
    },
    "error": 0
  },
  "detail": "Server error",
  "error": -2
}

2) If I provide x and y without the address, the order is created successfully, but the address field is blank (presumably because it fails to geocode).(Attached screenshot)

3) If I provide both the address (p.a) and coordinates (x, y), the order is created and the address is displayed correctly.

Our expectation is that providing only the address (p.a) would trigger geocoding and successfully create the order, or at least not require manual coordinates every time.

Could you please clarify whether this is intended behavior ? We are trying to create orders by passing an address alone (without specifying x and y) and have the system geocode the location automatically. Additionally, if coordinates are mandatory and can be provided without an address, why does the address column remain blank in the frontend(Logistics application) instead of automatically geocoding from the provided coordinates?

Thank you for your assistance, and please let me know if you require any further information

Best regards,
Jisna

  • Issue with Mandatory x,y Fields in Logistics Services
  • Issue with Mandatory x,y Fields in Logistics Services