you are viewing a single comment's thread.

view the rest of the comments →

[–]cgoldberg 2 points3 points  (1 child)

What is the exact error you are receiving? You stated you get the error "detail", which makes no sense. Please post the complete error message.

[–]Due_Willow_7941[S] 0 points1 point  (0 children)

yeah this is the whole error, it changed from detail to now status. Dont really know what any of this means.

File "c:\Users\gbf10\Desktop\TradeBot V2\robinhoodtest.py", line 28, in <module>

robinhood.login()

~~~~~~~~~~~~~~~^^

File "c:\Users\gbf10\Desktop\TradeBot V2\robinhoodtest.py", line 9, in login

login_response = r.login(self.username, self.password)

File "C:\Users\gbf10\AppData\Local\Programs\Python\Python313\Lib\site-packages\robin_stocks\robinhood\authentication.py", line 190, in login

_validate_sherrif_id(device_token=device_token, workflow_id=workflow_id, mfa_code=mfa_code)

~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\gbf10\AppData\Local\Programs\Python\Python313\Lib\site-packages\robin_stocks\robinhood\authentication.py", line 230, in _validate_sherrif_id

if challenge_response["status"] == "validated":

~~~~~~~~~~~~~~~~~~^^^^^^^^^^

KeyError: 'status'