bymundi API

invalid_destino

Unknown destino · HTTP 422

What it means

A design stop's destinoId is not a live destino of this agency of level country, region or city. errors[] names the stop.

What to do

Find the destino with search_catalog (kind=destino), or send the stop with city only: it is linked by name, and the response says whether it matched.

Example

{
  "type": "https://api.bymundi.com/problems/invalid_destino",
  "title": "Unknown destino",
  "status": 422,
  "detail": "A design stop's `destinoId` is not a live destino of this agency of level country, region or city. `errors[]` names the stop.",
  "code": "invalid_destino",
  "requestId": "req_…"
}

How to read any error: Errors guide.