Provider key not found

Moses SkodaEngineer1 min read

The API answers 404 Not Found with this problem. Its type is https://lingo.dev/docs/api/errors/provider-key-not-found. See Errors and status codes for the shape every error shares.

The organization has no OpenAI API key stored.

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
organizationIdstring
provider"openai" | "anthropic" | "mistralai" | "google"

Example#

json
{
  "detail": "The organization has no OpenAI API key stored.",
  "organizationId": "<organizationId>",
  "provider": "openai",
  "type": "https://lingo.dev/docs/api/errors/provider-key-not-found",
  "status": 404,
  "title": "Provider key not found"
}

Returned by#

  • PATCH /v2/organizations/{orgId}/provider-keys/{provider}