Skip to content

Error reference

Account locked

This account is not available. Please contact support.

Code
account_locked
HTTP status
403
Category
forbidden
Severity
error
Retryable
No
Domain
accounts

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/account_locked",
  "title": "Account locked",
  "status": 403,
  "category": "forbidden",
  "code": "account_locked",
  "detail": "This account is not available. Please 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 === 'account_locked') {
    // This account is not available. Please contact support.
  }
}