Provider not allowed for decision pool
What the DecisionPoolProviderNotAllowed error (422 Unprocessable Content) means, the fields it carries, and the endpoints that return it.
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.
| Field | Type |
|---|---|
providerId | string |
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/connection