添付データにアクセスできません
この問題が発生すると、APIは422 Unprocessable Contentを返します。そのtypeはhttps://lingo.dev/docs/api/errors/attachments-unreachableです。すべてのエラーに共通する形式については、エラーとステータスコードを参照してください。
次の用語集をこのエンジンに適用できません:<id>。各用語集は、エンジンと同じ組織に属し、閲覧できる状態である必要があります。リクエストから除外するか、アクセス権を申請してください。
フィールド#
レスポンス本文には、標準のtype、status、title、detailの各メンバーに加え、以下のフィールドが含まれます。detailのテキストはこれらのフィールドをもとに生成されるため、クライアント側で代わりに独自のテキストを表示することもできます。
| フィールド | 型 |
|---|---|
kind | "glossary" | "ruleset" | "brandVoice" |
ids | string[] |
例#
json
{
"detail": "Cannot apply these glossaries to this engine: <id>. Each one must belong to the engine's organization and be visible to you. Leave them out of the request, or ask for access.",
"kind": "glossary",
"ids": [
"<id>"
],
"type": "https://lingo.dev/docs/api/errors/attachments-unreachable",
"status": 422,
"title": "Attachments out of reach"
}このエラーを返すエンドポイント#
PATCH /v2/engines/{id}POST /v2/organizations/{orgId}/enginesPOST /v2/organizations/{orgId}/provisioning/jobsPUT /v2/engines/{id}/glossaries/{glossaryId}PUT /v2/engines/{id}/rulesets/{rulesetId}