[Bug]: Fresh import of backup file and new token for bank sync SimpleFin #1822

Open
opened 2026-02-28 19:55:21 -06:00 by GiteaMirror · 8 comments
Owner

Originally created by @seannaesmb on GitHub (Feb 5, 2025).

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

Summary: Imported a backup of my budget into a fresh docker install within TrueNas. Cleared the SimpleFin token and entered in the New token created. Click Link accounts after token entry, button spins and prompts for me to enter in my token again.

I can confirm the token entered is not making a successful connection to SimpleFIn to change status to "Claimed". I have tested locally using SimpleFIn Developer and verified the token does work. I did attempt to unlink all accounts to see if re-link prompt would display with no luck

  1. Initial thoughts are the token is still set to the prior token and as that's been "removed" it isn't changing the token to the new entered value
{
    "status": "ok",
    "data": {
        "error_type": "INVALID_ACCESS_TOKEN",
        "error_code": "INVALID_ACCESS_TOKEN",
        "status": "rejected",
        "reason": "Invalid SimpleFIN access token.  Reset the token and re-link any broken accounts."
    }
}

How can we reproduce the issue?

How can we reproduce the issue?

  1. Docker installation
  2. Import a backup file with a known token to have been removed from SimpleFin
  3. Clear the token and enter in a newly created token
  4. Spinning and re-prompt for token with below showing in Developer Tools
{
    "status": "ok",
    "data": {
        "error_type": "INVALID_ACCESS_TOKEN",
        "error_code": "INVALID_ACCESS_TOKEN",
        "status": "rejected",
        "reason": "Invalid SimpleFIN access token.  Reset the token and re-link any broken accounts."
    }
}

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Chrome

Operating System

Linux

Originally created by @seannaesmb on GitHub (Feb 5, 2025). ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? Summary: Imported a backup of my budget into a fresh docker install within TrueNas. Cleared the SimpleFin token and entered in the New token created. Click Link accounts after token entry, button spins and prompts for me to enter in my token again. I can confirm the token entered is not making a successful connection to SimpleFIn to change status to "Claimed". I have tested locally using SimpleFIn Developer and verified the token does work. I did attempt to unlink all accounts to see if re-link prompt would display with no luck 1. Initial thoughts are the token is still set to the prior token and as that's been "removed" it isn't changing the token to the new entered value ``` { "status": "ok", "data": { "error_type": "INVALID_ACCESS_TOKEN", "error_code": "INVALID_ACCESS_TOKEN", "status": "rejected", "reason": "Invalid SimpleFIN access token. Reset the token and re-link any broken accounts." } } ``` ### How can we reproduce the issue? How can we reproduce the issue? 1. Docker installation 2. Import a backup file with a known token to have been removed from SimpleFin 3. Clear the token and enter in a newly created token 4. Spinning and re-prompt for token with below showing in Developer Tools ``` { "status": "ok", "data": { "error_type": "INVALID_ACCESS_TOKEN", "error_code": "INVALID_ACCESS_TOKEN", "status": "rejected", "reason": "Invalid SimpleFIN access token. Reset the token and re-link any broken accounts." } } ``` ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Chrome ### Operating System Linux
GiteaMirror added the bank syncbughelp wanted labels 2026-02-28 19:55:21 -06:00
Author
Owner

@seannaesmb commented on GitHub (Feb 7, 2025):

Within pika pod, I have created a new token. After I enter nothing would sync with "SimpleFin Bad Token" BUT would show the account to link or remove link.

Within pika pod, I removed a link and re-added. Sync looked to function for all accounts BUT still through a "Internal error". Version 25 still currently.

@seannaesmb commented on GitHub (Feb 7, 2025): Within pika pod, I have created a new token. After I enter nothing would sync with "SimpleFin Bad Token" BUT would show the account to link or remove link. Within pika pod, I removed a link and re-added. Sync looked to function for all accounts BUT still through a "Internal error". Version 25 still currently.
Author
Owner

@sokosoko333 commented on GitHub (Mar 7, 2025):

Confirming this issue after upgrade to 25.3.1 (fresh import, removed link to simplefin and tried creating new connection with new token).

The error I am getting is:
Error: Invalid SimpleFIN access token. Reset the token and re-link any broken accounts.
f CreateAccountModal.tsx:76
w usePress.mjs:133
No useEffectEvent.mjs:26
N usePress.mjs:318
t useGlobalListeners.mjs:28
onPointerDown usePress.mjs:277
React 11 ....

I tried the same token with simplefin-transactions.py script and that worked (script can be found here https://gist.github.com/psybers/60e7332f93dc59f3ac5f636827921e17).

Few other things that I tried was:

  1. Remove data dir and try re-importing saved file - same issue
  2. Remove data dir, sign-out, delete all files (local and remote) and then start fresh - same issue. It does not accept SimpleFin token.
@sokosoko333 commented on GitHub (Mar 7, 2025): Confirming this issue after upgrade to 25.3.1 (fresh import, removed link to simplefin and tried creating new connection with new token). The error I am getting is: Error: Invalid SimpleFIN access token. Reset the token and re-link any broken accounts. f CreateAccountModal.tsx:76 w usePress.mjs:133 No useEffectEvent.mjs:26 N usePress.mjs:318 t useGlobalListeners.mjs:28 onPointerDown usePress.mjs:277 React 11 .... I tried the same token with simplefin-transactions.py script and that worked (script can be found here https://gist.github.com/psybers/60e7332f93dc59f3ac5f636827921e17). Few other things that I tried was: 1. Remove data dir and try re-importing saved file - same issue 2. Remove data dir, sign-out, delete all files (local and remote) and then start fresh - same issue. It does not accept SimpleFin token.
Author
Owner

@seannaesmb commented on GitHub (Mar 7, 2025):

Don't re use the token. Create a new token. Try after entering to unlink
and re link one account. Then bank re sync

On Fri, Mar 7, 2025, 12:44 PM sokosoko333 @.***> wrote:

Confirming this issue after upgrade to 25.3.1 (fresh import, removed link
to simplefin and tried creating new connection with new token).

The error I am getting is:
Error: Invalid SimpleFIN access token. Reset the token and re-link any
broken accounts.
f CreateAccountModal.tsx:76
w usePress.mjs:133
No useEffectEvent.mjs:26
N usePress.mjs:318
t useGlobalListeners.mjs:28
onPointerDown usePress.mjs:277
React 11 ....

I tried the same token with simplefin-transactions.py script and that
worked (script can be found here
https://gist.github.com/psybers/60e7332f93dc59f3ac5f636827921e17).

Few other things that I tried was:

  1. Remove data dir and try re-importing saved file - same issue
  2. Remove data dir, sign-out, delete all files (local and remote) and
    then start fresh - same issue. It does not accept SimpleFin token.


Reply to this email directly, view it on GitHub
https://github.com/actualbudget/actual/issues/4295#issuecomment-2707044225,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJXSFQCZ5LHX2Z2ONPRO432THLHBAVCNFSM6AAAAABWP3DNZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBXGA2DIMRSGU
.
You are receiving this because you authored the thread.Message ID:
@.***>
[image: sokosoko333]sokosoko333 left a comment
(actualbudget/actual#4295)
https://github.com/actualbudget/actual/issues/4295#issuecomment-2707044225

Confirming this issue after upgrade to 25.3.1 (fresh import, removed link
to simplefin and tried creating new connection with new token).

The error I am getting is:
Error: Invalid SimpleFIN access token. Reset the token and re-link any
broken accounts.
f CreateAccountModal.tsx:76
w usePress.mjs:133
No useEffectEvent.mjs:26
N usePress.mjs:318
t useGlobalListeners.mjs:28
onPointerDown usePress.mjs:277
React 11 ....

I tried the same token with simplefin-transactions.py script and that
worked (script can be found here
https://gist.github.com/psybers/60e7332f93dc59f3ac5f636827921e17).

Few other things that I tried was:

  1. Remove data dir and try re-importing saved file - same issue
  2. Remove data dir, sign-out, delete all files (local and remote) and
    then start fresh - same issue. It does not accept SimpleFin token.


Reply to this email directly, view it on GitHub
https://github.com/actualbudget/actual/issues/4295#issuecomment-2707044225,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJXSFQCZ5LHX2Z2ONPRO432THLHBAVCNFSM6AAAAABWP3DNZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBXGA2DIMRSGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

@seannaesmb commented on GitHub (Mar 7, 2025): Don't re use the token. Create a new token. Try after entering to unlink and re link one account. Then bank re sync On Fri, Mar 7, 2025, 12:44 PM sokosoko333 ***@***.***> wrote: > Confirming this issue after upgrade to 25.3.1 (fresh import, removed link > to simplefin and tried creating new connection with new token). > > The error I am getting is: > Error: Invalid SimpleFIN access token. Reset the token and re-link any > broken accounts. > f CreateAccountModal.tsx:76 > w usePress.mjs:133 > No useEffectEvent.mjs:26 > N usePress.mjs:318 > t useGlobalListeners.mjs:28 > onPointerDown usePress.mjs:277 > React 11 .... > > I tried the same token with simplefin-transactions.py script and that > worked (script can be found here > https://gist.github.com/psybers/60e7332f93dc59f3ac5f636827921e17). > > Few other things that I tried was: > > 1. Remove data dir and try re-importing saved file - same issue > 2. Remove data dir, sign-out, delete all files (local and remote) and > then start fresh - same issue. It does not accept SimpleFin token. > > — > Reply to this email directly, view it on GitHub > <https://github.com/actualbudget/actual/issues/4295#issuecomment-2707044225>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABJXSFQCZ5LHX2Z2ONPRO432THLHBAVCNFSM6AAAAABWP3DNZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBXGA2DIMRSGU> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> > [image: sokosoko333]*sokosoko333* left a comment > (actualbudget/actual#4295) > <https://github.com/actualbudget/actual/issues/4295#issuecomment-2707044225> > > Confirming this issue after upgrade to 25.3.1 (fresh import, removed link > to simplefin and tried creating new connection with new token). > > The error I am getting is: > Error: Invalid SimpleFIN access token. Reset the token and re-link any > broken accounts. > f CreateAccountModal.tsx:76 > w usePress.mjs:133 > No useEffectEvent.mjs:26 > N usePress.mjs:318 > t useGlobalListeners.mjs:28 > onPointerDown usePress.mjs:277 > React 11 .... > > I tried the same token with simplefin-transactions.py script and that > worked (script can be found here > https://gist.github.com/psybers/60e7332f93dc59f3ac5f636827921e17). > > Few other things that I tried was: > > 1. Remove data dir and try re-importing saved file - same issue > 2. Remove data dir, sign-out, delete all files (local and remote) and > then start fresh - same issue. It does not accept SimpleFin token. > > — > Reply to this email directly, view it on GitHub > <https://github.com/actualbudget/actual/issues/4295#issuecomment-2707044225>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABJXSFQCZ5LHX2Z2ONPRO432THLHBAVCNFSM6AAAAABWP3DNZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBXGA2DIMRSGU> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@sokosoko333 commented on GitHub (Mar 7, 2025):

I did. I created new token (fresh, unused by any other application), but for some reason ActualBudget is telling me that token is invalid.

@sokosoko333 commented on GitHub (Mar 7, 2025): I did. I created new token (fresh, unused by any other application), but for some reason ActualBudget is telling me that token is invalid.
Author
Owner

@sokosoko333 commented on GitHub (Mar 7, 2025):

I also tried going to previous working version and that did not help (same error).
Then I deleted all data, and tried on fresh instance. That worked.

After that I re-imported my old data and now everything works.

@sokosoko333 commented on GitHub (Mar 7, 2025): I also tried going to previous working version and that did not help (same error). Then I deleted all data, and tried on fresh instance. That worked. After that I re-imported my old data and now everything works.
Author
Owner

@mr-gadget commented on GitHub (Apr 18, 2025):

I'm experiencing this issue, too. I have tried the following on Actual Budget 25.4.0 running in Docker:

  • Delete all server side data
  • Create new, fresh budget file
  • Generate new (never used) token on SimpleFin
  • Add new token - this appeared to succeed
  • Attempt to link account. This failed with this error in the console:
Error: Invalid SimpleFIN access token.  Reset the token and re-link any broken accounts.
    p CreateAccountModal.tsx:90
    x usePress.mjs:136
    Ra useEffectEvent.mjs:26
    onClick usePress.mjs:221
    Yc chain.mjs:15
    React 27
    Redux 11
    g Sidebar.tsx:62
    React 11
CreateAccountModal.tsx:129:14
    p CreateAccountModal.tsx:129
    x usePress.mjs:136
    Ra useEffectEvent.mjs:26
    onClick usePress.mjs:221
    Yc chain.mjs:15
    React 27
    Redux 11
    g Sidebar.tsx:62
    React 11

Just to be sure my SimpleFin account was setup correctly, I used the script linked above with a different token and was able to successfully pull down data. So, I 'm pretty sure my SimpleFin account is setup correctly.

Any suggestions on what else to try?

@mr-gadget commented on GitHub (Apr 18, 2025): I'm experiencing this issue, too. I have tried the following on Actual Budget 25.4.0 running in Docker: - Delete all server side data - Create new, fresh budget file - Generate new (never used) token on SimpleFin - Add new token - this appeared to succeed - Attempt to link account. This failed with this error in the console: ```javascript Error: Invalid SimpleFIN access token. Reset the token and re-link any broken accounts. p CreateAccountModal.tsx:90 x usePress.mjs:136 Ra useEffectEvent.mjs:26 onClick usePress.mjs:221 Yc chain.mjs:15 React 27 Redux 11 g Sidebar.tsx:62 React 11 CreateAccountModal.tsx:129:14 p CreateAccountModal.tsx:129 x usePress.mjs:136 Ra useEffectEvent.mjs:26 onClick usePress.mjs:221 Yc chain.mjs:15 React 27 Redux 11 g Sidebar.tsx:62 React 11 ``` Just to be sure my SimpleFin account was setup correctly, I used the script linked above with a different token and was able to successfully pull down data. So, I 'm pretty sure my SimpleFin account is setup correctly. Any suggestions on what else to try?
Author
Owner

@seannaesmb commented on GitHub (Apr 18, 2025):

Unlink an account and re link and test sync. Make sure you use a new fin
key

On Fri, Apr 18, 2025, 4:57 PM mr-gadget @.***> wrote:

I'm experiencing this issue, too. I have tried the following on Actual
Budget 25.4.0 running in Docker:

  • Delete all server side data
  • Create new, fresh budget file
  • Generate new (never used) token on SimpleFin
  • Add new token - this appeared to succeed
  • Attempt to link account. This failed with this error in the console:

Error: Invalid SimpleFIN access token. Reset the token and re-link any broken accounts.
p CreateAccountModal.tsx:90
x usePress.mjs:136
Ra useEffectEvent.mjs:26
onClick usePress.mjs:221
Yc chain.mjs:15
React 27
Redux 11
g Sidebar.tsx:62
React 11CreateAccountModal.tsx:129:14
p CreateAccountModal.tsx:129
x usePress.mjs:136
Ra useEffectEvent.mjs:26
onClick usePress.mjs:221
Yc chain.mjs:15
React 27
Redux 11
g Sidebar.tsx:62
React 11

Just to be sure my SimpleFin account was setup correctly, I used the
script linked above with a different token and was able to successfully
pull down data. So, I 'm pretty sure my SimpleFin account is setup
correctly.

Any suggestions on what else to try?


Reply to this email directly, view it on GitHub
https://github.com/actualbudget/actual/issues/4295#issuecomment-2816184452,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJXSFXG6DOSBQOMQJMLJAL22FRMVAVCNFSM6AAAAABWP3DNZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJWGE4DINBVGI
.
You are receiving this because you authored the thread.Message ID:
@.***>
mr-gadget left a comment (actualbudget/actual#4295)
https://github.com/actualbudget/actual/issues/4295#issuecomment-2816184452

I'm experiencing this issue, too. I have tried the following on Actual
Budget 25.4.0 running in Docker:

  • Delete all server side data
  • Create new, fresh budget file
  • Generate new (never used) token on SimpleFin
  • Add new token - this appeared to succeed
  • Attempt to link account. This failed with this error in the console:

Error: Invalid SimpleFIN access token. Reset the token and re-link any broken accounts.
p CreateAccountModal.tsx:90
x usePress.mjs:136
Ra useEffectEvent.mjs:26
onClick usePress.mjs:221
Yc chain.mjs:15
React 27
Redux 11
g Sidebar.tsx:62
React 11CreateAccountModal.tsx:129:14
p CreateAccountModal.tsx:129
x usePress.mjs:136
Ra useEffectEvent.mjs:26
onClick usePress.mjs:221
Yc chain.mjs:15
React 27
Redux 11
g Sidebar.tsx:62
React 11

Just to be sure my SimpleFin account was setup correctly, I used the
script linked above with a different token and was able to successfully
pull down data. So, I 'm pretty sure my SimpleFin account is setup
correctly.

Any suggestions on what else to try?


Reply to this email directly, view it on GitHub
https://github.com/actualbudget/actual/issues/4295#issuecomment-2816184452,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJXSFXG6DOSBQOMQJMLJAL22FRMVAVCNFSM6AAAAABWP3DNZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJWGE4DINBVGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

@seannaesmb commented on GitHub (Apr 18, 2025): Unlink an account and re link and test sync. Make sure you use a new fin key On Fri, Apr 18, 2025, 4:57 PM mr-gadget ***@***.***> wrote: > I'm experiencing this issue, too. I have tried the following on Actual > Budget 25.4.0 running in Docker: > > - Delete all server side data > - Create new, fresh budget file > - Generate new (never used) token on SimpleFin > - Add new token - this appeared to succeed > - Attempt to link account. This failed with this error in the console: > > Error: Invalid SimpleFIN access token. Reset the token and re-link any broken accounts. > p CreateAccountModal.tsx:90 > x usePress.mjs:136 > Ra useEffectEvent.mjs:26 > onClick usePress.mjs:221 > Yc chain.mjs:15 > React 27 > Redux 11 > g Sidebar.tsx:62 > React 11CreateAccountModal.tsx:129:14 > p CreateAccountModal.tsx:129 > x usePress.mjs:136 > Ra useEffectEvent.mjs:26 > onClick usePress.mjs:221 > Yc chain.mjs:15 > React 27 > Redux 11 > g Sidebar.tsx:62 > React 11 > > Just to be sure my SimpleFin account was setup correctly, I used the > script linked above with a different token and was able to successfully > pull down data. So, I 'm pretty sure my SimpleFin account is setup > correctly. > > Any suggestions on what else to try? > > — > Reply to this email directly, view it on GitHub > <https://github.com/actualbudget/actual/issues/4295#issuecomment-2816184452>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABJXSFXG6DOSBQOMQJMLJAL22FRMVAVCNFSM6AAAAABWP3DNZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJWGE4DINBVGI> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> > *mr-gadget* left a comment (actualbudget/actual#4295) > <https://github.com/actualbudget/actual/issues/4295#issuecomment-2816184452> > > I'm experiencing this issue, too. I have tried the following on Actual > Budget 25.4.0 running in Docker: > > - Delete all server side data > - Create new, fresh budget file > - Generate new (never used) token on SimpleFin > - Add new token - this appeared to succeed > - Attempt to link account. This failed with this error in the console: > > Error: Invalid SimpleFIN access token. Reset the token and re-link any broken accounts. > p CreateAccountModal.tsx:90 > x usePress.mjs:136 > Ra useEffectEvent.mjs:26 > onClick usePress.mjs:221 > Yc chain.mjs:15 > React 27 > Redux 11 > g Sidebar.tsx:62 > React 11CreateAccountModal.tsx:129:14 > p CreateAccountModal.tsx:129 > x usePress.mjs:136 > Ra useEffectEvent.mjs:26 > onClick usePress.mjs:221 > Yc chain.mjs:15 > React 27 > Redux 11 > g Sidebar.tsx:62 > React 11 > > Just to be sure my SimpleFin account was setup correctly, I used the > script linked above with a different token and was able to successfully > pull down data. So, I 'm pretty sure my SimpleFin account is setup > correctly. > > Any suggestions on what else to try? > > — > Reply to this email directly, view it on GitHub > <https://github.com/actualbudget/actual/issues/4295#issuecomment-2816184452>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABJXSFXG6DOSBQOMQJMLJAL22FRMVAVCNFSM6AAAAABWP3DNZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJWGE4DINBVGI> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@mr-gadget commented on GitHub (Apr 29, 2025):

I haven't tried that, but given that the script above was able to pull down data from Simplefin, doesn't it seem likely that the problem is not with the Simplefin setup but with Actual Budget?

@mr-gadget commented on GitHub (Apr 29, 2025): I haven't tried that, but given that the script above was able to pull down data from Simplefin, doesn't it seem likely that the problem is not with the Simplefin setup but with Actual Budget?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#1822