actualbudget/actual · error · Error

Unable to create category group: ${errorMsg}

Error message

Unable to create category group: ${errorMsg}

What it means

Error "Unable to create category group: ${errorMsg}" thrown in actualbudget/actual.

Source

Thrown at packages/loot-core/src/server/importers/ynab5.ts:344

  async function createCategoryGroupWithUniqueName(params: {
    name: string;
    is_income: boolean;
    hidden: boolean;
  }) {
    const baseName = params.hidden ? `${params.name} (hidden)` : params.name;
    let count = 0;

    while (true) {
      const name = count === 0 ? baseName : `${baseName} (${count})`;
      try {
        const id = await send('api/category-group-create', {
          group: { ...params, name },
        });
        return { id, name };
      } catch (e) {
        if (count >= MAX_RETRY) {
          const errorMsg = normalizeError(e);
          throw Error('Unable to create category group: ' + errorMsg);
        }
        count += 1;
      }
    }
  }

  async function createCategoryWithUniqueName(params: {
    name: string;
    group_id: string;
    hidden: boolean;
  }) {
    const baseName = params.hidden ? `${params.name} (hidden)` : params.name;
    let count = 0;

    while (true) {
      const name = count === 0 ? baseName : `${baseName} (${count})`;
      try {
        const id = await send('api/category-create', {

View on GitHub (pinned to d4334cb6e6)

When it happens

Trigger: Thrown at packages/loot-core/src/server/importers/ynab5.ts:344 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of actualbudget/actual@d4334cb6e6 (2026-08-29). Data as JSON: /api/errors/26e86c9db5145c83. Report an issue: GitHub.