[bank] [paypal] Got "Error(paypal): Could not grab tokens"
With which module do you encounter problems?
Paypal
Describe the problem you encounter
After adding my account, I get Error(paypal): Could not grab tokens
when issuing list
Paste here the stacktrace or error message you observe
N/A
What are the steps to reproduce the problem?
bank> backends add
Please give at least a backend name.
bank> backends add paypal
Module "paypal" is available but not installed.
=== [ 20%] Module paypal is not installed yet
=== [ 30%] Downloading module...
=== [ 50%] Checking module authenticity...
=== [ 70%] Setting up module...
=== [ 90%] Downloading icon...
=== [100%] Module paypal has been installed!
Configuration of backend paypal
-------------------------------
[login] E-mail:
c: Run an external tool during backend load
p: Prompt value when needed (do not store it)
s: Store value in config
*** How do you want to store it? (c/P/s): s
E-mail: *******@******
[password] Password:
c: Run an external tool during backend load
p: Prompt value when needed (do not store it)
s: Store value in config
*** How do you want to store it? (c/P/s): s
Password (hidden input): *********
-------------------------------
Backend "paypal" successfully added.
bank> list
Account Balance Coming
------------------------------------------+----------+----------
Error(paypal): Could not grab tokens
What woob version are you using?
Output of woob config --version
command:
Woob config v3.0 Copyright(C) 2010-2021 Christophe Benz, Romain Bignon
What module version are you using?
Output of woob config info MODULE_NAME
command:
.------------------------------------------------------------------------------.
| Module paypal |
+-----------------.------------------------------------------------------------'
| Version | 202104111455
| Maintainer | Laurent Bachelier <laurent@bachelier.name>
| License | LGPLv3+
| Description | PayPal
| Capabilities | CapBank, CapCollection
| Installed | yes
| Location | https://updates.woob.tech/3.0/main/paypal.tar.gz
| |
| Configuration | login: E-mail (default: )
| | password: Password (default: )
'-----------------'
How did you install woob?
pip
Additional info you'd like to mention
I have my Paypal account setup with an SMS verification when I login, so I guess this may be the problem? How does Woob generally handle this situation? I could just disable this security - but this would be unsafe. On Paypal's website there's a "trust this computer" option, I'm not sure if Woob could use this in some way.
Don't hesitate if you need more info to troubleshoot!
Anyway thanks a lot for this awesome tool!