Closed rmlhuk closed 8 months ago
Hi @rmlhhd Does it reproduce every time? Timeout is weird, since the exception says something about the verification...
Hi @karlicoss
Yes, this happens everytime. I complete all the vertification steps and click approve within the Monzo App. The script then seems to run and after say 10 minutes it fails with this error.
Btw, last night monzo has expired my token for no apparently reason, so I had to repeat this myself; and I did notice that the --first-time
export takes a while (although it did succeed for me). I wonder if it's possible that the export takes longer than five minutes, so the token expires during the export.
I wonder, if you try running the script wihout --first-time
(assuming you use the same token, it should be saved despite the tool crashing), do you get any results? If yes, that would probably confirm my hypothesis, and also mean there needs to be a more elaborate algorithm for --first-time
export, e.g. try to retrieve as much as we can, on veritfication error, prompt the user to authorise again; until we export everything. A bit annoying, but hopefully you only need to do this once.
The export starts but fails after around 10 minutes, I feel like there's some sort of timeout going on. The first-time json isn't being generated.