Skip to content

Title: ClientTransaction broken as of March 18 2026 — Couldn't get KEY_BYTE indices #408

@rsimik

Description

@rsimik

twikit 2.3.3, Python 3.13, Windows.

Since ~March 18 2026, all API calls fail with:

Exception: Couldn't get KEY_BYTE indices

or if cookies are loaded:

AttributeError: 'ClientTransaction' object has no attribute 'key'

Looks like Twitter changed their ondemand.s.js structure so the regex in transaction.py no longer matches. Library is completely unusable. Please update the regex or add a fallback.

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