monarchmoney / mint-export-extension

Effortlessly export your Mint data to CSV.
MIT License
36 stars 3 forks source link

Crashing during export on 1.0.2 #15

Open nickrenda opened 10 months ago

nickrenda commented 10 months ago

I ran the extension on 1.0.2 unpacked in developer mode, and cannot export my balances without the extension crashing. I also get an error from mint.com until I close and re-open chrome saying mint.com is unavailable. Wonder if mint is rate limiting? I can usually get to about 40 accounts before it crashes.

I have 205 total accounts

Screenshot 2023-11-14 at 5 02 48 PM
nickrenda commented 10 months ago

Copying the errors I saw here from chrome developer mode:

Error 1

Access to fetch at 'https://mint.intuit.com/pfm/v1/user' from origin 'chrome-extension://jekpaapjbcmkbilkckepljakpndlpepp' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. Context src/pages/popup/index.html Stack Trace src/pages/popup/index.html:0 (anonymous function) Nothing to see here, move along.

Error 2:

Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received Context src/pages/popup/index.html Stack Trace src/pages/popup/index.html:0 (anonymous function) Nothing to see here, move along.

vanessa commented 10 months ago

Thanks for reporting this. Can you test if this error still happens with https://github.com/monarchmoney/mint-export-extension/releases/tag/1.0.3?

nickrenda commented 10 months ago

issue persists on 1.0.3. Got to about 40 accounts before the extension crashed. reloading the page shows me:

Screenshot 2023-11-14 at 7 52 05 PM
vanessa commented 10 months ago

It seems that the issue may be related to rate limiting, as you mentioned. Could you try changing the value of MINT_RATE_LIMIT_DELAY_MS locally and test to see if it resolves the problem?

nickrenda commented 10 months ago

I'm actually not sure how to do that - I'm just savvy enough to download and post to GitHub, but im not sure where or how to change this value. If you can direct me to what file it's in I can try and edit it? Do I need to edit the value and then manually rebuild the package myself?

devinellis commented 10 months ago

1.0.5 looks to have fixed the issue, I was able to download balance history for 52 accounts.

nickrenda commented 10 months ago

Yeah 1.0.5 also just fixed it for me - noticed the rate was much slower too. Only other item (maybe this is already a feature request) is that while it reported some accounts could not download, I have no way of knowing which ones these were. I presume these were probably duplicate or hidden accounts with no data to download, but it would be great if the app could report out a list of what accounts these were so I could confirm.

((**Accounts
mschmidty4 commented 10 months ago

I found the failed downloads were directly tied to having the "Hide Accounts" set to something other than "Show Everywhere". Changed my accounts to "Show Everywhere" and no more failures! And the list of accounts on this screen matches the csv filenames that download in case you want to audit what accounts failed. image

davidmtml commented 10 months ago

I'm still having this problem, I have 210 accounts.

mschmidty4 commented 10 months ago

I'm still having this problem, I have 210 accounts.

Did you try switching them to "show everywhere" in the "hide accounts" tab?

davidmtml commented 10 months ago

I'm still having this problem, I have 210 accounts.

Did you try switching them to "show everywhere" in the "hide accounts" tab?

Yep, all of my accounts are set to "show everywhere". Just tried it again, this time it crashed after about 40 accounts.

davidmtml commented 10 months ago

mschmidty4

Just to clarify. My issue is the original issue listed in this report, where you get the "Oops, we ran into an error" webpage, and can't log back into Mint for 10 minutes. Not the "xx accounts failed to download" error.