Vibescaling Docs

Errors

Error response format and common error codes

Errors

All API errors follow a consistent JSON format.

Error Response Format

{
  "error": "Human-readable error message",
  "details": {}
}

The details field is optional and included for validation errors.

HTTP Status Codes

StatusMeaning
400Bad Request — invalid input or validation failure
401Unauthorized — missing or invalid API key
403Forbidden — valid key but insufficient permissions or plan
404Not Found — resource doesn't exist or isn't owned by your org
409Conflict — resource already exists (e.g. video on post)
413Payload Too Large — video exceeds 4GB
429Too Many Requests — rate limit or plan limit exceeded
500Internal Server Error — unexpected failure

Common Error Codes

Authentication

ErrorCause
"Unauthorized"Missing Authorization header or invalid API key
"API key expired"The API key has passed its expiration date
"API key revoked"The API key was revoked in settings

Validation

ErrorCause
"Invalid request"Request body failed schema validation. Check details for field-level errors

Limits

ErrorCause
"Rate limit exceeded"Too many requests in the current window
"Plan limit reached"Monthly usage limit for posts or other resources

Posts

ErrorCause
"Post not found"Post doesn't exist or belongs to a different org
"Only draft and archived posts can be deleted"Cannot delete scheduled/publishing/posted posts
"Failed to create post"Server error during post creation
"Failed to update post"Server error during post update
"Failed to delete post"Server error during post deletion

Assets

ErrorCause
"Video already exists"Video post already has a video; use replace: true to replace
"Payload too large"Video file exceeds 4GB limit

On this page