Something went wrong
An unexpected error occurred. Please try again.
- unexpected_error
- 500
- internal
- error
- No
- 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/unexpected_error",
"title": "Something went wrong",
"status": 500,
"category": "internal",
"code": "unexpected_error",
"detail": "An unexpected error occurred. 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 === 'unexpected_error') {
// An unexpected error occurred. Please try again.
}
}