Skip to main content

Errors

Errors are returned as JSON. Codes originate from RPC validations and domain checks.

Example format:

{
"error": {
"code": "not_owner",
"message": "You do not own this resource."
}
}

Common error codes:

  • missing_api_key (401)
  • invalid_api_key (401)
  • not_owner (403)
  • not_owner_or_not_found (403)
  • not_found (404)
  • method_not_allowed (405)
  • invalid_bundle_type (422)
  • invalid_videos_quantity (422) — when quantity is not one of 5,10,25,50,100,500
  • video_type_not_supported (422)
  • invalid_state (422)
  • bundle_not_published (422)
  • video_not_configured (422)
  • missing_parameter (400)
  • server_error (500)

Each endpoint page lists its specific errors when relevant.

Notes:

  • Ensure your X-API-Key header is not wrapped with extra quotes; otherwise the server may read an invalid value.