joshfraser / robinhood-to-csv

Python script to export Robinhood trades to a CSV file
MIT License
259 stars 109 forks source link

Invalid Input on login #64

Open yuhuanq opened 3 years ago

yuhuanq commented 3 years ago
Generated device token: a3de19ea-6d92-11eb-a3d9-448500a61369

Invalid inputs. Please try again.

Robinhood username: 

Entering the right login credentials (double checked) but I keep getting invalid input. Any ideas?

TheDiscoPotato commented 3 years ago

I am having having this issue as well.

khutes commented 3 years ago

Make sure that the environment variable "RH_DEVICE_TOKEN" exists and matches the device token. I had to manually create the environment variable for it to work.

ajbhambhani commented 3 years ago

RH_DEVICE_TOKEN suggestion didnt seem to work. The same error message "Invalid inputs. Please try again. " still appears. Anyone with better luck?

stefanmcshane commented 3 years ago

Setting the env var RH_DEVICE_TOKEN to the token from my developer console request, worked for me.

Follow the instructions on the Readme, and look at the request to find the device token, then add --device_token="ABCDEF" to your command, where ABCDEF is the device token pulled from above.

ryanschaub commented 1 year ago

Anyone getting this issue now in 2023, even with device_token being automatically generated and input to login?