microsoft/playwright · error · Error
Uncompressed har is not supported in thin clients
Error message
Uncompressed har is not supported in thin clients
What it means
Error "Uncompressed har is not supported in thin clients" thrown in microsoft/playwright.
Source
Thrown at packages/playwright-core/src/client/tracing.ts:178
return;
}
const localUtils = this._connection.localUtils();
if (!localUtils)
throw new Error('Cannot save zipped HAR in thin clients');
await localUtils.zip({ zipFile: harParams.path, entries: entries!, mode: 'write', includeSources: false, additionalSources: [] });
return;
}
const { artifact: artifactChannel } = await this._channel.harExport({ harId, mode: 'archive' }, kNoTimeout);
const artifact = Artifact.from(artifactChannel!);
if (isZip) {
await artifact.saveAs(harParams.path);
await artifact.delete();
return;
}
const localUtils = this._connection.localUtils();
if (!localUtils)
throw new Error('Uncompressed har is not supported in thin clients');
await artifact.saveAs(harParams.path + '.tmp');
await localUtils.harUnzip({ zipFile: harParams.path + '.tmp', harFile: harParams.path, resourcesDir: harParams.resourcesDir });
await artifact.delete();
}
async _exportAllHars(): Promise<void> {
await this._wrapApiCall(async () => {
await Promise.all([...this._harRecorders.keys()].map(harId => this._exportHAR(harId)));
}, { internal: true });
}
private async _doStopChunk(filePath: string | undefined) {
this._resetStackCounter();
const additionalSources = [...this._additionalSources];
this._additionalSources.clear();
if (!filePath) {View on GitHub (pinned to c8fc3bf8d3)
When it happens
Trigger: Thrown at packages/playwright-core/src/client/tracing.ts:178 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of microsoft/playwright@c8fc3bf8d3 (2026-08-12).
Data as JSON: /api/errors/74d5e092f2233da5.
Report an issue: GitHub.