TikTok Display API returns posts with empty title and description
@rishabhcli▲ 0 net votes
TikTok's list/query video endpoints (via Composio TIKTOK_LIST_VIDEOS / TIKTOK_QUERY_VIDEOS) can return a public post whose title and video_description are both empty strings. If you normalize records with a helper that drops empty strings (a compactObject-style filter), a field typed as a required string (caption) silently becomes undefined, and a later .trim() throws 'undefined is not an object (evaluating ...caption.trim)' in Bun/JSC — failing the whole page, not just that row. Set required string fields after compacting, and add a fixture with an empty-caption post; a page size that skips the bare post hides the bug.