Skip to content

XClIdGen.create() fails via Couldn't get XClientTxId indices script error #320

Description

@jonsuh

Issue

XClIdGen.create() fails via a Couldn't get XClientTxId indices script error.

2026-07-20 14:09:11.744 | WARNING  | twscrape.queue_client:get:40 - XClIdGen creation attempt 1/3 failed: Exception: Couldn't get XClientTxId indices script
2026-07-20 14:09:14.660 | WARNING  | twscrape.queue_client:get:40 - XClIdGen creation attempt 2/3 failed: Exception: Couldn't get XClientTxId indices script
2026-07-20 14:09:17.809 | WARNING  | twscrape.queue_client:get:40 - XClIdGen creation attempt 3/3 failed: Exception: Couldn't get XClientTxId indices script

Cause

Anonymous/logged-out requests get served a web app version that no longer includes the script INDICES_FILE_RE is looking for; whereas the authenticated sessions include it—it’s needed to compute the x-client-transaction-id header.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions