Code Monkey home page Code Monkey logo

monzoexport's Issues

Something went wrong

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.

Token should be saved on disk now (you won't need to relogin anymore)
Traceback (most recent call last):
File "./export.py", line 150, in
main()
File "./export.py", line 141, in main
j = get_json(params, first_time=first_time)
File "./export.py", line 61, in get_json
return Exporter(params).export_json()
File "./export.py", line 55, in export_json
adata['data'] = self._get_account_data(account_id=aid)
File "./export.py", line 36, in _get_account_data
'since' : since,
File "/usr/local/lib/python3.7/site-packages/pymonzo/monzo_api.py", line 226, in _get_response
"Something went wrong: {}".format(response.json())
pymonzo.exceptions.MonzoAPIError: Something went wrong: {'code': 'forbidden.verification_required', 'message': 'Verification required', 'params': {'account_id': '*******', 'auth_session_id': '
', 'client_id': '', 'end_time': '', 'start_time': '', 'user_id': '*'}}

Cant run exporter.py

Running Python3.7.

Exporter.py gives me: 'Namespace' object has no attribute 'params'
LINE 111

workaround transient retryable error

Happened once, but perhaps would be nice to fix

  File "/usr/local/lib/python3.9/site-packages/pymonzo/monzo_api.py", line 225, in _get_response
    raise MonzoAPIError(
pymonzo.exceptions.MonzoAPIError: Something went wrong: {'code': 'internal_service', 'message': 'An error occurred processing the request', 'retryable': {'value': True}}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.