Decision pool member outside organization

Moses SkodaEngineer1 min read

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

Only organization members can join a decision pool, and these users are not: <userId>.

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
userIdsstring[]

Example#

json
{
  "detail": "Only organization members can join a decision pool, and these users are not: <userId>.",
  "userIds": [
    "<userId>"
  ],
  "type": "https://lingo.dev/docs/api/errors/decision-pool-member-not-in-organization",
  "status": 422,
  "title": "Decision pool member outside organization"
}

Returned by#

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