-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
"Fail to verify image verification code." #411
Comments
All of sudden even me to getting error, I tried many ways to fix issue. Boys ... Any positive new ? |
@huaxiawang it was cracked before. we do have work around to over come this issue by going to network tab and added v2/account response to code. Now we bull changed style , Work around no longer working now. |
Same issue, currently no solution... |
Hi guys, I just logged in, it works.
In my end, the print result is True. And here you go, trading is working now. |
@LukeWang01 Thanks for that. |
No, it doesn't work. But you can find the access token by your own and run This will work, but I am not sure how long the access_token will be expired. |
@LukeWang01 I am looking through the HTTP requests on the Network tab and I can't find the access token. Where do you see it after logging into Webull on chrome? |
As of now, filter for 'v2' within the Network tab. Click on the result and you'll find your Access_token under Request Headers |
https://github.com/tedchou12/webull/wiki/Workaround-for-Login-%E2%80%90-Method-2 You just need to verify it on your own browser, inspect and get the did(device id) of your browser, and then manually set that as the did in the webull object before you use the login. This way, webull will think that you are logging in from the verified browser. Look around in Method 1/2 if you need help getting the did. You can ignore everything else(I think). |
Well, I got >>> wb.get_positions()
[]
>>> wb.get_portfolio()
{'totalMarketValue': '0.00', 'cashBalance': '0.00', 'dayBuyingPower': '0.00', 'overnightBuyingPower': '0.00', 'settledFunds': '0.00', 'unsettledFunds': '0.00', 'cryptoBuyingPower': '0.00', 'optionBuyingPower': '0.00', 'riskStatus': 'Safe', 'remainTradeTimes': 'Unlimited'} So, it's NOT working either. And if you do >>> wb.get_detail() ...it runs into |
please refer to this link https://github.com/LukeWang01/Program-Trading-Based-on-Webull/blob/main/docs/first_run_setup.md There are screenshots easy to follow. |
@tedchou12
When trying to login, the image verification is failing. After going through the MFA verification I've always just used "wb.login.prompt()" with no issue. Now when I debug and check the response it is returning a Response [417] : b'{"msg":"Fail to verify image verification code.","code":"user.check.slider.pic.fail"}'
So I would normally just do:
wb.logout()
#wb.refresh_login() | Had to comment out the refresh login because that stopped working too and would break out of the program
wb._set_did = "did from network response"
wb.login_prompt()
Any ideas why the image verification may be failing now?
The text was updated successfully, but these errors were encountered: