Friday, February 8, 2019

Mojito Version 1.2.1 is available - fixes "UiApp has been deprecated" error

Hi All,

Around the end of January 2019, Mojito started displaying the following error when you tried to import transactions, import account data, or reconcile an account:

"UiApp has been deprecated. Please use HtmlService instead."

The reason for this error was that Google had ended support for the UiApp component, which Mojito was using to display several dialog windows. 

I have fixed this issue. Mojito now uses HtmlService (as the error message recommends). The new version is 1.2.1. As always, you can download a new copy, or you can upgrade your existing copy following the easy steps on the FAQ page.

-b3

23 comments:

  1. thanks again for all your hard work. in other news, the 'donate' links on mojito don't seem to point to anything specific to you and are just generic google pay links.

    ReplyDelete
  2. Heh, yeah. Good point. I did a quick search and didn't see an obvious way to include my account in the URL, so I've updated the text on the first sheet to include my payment email account. For both Google Pay and PayPal, my email account is b3devs@gmail.com. Thanks!

    ReplyDelete
  3. I think that there are paypal.me links to do what you want.

    ReplyDelete
  4. Hi bthree!! I'm excited to start using this, but I keep getting this error: The Mint authentication token has not been provided or it has expired. Please re-enter the Mint authentication headers then retry the operation.

    And there was never anywhere for me to put my login email.

    sarah j ginsburg at gmail dot com if you'd rather correspond that way. Thank you in advance!

    ReplyDelete
    Replies
    1. Check here for how to provide an auth token.
      https://b3devs.blogspot.com/p/mint-auth-steps.html

      Delete
  5. This comment has been removed by the author.

    ReplyDelete
  6. Hello. Found Mojito. Seems great! I can't get by step 3 -

    "In the Mint Overview window, open the Chrome Developer Tools* (Ctrl+Shift+I) and click the Network link."

    CTL-Shift-I (or 1) does nothing.

    Any suggestions?

    Thanks!
    Bill

    Typing

    ReplyDelete
    Replies
    1. Hi Bill. I guess the keyboard shortcut changed, or maybe it is different on a Mac (if that's what you are using?). Here's a helpful link I found from searching on Google: https://developers.google.com/web/tools/chrome-devtools/

      Cheers,
      -b3

      Delete
  7. This comment has been removed by the author.

    ReplyDelete
  8. How often is the connection to Mint good for usually? I was getting things setup and after a few hours, it seems to be broken already. It would stink to need to do that every day manually! Trying to find a solution to have it kinda automated.

    ReplyDelete
  9. hi again b3 -- so i've been using this for a few years now and as of a couple days ago suddenly the authentication is unable to find "token:" entry in HTTP header of track.xevent.

    i know mint has been doing a lot of updates so i'm afraid they've changed something that's going to kill this script. I wish mint knew that their site is garbage if not for a spreadsheet like this for 'power' users!

    ReplyDelete
    Replies
    1. I just tried it, and it still works for me (thank goodness) ... but it is just a matter of time before Mint changes something that will kill Mojito for good. We've a had a good run for a few years, though. My fingers are crossed that we can get a few *more* years. :)

      Here are the exact steps that I am following that still work.

      * Navigate to the Mint.com site and open the Chrome DevTools window. Select the 'Network' tab in the DevTools window.
      * Not always necessary, but just in case: Hard-refresh the Mint.com web page to clear the page cache (on Windows you can do this by pressing Shift+F5)
      * Log in to Mint.com and make sure you are viewing the OVERVIEW screen.
      * Go to the DevTools window and search for "track.xevent". You should see one entry. Select it to show the HTTP request details on the right.
      * Make sure all sections in right-hand view are expanded: General, Response Headers, Request Headers, Form Data
      * Select and copy ALL of details in the right-hand view. I do this by selecting a line under the Response Headers section and pressing Ctrl+A then Ctrl+C (on Windows).
      * Open the Mojito spreadsheet and select the "Connect Moito to your active Mint session" item under the "Mojito" menu.
      * Paste the HTTP details you copied into the large text field (Ctrl+V on Windows) and click OK.

      Delete
    2. how strange.

      yeah i've been doing those exact steps the same way (almost) every morning for like, geez, 5 years now. maybe its my chrome? (it wasnt til now that i just went and checked and saw i have a mojito sheet for every year since 2016. didn't realize i was that neurotic for watching spending >_< .)

      i just tried a dozen more times with "disable cache" checked, and did a hard page reset but still get: Unable to find "token:" entry in HTTP headers

      this is probably something on my end if it's still working for you. i'll snoop around then. thanks for checking!

      Delete
    3. It's possible that Mint is slowly rolling out a change that hasn't affected my account yet (?). The token appears in the last line of the Form Data section of the HTTP details. If you don't see it there, then that's the problem. (Also, make sure the HTTP details are "parsed". If you see a "view parsed" link next to the Form Data section label, then click it.)

      Delete
    4. I'm seeing the same thing this month. It worked fine last month for the past couple of years. My Chrome is up to date as well. Any ideas ?

      Delete
  10. For me, the "Form Data" section is now on the next tab over from Headers, called "Payload." Maybe try appending that to the Headers code when authenticating?

    ReplyDelete
    Replies
    1. Ah, interesting. Maybe my Chrome is out of date (or you have a Mac and it's different than Windows)? It's kind of a pain if we have to copy request details from two places now ... but I suppose it's already kind of a pain. :(

      Delete
    2. Yep. After updating my Chrome browser (to version 96.0.4664.45), I am now seeing the separate 'Payload' tab in DevTools / Network window.

      Delete
    3. Brian,

      Mint made some changes, do you think this is the end of the road? Is there any programs out there that can do this that cost money? Thanks!

      Delete
  11. This comment has been removed by the author.

    ReplyDelete