Website unreachable
The API answers 422 Unprocessable Content with this problem. Its type is https://lingo.dev/docs/api/errors/website-unreachable. See Errors and status codes for the shape every error shares.
Couldn't open https://example.com/pricing: its domain does not resolve. Check the address for typos, or try another address.
Fields#
Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.
| Field | Type |
|---|---|
url | string |
reason | "NotFound" | "Refused" |
Example#
json
{
"detail": "Couldn't open https://example.com/pricing: its domain does not resolve. Check the address for typos, or try another address.",
"url": "https://example.com/pricing",
"reason": "NotFound",
"type": "https://lingo.dev/docs/api/errors/website-unreachable",
"status": 422,
"title": "Website unreachable"
}