Skip to content

Charles Schwab auth0 authorization stuck - "UserID not valid (None)" #646

@luoguohui234

Description

@luoguohui234

lean live deploy xxxxxx --verbose
......
......
......
Please open the following URL in your browser to authorize the LEAN CLI.
https://www.quantconnect.com/api/v2/live/auth0/authorize?brokerage=charlesschwab&projectId=xxxxxxx&userId=xxxxxxx

I opened the link and followed the steps, and the webpage finally showed that my authentication was successful. However, the live trading account is stuck at this step and hasn't proceeded to the next step.

--> POST https://www.quantconnect.com/api/v2/live/auth0/read with data:
{
"brokerage": "charlesschwab",
"userId": "xxxxxxxxxx"
}
Request response: {"errors":["UserID not valid (None) REF #m2scDQ8GD7"],"success":false}
Request was not successful, status code 200, body:
{"errors":["UserID not valid (None) REF #m2scDQ8GD7"],"success":false}
Will sleep 5 seconds and retry fetching authorization...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions