[Bug]: API access error since 26.2.0 #2941

Closed
opened 2026-02-28 20:32:58 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @gwenvador on GitHub (Feb 17, 2026).

What happened?

I use actual API @actual-app/api to import transactions data. Since upgrading to 26.2.0 it is not working anymore and I have this error:

`Database is out of sync with migrations: {
appliedIds: [
1548957970627, 1550601598648, 1555786194328,
1561751833510, 1567699552727, 1582384163573,
1597756566448, 1608652596043, 1608652596044,
1612625548236, 1614782639336, 1615745967948,
1616167010796, 1618975177358, 1632571489012,
1679728867040, 1681115033845, 1682974838138,
1685007876842, 1686139660866, 1688749527273,
1688841238000, 1691233396000, 1694438752000,
1697046240000, 1704572023730, 1704572023731,
1707267033000, 1712784523000, 1716359441000,
1720310586000, 1720664867241, 1720665000000,
1722717601000, 1722804019000, 1723665565000,
1730744182000, 1736640000000, 1737158400000,
1738491452000, 1739139550000, 1740506588539,
1745425408000, 1749799110000, 1749799110001,
1754611200000, 1759260219000, 1759842823172,
1762178745667, 1765518577215
],
available: [
'1548957970627_remove-db-version.sql',
'1550601598648_payees.sql',
'1555786194328_remove_category_group_unique.sql',
'1561751833510_indexes.sql',
'1567699552727_budget.sql',
'1582384163573_cleared.sql',
'1597756566448_rules.sql',
'1608652596043_parent_field.sql',
'1608652596044_trans_views.sql',
'1612625548236_optimize.sql',
'1614782639336_trans_views2.sql',
'1615745967948_meta.sql',
'1616167010796_accounts_order.sql',
'1618975177358_schedules.sql',
'1632571489012_remove_cache.js',
'1679728867040_rules_conditions.sql',
'1681115033845_add_schedule_name.sql',
'1682974838138_remove_payee_rules.sql',
'1685007876842_add_category_hidden.sql',
'1686139660866_remove_account_type.sql',
'1688749527273_transaction_filters.sql',
'1688841238000_add_account_type.sql',
'1691233396000_add_schedule_next_date_tombstone.sql',
'1694438752000_add_goal_targets.sql',
'1697046240000_add_reconciled.sql',
'1704572023730_add_account_sync_source.sql',
'1704572023731_add_missing_goCardless_sync_source.sql',
'1707267033000_reports.sql',
'1712784523000_unhide_input_group.sql',
'1716359441000_include_current.sql',
'1720310586000_link_transfer_schedules.sql',
'1720664867241_add_payee_favorite.sql',
'1720665000000_goal_context.sql',
'1722717601000_reports_move_selected_categories.js',
'1722804019000_create_dashboard_table.js',
'1723665565000_prefs.js',
'1730744182000_fix_dashboard_table.sql',
'1736640000000_custom_report_sorting.sql',
'1737158400000_add_learn_categories_to_payees.sql',
'1738491452000_sorting_rename.sql',
'1739139550000_bank_sync_page.sql',
'1740506588539_add_last_reconciled_at.sql',
'1745425408000_update_budgetType_pref.sql',
'1749799110000_add_tags.sql',
'1749799110001_tags_tombstone.sql',
'1754611200000_add_category_template_settings.sql',
'1759260219000_add_trim_interval_report_setting.sql',
'1759842823172_add_isGlobal_to_preferences.sql',
'1762178745667_rename_csv_skip_lines_pref.sql'
]
}
Error updating Error: out-of-sync-migrations
at checkDatabaseValidity (/home/ubuntu/docker/actual/node_modules/@actual-app/api/dist/app/bundle.api.js:121992:19)
at migrate (/home/ubuntu/docker/actual/node_modules/@actual-app/api/dist/app/bundle.api.js:122000:5)
at async runMigrations (/home/ubuntu/docker/actual/node_modules/@actual-app/api/dist/app/bundle.api.js:122008:5)
at async updateVersion (/home/ubuntu/docker/actual/node_modules/@actual-app/api/dist/app/bundle.api.js:122022:5)
at async _loadBudget (/home/ubuntu/docker/actual/node_modules/@actual-app/api/dist/app/bundle.api.js:122539:9)
at async Object.loadBudget [as load-budget] (/home/ubuntu/docker/actual/node_modules/@actual-app/api/dist/app/bundle.api.js:122342:17)
at async handlers.api/download-budget (/home/ubuntu/docker/actual/node_modules/@actual-app/api/dist/app/bundle.api.js:109514:9)
Script failed: {
type: 'APIError',
message: 'No budget file is open',
meta: undefined
}
node:internal/process/promises:392
new UnhandledPromiseRejection(reason);
^

UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#

Originally created by @gwenvador on GitHub (Feb 17, 2026). ### What happened? I use actual API @actual-app/api to import transactions data. Since upgrading to 26.2.0 it is not working anymore and I have this error: `Database is out of sync with migrations: { appliedIds: [ 1548957970627, 1550601598648, 1555786194328, 1561751833510, 1567699552727, 1582384163573, 1597756566448, 1608652596043, 1608652596044, 1612625548236, 1614782639336, 1615745967948, 1616167010796, 1618975177358, 1632571489012, 1679728867040, 1681115033845, 1682974838138, 1685007876842, 1686139660866, 1688749527273, 1688841238000, 1691233396000, 1694438752000, 1697046240000, 1704572023730, 1704572023731, 1707267033000, 1712784523000, 1716359441000, 1720310586000, 1720664867241, 1720665000000, 1722717601000, 1722804019000, 1723665565000, 1730744182000, 1736640000000, 1737158400000, 1738491452000, 1739139550000, 1740506588539, 1745425408000, 1749799110000, 1749799110001, 1754611200000, 1759260219000, 1759842823172, 1762178745667, 1765518577215 ], available: [ '1548957970627_remove-db-version.sql', '1550601598648_payees.sql', '1555786194328_remove_category_group_unique.sql', '1561751833510_indexes.sql', '1567699552727_budget.sql', '1582384163573_cleared.sql', '1597756566448_rules.sql', '1608652596043_parent_field.sql', '1608652596044_trans_views.sql', '1612625548236_optimize.sql', '1614782639336_trans_views2.sql', '1615745967948_meta.sql', '1616167010796_accounts_order.sql', '1618975177358_schedules.sql', '1632571489012_remove_cache.js', '1679728867040_rules_conditions.sql', '1681115033845_add_schedule_name.sql', '1682974838138_remove_payee_rules.sql', '1685007876842_add_category_hidden.sql', '1686139660866_remove_account_type.sql', '1688749527273_transaction_filters.sql', '1688841238000_add_account_type.sql', '1691233396000_add_schedule_next_date_tombstone.sql', '1694438752000_add_goal_targets.sql', '1697046240000_add_reconciled.sql', '1704572023730_add_account_sync_source.sql', '1704572023731_add_missing_goCardless_sync_source.sql', '1707267033000_reports.sql', '1712784523000_unhide_input_group.sql', '1716359441000_include_current.sql', '1720310586000_link_transfer_schedules.sql', '1720664867241_add_payee_favorite.sql', '1720665000000_goal_context.sql', '1722717601000_reports_move_selected_categories.js', '1722804019000_create_dashboard_table.js', '1723665565000_prefs.js', '1730744182000_fix_dashboard_table.sql', '1736640000000_custom_report_sorting.sql', '1737158400000_add_learn_categories_to_payees.sql', '1738491452000_sorting_rename.sql', '1739139550000_bank_sync_page.sql', '1740506588539_add_last_reconciled_at.sql', '1745425408000_update_budgetType_pref.sql', '1749799110000_add_tags.sql', '1749799110001_tags_tombstone.sql', '1754611200000_add_category_template_settings.sql', '1759260219000_add_trim_interval_report_setting.sql', '1759842823172_add_isGlobal_to_preferences.sql', '1762178745667_rename_csv_skip_lines_pref.sql' ] } Error updating Error: out-of-sync-migrations at checkDatabaseValidity (/home/ubuntu/docker/actual/node_modules/@actual-app/api/dist/app/bundle.api.js:121992:19) at migrate (/home/ubuntu/docker/actual/node_modules/@actual-app/api/dist/app/bundle.api.js:122000:5) at async runMigrations (/home/ubuntu/docker/actual/node_modules/@actual-app/api/dist/app/bundle.api.js:122008:5) at async updateVersion (/home/ubuntu/docker/actual/node_modules/@actual-app/api/dist/app/bundle.api.js:122022:5) at async _loadBudget (/home/ubuntu/docker/actual/node_modules/@actual-app/api/dist/app/bundle.api.js:122539:9) at async Object.loadBudget [as load-budget] (/home/ubuntu/docker/actual/node_modules/@actual-app/api/dist/app/bundle.api.js:122342:17) at async handlers.api/download-budget (/home/ubuntu/docker/actual/node_modules/@actual-app/api/dist/app/bundle.api.js:109514:9) Script failed: { type: 'APIError', message: 'No budget file is open', meta: undefined } node:internal/process/promises:392 new UnhandledPromiseRejection(reason); ^ UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<Object>". at throwUnhandledRejectionsMode (node:internal/process/promises:392:7) at processPromiseRejections (node:internal/process/promises:475:17) at process.processTicksAndRejections (node:internal/process/task_queues:106:32) { code: 'ERR_UNHANDLED_REJECTION' } Node.js v22.19.0` ### How can we reproduce the issue? Update to 26.2.0 and connect to the server via API. ### Where are you hosting Actual? None ### What browsers are you seeing the problem on? _No response_ ### Operating System None
GiteaMirror added the bug label 2026-02-28 20:32:59 -06:00
Author
Owner

@youngcw commented on GitHub (Feb 17, 2026):

That's a version mismatch. Make sure your api is up to date.

@youngcw commented on GitHub (Feb 17, 2026): That's a version mismatch. Make sure your api is up to date.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#2941