Get access

HTTP 422 · problem type

invalid-target

Invalid target.

A target selector is invalid: an unknown country code, a connection type other than fixed or mobile, or a connection type the operator does not have in that country.

What to do

Use ISO 3166-1 alpha-2 country codes in upper case (DE, PL, NO) and check GET /v1/geos/{country} for operators and connection types.

{
  "type": "https://linkspect.com/problems/invalid-target",
  "title": "Invalid target",
  "status": 422,
  "detail": "…",
  "instance": "/v1/checks"
}

All error types