웹사이트에 연결할 수 없음

Moses Skoda엔지니어1분 소요

이 문제가 발생하면 API는 422 Unprocessable Content 응답을 반환합니다. type 값은 https://lingo.dev/docs/api/errors/website-unreachable입니다. 모든 오류에 공통으로 적용되는 구조는 오류 및 상태 코드를 참고하세요.

도메인 이름을 해석할 수 없어 https://example.com/pricing 페이지를 열지 못했습니다. 주소에 오타가 있는지 확인하거나 다른 주소로 시도해 보세요.

필드#

응답 본문에는 표준 멤버인 type, status, title, detail 외에 다음 필드가 포함됩니다. detail 텍스트는 이 필드를 바탕으로 생성되므로 클라이언트에서 자체 문구를 대신 표시할 수 있습니다.

필드유형
urlstring
reason"NotFound" | "Refused"

예시#

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"
}