All API errors
Status 422

invalid_word

Not a word the intake takes

Why it happens

POST /words/{word}/request adds a word to the catalog, and takes one word of 2 to 63 letters, a to z. This value has a digit, a space or a hyphen, or it is a slug or an id.

What to do

Send the word alone, with no ending. GET /words/resolve finds the catalog's spelling of a word.

Example

422 · application/problem+json
{
  "type": "https://unique.domains/api/problems/invalid_word",
  "title": "Not a word the intake takes",
  "status": 422,
  "detail": "The intake takes one word of 2 to 63 letters a to z, with no digit, space, hyphen, slug or id form.",
  "instance": "/v1/words/two%20words/request",
  "code": "invalid_word",
  "word": "two words"
}

Ask AI about Unique Domains