Skip to content

Error reference

Deletion on hold

This data is under a legal hold, so nothing was deleted. Please contact support.

Code
legal_hold_active
HTTP status
409
Category
conflict
Severity
warn
Retryable
No
Domain
other

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/legal_hold_active",
  "title": "Deletion on hold",
  "status": 409,
  "category": "conflict",
  "code": "legal_hold_active",
  "detail": "This data is under a legal hold, so nothing was deleted. Please contact support.",
  "correlationId": "c-1f2e3d4c-…",
  "severity": "warn",
  "action": "contact-support"
}

Handle it in code

try {
  await skedcast.posts.create(input);
} catch (err) {
  if (err instanceof SkedcastApiError && err.code === 'legal_hold_active') {
    // This data is under a legal hold, so nothing was deleted. Please contact support.
  }
}