Provider not allowed for decision pool

Moses SkodaEngineer1 min read

The API answers 422 Unprocessable Content with this problem. Its type is https://lingo.dev/docs/api/errors/decision-pool-provider-not-allowed. See Errors and status codes for the shape every error shares.

An external decision pool cannot be created for provider "<providerId>".

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
providerIdstring

Example#

json
{
  "detail": "An external decision pool cannot be created for provider \"<providerId>\".",
  "providerId": "<providerId>",
  "type": "https://lingo.dev/docs/api/errors/decision-pool-provider-not-allowed",
  "status": 422,
  "title": "Provider not allowed for decision pool"
}

Returned by#

  • POST /v2/organizations/{orgId}/decision-pools