Skip to content

Error reference

Save failed

We could not save your change. Please try again.

Code
persistence_failed
HTTP status
500
Category
internal
Severity
error
Retryable
Yes
Domain
common

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/persistence_failed",
  "title": "Save failed",
  "status": 500,
  "category": "internal",
  "code": "persistence_failed",
  "detail": "We could not save your change. Please try again.",
  "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 === 'persistence_failed') {
    // We could not save your change. Please try again.
  }
}