Skip to content

Error reference

AI disabled

AI generation is disabled for this workspace. Contact support.

Code
ai_disabled_for_tenant
HTTP status
403
Category
forbidden
Severity
error
Retryable
No
Domain
ai

How to fix

If this keeps happening, contact support and include the reference id from the response.

Example response

Every error is returned as application/problem+json (RFC 9457). The detail is the specific, actionable message; the code is stable and safe to branch on.

{
  "type": "https://skedcast.com/errors/ai_disabled_for_tenant",
  "title": "AI disabled",
  "status": 403,
  "category": "forbidden",
  "code": "ai_disabled_for_tenant",
  "detail": "AI generation is disabled for this workspace. Contact support.",
  "correlationId": "c-1f2e3d4c-…",
  "severity": "error",
  "action": "contact-support"
}

Handle it in code

try {
  await skedcast.posts.create(input);
} catch (err) {
  if (err instanceof SkedcastApiError && err.code === 'ai_disabled_for_tenant') {
    // AI generation is disabled for this workspace. Contact support.
  }
}