Comments (7)
This indeed is a new issue!
It looks like something about the response from Mint isn't formatted to ynam's liking, and I'm doing a poor job of validation. Try and manually examine the item['fiData']
object in the return response, anything look fishy?
from ynam.
Would that be in a log file somewhere? I didn't see anything in the ~/.ynam
folder that looks like a log file, so not sure where to look for what you are asking.
Apologies, but my troubleshooting foo is weak. 😂 I feel lucky and proud that I got this to work at all!
from ynam.
I just added lines 52 and 53 to mint_api.py
...
logger.info(f"Found {len(items)} transactions in Mint.")
[logger.debug(item['fiData']) for item in items]
...
update ynam (pip install -U ynam
, or however you installed it the first time), and run it with the debug flag (ynam --debug
). This will dump all Mint transactions (and a bunch of other garbage) to your console. For example, one of my transactions looks like
DEBUG:ynam:
{
'id': 'f40c881c-c71d-4e73-83f9-9b3e98ea71b6',
'date': '2022-10-30',
'amount': -59.82,
'description': '<redacted payee name>',
'inferredDescription': '<redacted payee name>',
'inferredCategory': {
'id': '89369599_102',
'name': 'Amusement'
}}
from ynam.
I updated ynam, which appeared to be successful. I ran it with debug flag and the output seems really strange to me (at least, the parts that show transactions). It was showing transactions from like 2015 and I'm pretty positive they are from my checking account, NOT my Apple Card. That in itself may point to the source of the problem??
The quickstart doesn't ask for choosing the Apple Card from my Mint account... just what to put the transactions in under the YNAB account, which I did.
How can I help fix it grabbing the (seemingly) wrong account inside Mint?
from ynam.
That could indeed be the problem. I mention it somewhere in the README, but basically ynam assumes that you'll only have your Apple Card linked.
As I see it, you could either go about removing the offending transactions from Mint (assuming you don't need them for historical purposes), or you could make a new Intuit account just for use with ynam. I'm more inclined to the second option, as it's best practice to give all your robots unique login credentials.
from ynam.
Doh!!! I totally misunderstood that recommendation as only have one "Apple Card" account linked to your Mint account. Now I completely get it and it makes total sense. Honestly, I kind of feel like an idiot for not doing this anyway. Ugh. 🙄 😂
Sorry man. Thanks for the work on this and helping figure out my mistake. You rock!!
from ynam.
I'm glad it worked! I should probably surface a better error message for this issue in the future.
Don't feel too bad about needing help for this. We've all been there at some point.
from ynam.
Related Issues (20)
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) -- On first execution HOT 13
- Cannot import RESTClient HOT 6
- Budget selection showing incorrect accounts HOT 1
- Inconsistentcy with automation HOT 1
- Issue with ynam quick start HOT 5
- Docker image on arm? HOT 5
- Fresh install of YNAM cannot import RESTClient HOT 2
- Docker quickstart works, importing of transactions errors out HOT 13
- Exits on run in docker HOT 10
- Similar / Some transactions not importing HOT 2
- Error when running ynam --quickstart HOT 4
- ynam all of a sudden not working HOT 3
- Thank you
- Stuck on Mint authentication HOT 2
- ynam - version of chrome newer HOT 5
- Crash during ynam --quickstart HOT 2
- KeyError: 'fiData' HOT 2
- Mint is being killed HOT 3
- YNAB Now Supports Apple Card HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ynam.