Kong/insomnia · error · Error

currently "clear" is not supported for the timeline

Error message

currently "clear" is not supported for the timeline

What it means

Error "currently "clear" is not supported for the timeline" thrown in Kong/insomnia.

Source

Thrown at packages/insomnia-scripting-environment/src/objects/console.ts:114

  info = (...values: any[]) => {
    this.printLog(this.rows, 'info', ...values);
  };

  /**
   * Logs the provided values to the console with a log level of 'error'.
   *
   * @param values - The values to be logged. Accepts any number of arguments of any type.
   */
  error = (...values: any[]) => {
    this.printLog(this.rows, 'error', ...values);
  };

  /**
   * Clears the console output for the specified log level.
   * This method is currently not supported.
   */
  clear = (_level: LogLevel, _message?: any, ..._optionalParams: any[]) => {
    throw new Error('currently "clear" is not supported for the timeline');
  };

  /** @ignore */
  dumpLogs = () => {
    return this.rows.map(row => JSON.stringify(row) + '\n').join('\n');
  };

  /** @ignore */
  dumpLogsAsArray = () => {
    return this.rows.map(row => JSON.stringify(row) + '\n');
  };
}

/** @ignore */
let builtInConsole = new Console();
/** @ignore */
export function getExistingConsole() {
  return builtInConsole;

View on GitHub (pinned to d9bb2b0142)

When it happens

Trigger: Thrown at packages/insomnia-scripting-environment/src/objects/console.ts:114 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/009b8bb77b1528a6. Report an issue: GitHub.