Review closed

Moses SkodaEngineer1 min read

The API answers 409 Conflict with this problem. Its type is https://lingo.dev/docs/api/errors/localization-review-closed. See Errors and status codes for the shape every error shares.

This review is closed or the unit was already decided. Refresh before submitting again.

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.

FieldType
documentIdstring
localestring

Example#

json
{
  "detail": "This review is closed or the unit was already decided. Refresh before submitting again.",
  "documentId": "<documentId>",
  "locale": "pt-BR",
  "type": "https://lingo.dev/docs/api/errors/localization-review-closed",
  "status": 409,
  "title": "Review closed"
}

Returned by#

  • POST /v2/localization/documents/{documentId}/targets/{locale}/review/approve-all
  • POST /v2/localization/documents/{documentId}/targets/{locale}/review/decisions