Brand voice variation locale taken

Moses SkodaEngineer1 min read

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

This brand voice already has a variation for <targetLocale>. A voice carries one variation per target locale. Update the existing one instead.

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
targetLocalestring

Example#

json
{
  "detail": "This brand voice already has a variation for <targetLocale>. A voice carries one variation per target locale. Update the existing one instead.",
  "targetLocale": "<targetLocale>",
  "type": "https://lingo.dev/docs/api/errors/brand-voice-variation-locale-taken",
  "status": 409,
  "title": "Brand voice variation locale taken"
}

Returned by#

  • PATCH /v2/brand-voice-variations/{id}
  • POST /v2/brand-voices/{brandVoiceId}/variations