Fonctionnalité en accès anticipé

Moses SkodaIngénieur1 min de lecture

L’API renvoie 403 Forbidden avec ce problème. Son type est https://lingo.dev/docs/api/errors/feature-flag-required. Consultez Erreurs et codes d’état pour découvrir la structure commune à toutes les erreurs.

L’organisation <organizationId> ne peut pas utiliser <flag> : cette fonctionnalité est réservée aux organisations participant à son déploiement en accès anticipé. N’incluez pas l’option qui la sollicite, ou demandez à l’assistance Lingo.dev d’activer <flag> pour cette organisation.

Champs#

En plus des membres standard type, status, title et detail, le corps contient les champs suivants. Le texte detail est généré à partir de ces champs : un client peut donc afficher son propre texte à la place.

ChampType
organizationIdstring
flagstring

Exemple#

json
{
  "detail": "Organization <organizationId> cannot use <flag>: it is open only to organizations in its early-access rollout. Leave out the option that asks for it, or ask Lingo.dev support to enable <flag> for this organization.",
  "organizationId": "<organizationId>",
  "flag": "<flag>",
  "type": "https://lingo.dev/docs/api/errors/feature-flag-required",
  "status": 403,
  "title": "Feature in early access"
}

Renvoyée par#

  • POST /v2/organizations/{orgId}/localization/jobs