Coder Social home page Coder Social logo

budgetbuddy's People

Stargazers

 avatar  avatar

Watchers

 avatar

budgetbuddy's Issues

New process stopper may be preventing data collection

When attempting to collect new transaction data, the program almost immediately ends and displays the "Data Collection Complete" message. I would guess that this has something to do with the new collection stopper.

Add workaround for request limit

Problem

When Budget Buddy reaches around page 12 (or 12 consecutive requests) during data collection on the eAccount Transaction page, the server fails to return transaction data and returns a 404 error.

POST https://eacct-ucsd-sp.transactcampus.com/eAccounts/AccountTransaction.aspx 404 (Not Found)
Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 404

Possible Solution

Upon reaching around page 10 (or 10 consecutive requests) during data collection, have Budget Buddy reload the page along with a token embedded as a URL parameter. The token will be saved to storage along with the current page data. The new URL should have this structure.

https://eacct-ucsd-sp.transactcampus.com/eAccounts/AccountTransaction.aspx?bb_token={TOKEN}

After the reload, Budget Buddy will look for the token parameter in the URL, verify that the token is active, and retrieve the current page data. The token will then be deleted and data collection will resume with the current page data.

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.