Skip to content

Automated bug report: userInfo is null #474

@SaptakS

Description

@SaptakS

The screenshots actually show the correct page in X after login, but getting X_login_GetViewerUserFailed exception.

Error report data

{'error': 'userInfo is null'}

Sensitive context data

{
    "logs": [
        {
            "timestamp": "2025-03-21T09:46:12.080Z",
            "func": "runJob",
            "message": "running job login"
        },
        {
            "timestamp": "2025-03-21T09:46:12.080Z",
            "func": "login",
            "message": "logging in"
        },
        {
            "timestamp": "2025-03-21T09:46:12.080Z",
            "func": "loadURLWithRateLimit",
            "message": [
                "https://x.com/login",
                [
                    "https://x.com/home",
                    "https://x.com/i/flow/login"
                ], False
            ]
        },
        {
            "timestamp": "2025-03-21T09:46:12.081Z",
            "func": "loadURL",
            "message": "try #0, https://x.com/login"
        },
        {
            "timestamp": "2025-03-21T09:46:12.966Z",
            "func": "loadURL",
            "message": [
                "Failed to load URL",
                {}
            ]
        },
        {
            "timestamp": "2025-03-21T09:46:12.966Z",
            "func": "loadURL",
            "message": "try #1, https://x.com/login"
        },
        {
            "timestamp": "2025-03-21T09:46:14.245Z",
            "func": "loadURL",
            "message": "URL loaded successfully"
        },
        {
            "timestamp": "2025-03-21T09:46:14.245Z",
            "func": "waitForLoadingToFinish",
            "message": "waiting for loading to finish"
        },
        {
            "timestamp": "2025-03-21T09:46:14.446Z",
            "func": "waitForLoadingToFinish",
            "message": "loading finished"
        },
        {
            "timestamp": "2025-03-21T09:46:14.446Z",
            "func": "loadURLWithRateLimit",
            "message": "URL loaded successfully"
        },
        {
            "timestamp": "2025-03-21T09:46:14.446Z",
            "func": "loadURLWithRateLimit",
            "message": "checking if URL changed"
        },
        {
            "timestamp": "2025-03-21T09:46:14.447Z",
            "func": "loadURLWithRateLimit",
            "message": "expected, URL change to https://x.com/home"
        },
        {
            "timestamp": "2025-03-21T09:46:14.447Z",
            "func": "loadURLWithRateLimit",
            "message": "finished loading URL"
        },
        {
            "timestamp": "2025-03-21T09:46:14.447Z",
            "func": "waitForURL",
            "message": {
                "waitingForURL": "https://x.com/home",
                "currentURL": "https://x.com/home"
            }
        },
        {
            "timestamp": "2025-03-21T09:46:14.447Z",
            "func": "login",
            "message": "login succeeded"
        },
        {
            "timestamp": "2025-03-21T09:46:15.448Z",
            "func": "login",
            "message": "getting username and userID and profile picture"
        },
        {
            "timestamp": "2025-03-21T09:46:16.459Z",
            "func": "graphqlGetViewerUser"
        },
        {
            "timestamp": "2025-03-21T09:46:16.544Z",
            "func": "graphqlGetViewerUser",
            "message": "response is null"
        }
    ],
    "currentURL": "https://x.com/home"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions