Skip to main content
View as Markdown

Error Handling & Best Practices - Content Management

Error Handling & Best Practices​

Error Handling​

ErrorMeaningResolution
ENTRY_ID_NOT_FOUNDEntry does not existVerify entry ID
ENTRY_DELETED_MODERATEDEntry was deleted or rejectedEntry no longer available
THUMB_ASSET_ID_NOT_FOUNDThumb asset does not existVerify thumb asset ID
THUMB_ASSET_IS_DEFAULTAttempted to delete the current default thumb assetSet a different thumb as default first, then delete
TOO_MANY_PROCESSESServer at concurrent ImageMagick process limitTransient — retry after a brief delay
FILE_DOES_NOT_EXIST_ON_CURRENT_DCSource file on a different data centerRequest is auto-redirected; retry follows redirect
Blank/placeholder imageEntry not yet READY or no source for frame captureWait for entry to reach READY status
FEATURE_BLOCK_THUMBNAIL_CAPTUREFrame capture blocked by access controlEntry has LIMIT_THUMBNAIL_CAPTURE rule

Best Practices​

  • Use the dynamic thumbnail URL for display. The URL API serves images at any size with CDN caching — stored thumb assets are for editorial purposes (custom uploads, saved captures).
  • Use type=3 (center crop) for uniform grids. It guarantees exact dimensions while keeping the most important part of the image (center).
  • Use type=2 (resize with padding) for mixed aspect ratios. It preserves the full image within fixed dimensions, padding with bgcolor.
  • Use sprite strips for timeline scrubbers. A single /vid_slices/20/width/160/height/90 request creates a 3200×90 sprite. Parse in CSS with background-position.
  • Use nearest_aspect_ratio=1 for multi-thumbnail entries. If an entry has both landscape and portrait thumb assets, this parameter automatically selects the one that best matches the requested dimensions.
  • Set vid_sec for consistent thumbnails. Specifying a timestamp (e.g., /vid_sec/5) ensures every entry in a gallery uses the same relative frame position, producing a uniform visual grid.
  • Use short-lived URLs for access-controlled content. Thumbnail URLs with /ks/\{KS\} are cached per KS value. Use KS with appropriate expiry to prevent stale access.
  • Keep sprite dimensions within pixel limits. Ensure width × vid_slices < 65,500 and height × vid_slices < 65,500.
  • Upload custom thumbnails for editorial control. For featured content, upload purpose-designed thumbnails via thumbAsset.addFromImage to ensure the ideal visual representation.
  • Use thumbParams for automation. Associate thumbnail templates with conversion profiles so every upload automatically gets correctly-sized thumbnails.