Skip to content

query_too_short

HTTP 422query_too_shortQuery too short

The search string has no word of 3 or more characters (after removing legal forms and stop words).

Common causes

  • q=d.o.o.
  • q=ab

What to do

  • For autocomplete, send the request only after 3 characters, with a 150–250 ms debounce.
Retry?No, the result will be the same unless the request changes.
Billing0 units.
typehttps://maticna.si/docs/errors/query_too_short

Example response

HTTP/1.1 422
Content-Type: application/problem+json
X-Request-Id: req_01JB2Q8X6S7T
{
"type": "https://maticna.si/docs/errors/query_too_short",
"title": "Query too short",
"status": 422,
"detail": "The search string has no word of 3 or more characters (after removing legal forms and stop words).",
"instance": "/v1/entities/12345679",
"code": "query_too_short",
"request_id": "req_01JB2Q8X6S7T",
"errors": [
{
"field": "q",
"code": "too_short"
}
]
}

All errors

Source: FURS · unofficial source, not an official extract · Terms · Privacy · maticna.si