찾을 수 없음

Moses Skoda엔지니어1분 소요

API는 404 Not Found 응답에 이 문제를 담아 반환합니다. 이 문제의 type 값은 https://lingo.dev/docs/api/errors/not-found입니다. 모든 오류에 공통으로 적용되는 형식은 오류 및 상태 코드를 참고하세요.

<entity> <id>을(를) 찾을 수 없습니다.

필드#

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

필드유형
idstring
entitystring

예시#

json
{
  "detail": "<entity> <id> not found.",
  "id": "<id>",
  "entity": "<entity>",
  "type": "https://lingo.dev/docs/api/errors/not-found",
  "status": 404,
  "title": "Not found"
}