Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot download Chase OFX

See original GitHub issue

When trying to download from Chase with the following config:

[f0a14074d33cdf83b4a099bc322dbe2fe19680ca1719425b33de5022] account_type = CHECKING description = Checking institution.broker_id = institution.client_args.app_id = QWIN institution.client_args.app_version = 2200 = 4fa6f700154f49543b869492f99c883f institution.client_args.ofx_version = 103 institution.description = Chase = 10898 institution.local_id = e51fb78f88580a1c2e3bb65bd59495384383e58abda8796c9bf06dcf = B1 institution.password = <password> institution.url = institution.username = <username> local_id = f0a14074d33cdf83b4a099bc322dbe2fe19680ca1719425b33de5022 number = XXXXXXXXX routing_number = XXXXXXXXX

After sending the request(It prints out in verbose mode), I receive this:

Traceback (most recent call last):
File "/usr/local/bin/ofxclient", line 11, in <module>
File "/usr/local/lib/python3.5/site-packages/ofxclient/", line 52, in run
File "/usr/local/lib/python3.5/site-packages/ofxclient/", line 87, in main_menu
File "/usr/local/lib/python3.5/site-packages/ofxclient/", line 160, in view_account_menu
  out =
File "/usr/local/lib/python3.5/site-packages/ofxclient/", line 102, in download
  response = self.institution.client().post(query)
File "/usr/local/lib/python3.5/site-packages/ofxclient/", line 110, in post
  response ='ascii')
 UnicodeDecodeError: 'ascii' codec can't decode byte 0x92 in position 337: ordinal not in range(128)```

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:22 (7 by maintainers)

github_iconTop GitHub Comments

qqrscommented, Oct 24, 2018

I was able to set up ofxclient and download checking and credit card OFX data from Chase today. Documenting here in case it is helpful for anyone else.

I did not need to do anything special with UIDs as was described above. Perhaps these workarounds have now been merged into the project, or perhaps Chase is now more lenient.

Here are the exact steps I followed:

  1. Install latest ofxclient
mkvirtualenv -p python3 ofx
pip install git+
  1. Log in to, go to settings, go to “Desktop apps”, and enable access for apps like Quicken or QuickBooks

  2. Run ofxclient --ofx-version 103

  3. Add account, bank name “Chase (credit card)”. Use this even for checking/savings accounts. The other choices for Chase use, which I have never heard of. Possibly an old endpoint, or possibly a scam, who knows?

  4. Enter your username and password. You’ll see the message

authentication failed: Please verify your identity within the next 7 days. Using your desktop computer, go to your banks website and visit the Secure Message Center for instructions.
  1. Do that. Log in to, look for a message in the Secure Message Center, and follow the instructions to approve access.

  2. Repeat steps 3 - 5. This time, it should succeed, and you will be able to download OFX files for each of your accounts.

  3. For subsequent downloads, you can simply run ofxclient. The OFX version setting is stored in your ofxclient.ini.

You can also run ofxclient --download-days 365 to get more than 30 days. (It does appear Chase limits how far back you can request data, but I haven’t discerned the pattern.)

reubanocommented, Nov 7, 2016

It appears the default behavior is to change the CLIENTUID for each invocation of the username/password prompt, even within the same ofxclient session. The solution is to set the CLIENTUID once before the loop so it stays the same within the session.

from ofxclient.client import ofx_uid


def login_check_menu(bank_info):
    cid = ofx_uid()

    while 1:
        institution = Institution(
            client_args={'ofx_version': args.ofx_version, 'id': cid}


Once I did this (and after setting the ofx version to 103), my Chase account successfully validated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OFX/Direct Connect will no longer be supported by Chase as ...
As of October 6th, 2022, Chase will no longer be supporting Direct Connect/OFX which includes 3rd-party bill pay.
Read more >
Error when trying to download transactions
just a user - Chase has discontinued OFX downloads (as of October 6) ... Moneydance cannot "fix" a bank discontinuing a long term...
Read more >
How to Download & Import Chase Banking Transactions Into ...
Download Chase banking transactions using QuickBooks Direct Connect or its Web ... Click on "Download Now (no charge)" to create a QuickBooks OFX-formatted ......
Read more >
Chase Transaction do not download - Quicken Community
Everything looks fine from the Chase side and Quicken doesn't throw any errors, but no new transactions download.
Read more >
Chase and other banks ending OFX connections - Moneydance
As of Oct. 6, Chase, Bank of America and other major institutions have disabled OFX connections to download transactions, which is what ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found