madhat2r / plaid2text

Python Scripts to export Plaid transactions and transform them into Ledger or Beancount syntax formatted files.
GNU General Public License v3.0
89 stars 19 forks source link

Need a way to PATCH an account #14

Open xentac opened 8 years ago

xentac commented 8 years ago

Traceback (most recent call last): File "/usr/local/bin/plaid2text", line 4, in import('pkg_resources').run_script('plaid2text==0.1.2', 'plaid2text') File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 719, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 1511, in run_script exec(script_code, namespace, namespace) File "/usr/local/lib/python3.5/dist-packages/plaid2text-0.1.2-py3.5.egg/EGG-INFO/scripts/plaid2text", line 2, in

EASY-INSTALL-SCRIPT: 'plaid2text==0.1.2','plaid2text'

File "/usr/local/lib/python3.5/dist-packages/plaid2text-0.1.2-py3.5.egg/plaid2text/plaid2text.py", line 325, in main File "/usr/local/lib/python3.5/dist-packages/plaid2text-0.1.2-py3.5.egg/plaid2text/online_accounts.py", line 40, in get_transactions File "/usr/local/lib/python3.5/dist-packages/plaid/client.py", line 50, in inner_func return func(self, credentials, *args, *kwargs) File "/usr/local/lib/python3.5/dist-packages/plaid/client.py", line 25, in inner_func return func(self, url, args, **kwargs) File "/usr/local/lib/python3.5/dist-packages/plaid/client.py", line 465, in connect_get suppress_errors=self.suppress_http_errors File "/usr/local/lib/python3.5/dist-packages/plaid/requester.py", line 18, in http_request raise ERROR(json_data['resolve'], json_data['code']) plaid.errors.RequestFailedError: MFA access has changed or this application's access has been revoked. Submit a PATCH call to resolve.

csku commented 2 years ago

This is over 5 years later, but a similar issue would now be resolved with a Link (Update) call. The updated link token should be placed in auth.html, from where the user through the flow again. Plaid's Postman collection is helpful for novices like me.