Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: SimpleFin Authentication Reset #2516

Closed
4 of 5 tasks
RandomSwiss7983242 opened this issue Mar 29, 2024 · 1 comment
Closed
4 of 5 tasks

[Bug]: SimpleFin Authentication Reset #2516

RandomSwiss7983242 opened this issue Mar 29, 2024 · 1 comment
Labels
bank sync Related to automatic bank syncing bug Something isn't working

Comments

@RandomSwiss7983242
Copy link

Verified issue does not already exist?

  • I have searched and found no existing issue

Is this related to GoCardless, Simplefin or another bank-sync provider?

  • I have checked my server logs and could not see any errors there
  • I will be attaching my server logs to this issue
  • I will be attaching my client-side (browser) logs to this issue
  • I understand that this issue will be automatically closed if insufficient information is provided

What happened?

I think I found a bug relating to the simplefin authentication. I had an unrelated issue and I ended up deleting my simplefin API key and creating a new one. After a relogin to actualbudget I went to go add a new account with simplefin. The GUI shows an error Something internally went wrong. You may want to restart the app if anything looks wrong. Please report this as a new issue on Github. and the docker logs show the below.

58fac0e8600f SyntaxError: Unexpected token < in JSON at position 0
58fac0e8600f     at JSON.parse (<anonymous>)
58fac0e8600f     at IncomingMessage.<anonymous> (file:///app/src/app-simplefin/app-simplefin.js:237:24)
58fac0e8600f     at IncomingMessage.emit (node:events:529:35)
58fac0e8600f     at endReadableNT (node:internal/streams/readable:1400:12)
58fac0e8600f     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

From the GUI, the loading icon just spins, but I'm not ever able to update/fix my simplefin API key.

Is there anyway to update/fix the simplefin API key manually in a sqlite backup?

I believe I found a workaround. I created a backup of my existing budget. I stopped the container and created a tar.gz of the /data directory. I then started the container. From the Web UI, I recreated a password. Then, I followed the restore procedures to reload my previously created backup.

I re-enabled the experimental feature for simplefin. I went back to the add account and was able to enter my updated API key.

What error did you receive?

See What happend? for the error message

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Firefox, Chrome

Operating System

Mac OSX

@RandomSwiss7983242 RandomSwiss7983242 added the bug Something isn't working label Mar 29, 2024
@joel-jeremy joel-jeremy added the bank sync Related to automatic bank syncing label Apr 4, 2024
@youngcw
Copy link
Contributor

youngcw commented Apr 4, 2024

It is known that the bank sync needs a way to update the keys. I believe that has already been brought up in the simplefin feedback issue. Ill close this as being a duplicate of that

@youngcw youngcw closed this as completed Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bank sync Related to automatic bank syncing bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants