제공되지 않는 측정값
MeasurementsNotOffered 오류(422 처리할 수 없는 콘텐츠)의 의미와 포함된 필드, 이 오류를 반환하는 엔드포인트를 설명합니다.
이 문제가 발생하면 API는 422 Unprocessable Content을 반환합니다. 이 오류의 type는 https://lingo.dev/docs/api/errors/measurements-not-offered입니다. 모든 오류의 공통 구조는 오류 및 상태 코드를 참고하세요.
이 검사에서는 <id>를 실행할 수 없습니다. 이 조직의 사용자 지정 측정 항목이 아니거나, 활성화된 조건 중 이 검사의 대상 로캘에 적용되는 조건이 없습니다. 해당 로캘에서 사용할 수 있는 측정 항목을 선택하세요. 사용 가능한 모든 측정 항목을 실행하려면 measurementIds를 생략하세요.
필드 #
본문에는 표준 멤버인 type, status, title, detail 외에 다음 필드가 포함됩니다. detail 텍스트는 이 필드들을 바탕으로 생성되므로, 클라이언트에서 자체 문구를 대신 표시할 수 있습니다.
| 필드 | 유형 |
|---|---|
ids | string[] |
예시 #
JSON
{
"detail": "Cannot run <id> in this check: they are not custom measurements of this organization, or none of their enabled conditions covers a target locale of the check. Choose measurements offered for these locales, or leave measurementIds out to run every offered one.",
"ids": [
"<id>"
],
"type": "https://lingo.dev/docs/api/errors/measurements-not-offered",
"status": 422,
"title": "Measurements not offered"
}