diff --git a/packages/desktop-client/e2e/onboarding.test.js b/packages/desktop-client/e2e/onboarding.test.js
index 3295fd81a6676e163354c8b8b248fc35c8dd3621..a0875be4a2f6825ce3c6ccee9212bfd8c5f7fcad 100644
--- a/packages/desktop-client/e2e/onboarding.test.js
+++ b/packages/desktop-client/e2e/onboarding.test.js
@@ -29,7 +29,7 @@ test.describe('Onboarding', () => {
       path.resolve(__dirname, 'data/ynab4-demo-budget.zip'),
     );
 
-    await expect(budgetPage.budgetTable).toBeVisible();
+    await expect(budgetPage.budgetTable).toBeVisible({ timeout: 30000 });
 
     const accountPage = await navigation.goToAccountPage(
       'Account1 with Starting Balance',
diff --git a/packages/loot-core/src/platform/server/connection/index.api.js b/packages/loot-core/src/platform/server/connection/index.api.js
index 42336ad4c512d8b82a47b93412d637d090f48bd2..e457e8fc6f16812a084764386b10d9a9103cc765 100644
--- a/packages/loot-core/src/platform/server/connection/index.api.js
+++ b/packages/loot-core/src/platform/server/connection/index.api.js
@@ -4,4 +4,8 @@ function send(type, args) {
   // Nothing
 }
 
-module.exports = { init, send };
+function getNumClients() {
+  return 1;
+}
+
+module.exports = { init, send, getNumClients };
diff --git a/packages/loot-core/src/platform/server/connection/index.web.js b/packages/loot-core/src/platform/server/connection/index.web.js
index d80cff1ed84772c6858babbb8284443fab3f2c80..8c9b4f658dcfaee5eeb954f1a0f2cc86a048e818 100644
--- a/packages/loot-core/src/platform/server/connection/index.web.js
+++ b/packages/loot-core/src/platform/server/connection/index.web.js
@@ -112,6 +112,4 @@ function getNumClients() {
   return 1;
 }
 
-function tapIntoAPI() {}
-
-module.exports = { init, send, getNumClients, tapIntoAPI };
+module.exports = { init, send, getNumClients };
diff --git a/upcoming-release-notes/819.md b/upcoming-release-notes/819.md
new file mode 100644
index 0000000000000000000000000000000000000000..a08575c06234792edf7b7542c8a3192a0aacd4f4
--- /dev/null
+++ b/upcoming-release-notes/819.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [j-f1]
+---
+
+Fix error when running importTransactions from the API