-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep getting error in useMethod("tbl_vars") #99
Comments
Yeah changing the password to not include special characters worked but made my password less secure. We should not be changing password sounds like a bug |
This is a known issue that I'm working on. I keep getting issues created for this so I will pin this going forward until I get it resolved. |
Attempted to simplify the password as outlined above -- still receiving the same error message. Is it possible this it related to 2FA? |
@moosedoc011 Maybe, i do not have any features related to 2FA, i will include that as a separate feature but i will prioritize it |
Just wanted to comment that I'm having this same issue as well. |
I have been working this, but i havent been able to find a solution as of yet. I have posted a stackoverflow looking for help on this one, but so far no takers. Anyone interested in proposing a solution would appreciated. |
After working through this issue on stackoverflow i have posted a fix below. I will add the commentary in the main README for future reference. library(RobinHood)
# If the true password is: abc\def
# The following inputs will all work
rh <- RobinHood("username", pwd = r"(abc\def)")
rh <- RobinHood("username", pwd = "abc\\def")
rh <- RobinHood("username", pwd = "abc%5Cdef")
|
still getting this problem and there is no special character in the password. R version 4.0.2 (2020-06-22) |
are you inputting your email as your username? |
@e-arslan do you have 2-step authentication enabled on your account? I have not implemented that feature yet but agree its time. I will start looking into it. |
I'm getting this same problem. I have a special character in the password. I am using email address as username. I've tried the proposed fixes from November 7, but they aren't working for me. I have mfa disabled on account. |
@wittec what package version are you on? |
I tried the GitHub and the Cran version, but no luck.
Chris Witte
Research Scientist
Agricultural and Biosystems Engineering
Iowa State University
4306B Elings Hall
Ames, IA 50011
573-864-6629
…________________________________
From: Jeston ***@***.***>
Sent: Friday, July 30, 2021 5:26:24 PM
To: JestonBlu/RobinHood ***@***.***>
Cc: Witte, Christopher C [A&BE] ***@***.***>; Mention ***@***.***>
Subject: Re: [JestonBlu/RobinHood] Keep getting error in useMethod("tbl_vars") (#99)
@wittec<https://github.com/wittec> what package version are you on?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#99 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AG6MS6FSXHLYKIVS2ACCZPLT2MRJBANCNFSM4NREEBSQ>.
|
@wittec do you have multi-factor authentication enabled? |
Nope
Chris Witte
Research Scientist
Agricultural and Biosystems Engineering
Iowa State University
4306B Elings Hall
Ames, IA 50011
573-864-6629
…________________________________
From: Jeston ***@***.***>
Sent: Saturday, July 31, 2021 8:09:25 AM
To: JestonBlu/RobinHood ***@***.***>
Cc: Witte, Christopher C [A&BE] ***@***.***>; Mention ***@***.***>
Subject: Re: [JestonBlu/RobinHood] Keep getting error in useMethod("tbl_vars") (#99)
@wittec<https://github.com/wittec> do you have multi-factor authentication enabled?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#99 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AG6MS6DLGMZ2BKI55YWKNK3T2PYYLANCNFSM4NREEBSQ>.
|
I just tried it both with and without MFA and it worked fine for me. My password also contains special characters. Could you maybe try changing your password and using some different special characters to see if that works? I have continued to receive a few inquiries about this, but i havent been able to find anymore issues related to the code. I keep coming back to the password itself. |
Ok, a password change was going to be my last effort. Thanks for your reply!
…__________________
From: Jeston ***@***.***>
Sent: Saturday, July 31, 2021 8:19:56 AM
To: JestonBlu/RobinHood ***@***.***>
Cc: Witte, Christopher C [A&BE] ***@***.***>; Mention ***@***.***>
Subject: Re: [JestonBlu/RobinHood] Keep getting error in useMethod("tbl_vars") (#99)
I just tried it both with and without MFA and it worked fine for me. My password also contains special characters. Could you maybe try changing your password and using some different special characters to see if that works? I have continued to receive a few inquiries about this, but i havent been able to find anymore issues related to the code. I keep coming back to the password itself.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#99 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AG6MS6GPLDNHYQTOMGTOZWLT2PZ7ZANCNFSM4NREEBSQ>.
|
I changed my password and it is working now! Thank you! |
That's great. Id like to know what went wrong with your last password.
Would you mind sharing what special characters you used in your password
that didn't work and what character position they were in? I'll try to work
a fix if there is something I can do.
…On Sat, Aug 14, 2021, 4:20 PM wittec ***@***.***> wrote:
I just tried it both with and without MFA and it worked fine for me. My
password also contains special characters. Could you maybe try changing
your password and using some different special characters to see if that
works? I have continued to receive a few inquiries about this, but i havent
been able to find anymore issues related to the code. I keep coming back to
the password itself.
I changed my password and it is working now! Thank you!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#99 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZPNBM42XIXED6MYS5BWZTT43MZBANCNFSM4NREEBSQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
it was a "#" character. It was in the middle of the password. |
Thanks. I'll look into it and hopefully find a solution.
…On Sat, Aug 14, 2021, 4:35 PM wittec ***@***.***> wrote:
it was a "#" character. It was in the middle of the password.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#99 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZPNBOR6QT7GOCQUVE4NDLT43ORFANCNFSM4NREEBSQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Hi! First of all, thank you for making this package available. Great work! I am running into issues with this as well. After ironing out details with password and MFA, my error is now slightly different to the ones described above but also a
Digging in a bit further, it looks like authentication works fine but my response json does not contain margin balances
Any ideas how to get around this? UPDATE: |
I am having the same issues after months of successful access, and just posted on thread #124 . Thinking about what changed for me this week...I downgraded my account from Instant Settlement to Cash in order to day trade with a smaller balance. I just read that you were having issues with margin balances being NA. This would make sense if margin trading is disabled, which is a feature of the Cash account. You say you had to supply "fake data" for the margin_balances to resolve the issue. Can you provide more insight on how you did this? I want to try the same. Thanks! |
Hey @SwingBotScripts! Coming back to this after some time. |
When trying to connect via the following command
RH = RobinHood(username = "MyUsername", password = "MyPassword")
I keep getting the following error code
Error in UseMethod("tbl_vars") :
no applicable method for 'tbl_vars' applied to an object of class "NULL"
Im using the correct username and password. NOTE: my password includes special characters not sure if it matters or not
The text was updated successfully, but these errors were encountered: