Kong/insomnia · error

Request ${options.requestId} not found

Error message

Request ${options.requestId} not found

What it means

Error "Request ${options.requestId} not found" thrown in Kong/insomnia.

Source

Thrown at packages/insomnia/src/main/ipc/main.ts:572

      });
    },
  );

  ipcMainHandle('generateCodeSnippet', async (_, options: { har: object; target: string; client: string }) => {
    const snippet = new HTTPSnippet(options.har as any);
    return snippet.convert(options.target, options.client) || '';
  });

  ipcMainHandle('getCodeSnippetTargets', async () => {
    return availableTargets();
  });

  ipcMainHandle(
    'exportHarWithRequest',
    async (_, options: { requestId: string; environmentId?: string; addContentLength?: boolean }) => {
      const request = await services.request.getById(options.requestId);
      if (!request) {
        throw new Error(`Request ${options.requestId} not found`);
      }
      return exportHarWithRequest(request, options.environmentId, options.addContentLength);
    },
  );

  ipcMainHandle(
    'exportHarRequest',
    async (_, options: { requestId: string; environmentOrWorkspaceId: string; addContentLength?: boolean }) => {
      return exportHarRequest(options.requestId, options.environmentOrWorkspaceId, options.addContentLength);
    },
  );

  ipcMainHandle('exportHarCurrentRequest', async (_, options: { requestId: string; responseId: string }) => {
    const request = await services.request.getById(options.requestId);
    const response = await services.response.getById(options.responseId);
    if (!request || !response) {
      throw new Error('Request or response not found');
    }

View on GitHub (pinned to d9bb2b0142)

When it happens

Trigger: Thrown at packages/insomnia/src/main/ipc/main.ts:572 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of Kong/insomnia@d9bb2b0142 (2026-08-26). Data as JSON: /api/errors/e48903879b4e382c. Report an issue: GitHub.