Skip to content

[Bug]: Browser Download Fails with 400 GatewayExceptionResponse #40084

Description

Version

1.59.1

Steps to reproduce

Description

When running npx playwright install, the browser download fails with a 400 error and "GatewayExceptionResponse" from the Azure CDN endpoint.

Error Message

Downloading Chrome for Testing 147.0.7727.15 (playwright chromium v1217) from https://playwright.azureedge.net/builds/cft/147.0.7727.15/win64/chrome-win64.zip
Error: Download failed: server returned code 400 body 'GatewayExceptionResponse'. URL: https://playwright.azureedge.net/builds/cft/147.0.7727.15/win64/chrome-win64.zip
    at IncomingMessage.handleError (C:\Projects\Mijn Fluvius\applications\node_modules\playwright-core\lib\server\registry\oopDownloadBrowserMain.js:58:23)
    at IncomingMessage.emit (node:events:520:35)
    at endReadableNT (node:internal/streams/readable:1701:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:89:21)

The download is attempted 5 times and fails each time, ultimately resulting in:

Failed to install browsers
Error: Failed to download Chrome for Testing 147.0.7727.15 (playwright chromium v1217), caused by
Error: Download failure, code=1

Steps to Reproduce

  1. Install @playwright/test@1.59.1 in a project
  2. Run npx playwright install
  3. Observe the download failure with 400 GatewayExceptionResponse

Expected behavior

The Chrome for Testing browser should download successfully from the Azure CDN.

Actual behavior

The download fails with a 400 HTTP status code and "GatewayExceptionResponse" body from the Azure CDN endpoint.

Additional context

No response

Environment

- **Playwright Version**: `@playwright/test@1.59.1`
- **Operating System**: Windows 11 (or Windows version from system)
- **Node.js Version**: `v24.13.0`
- **npm Version**: `11.6.2`
- **Browser Being Downloaded**: Chrome for Testing 147.0.7727.15 (playwright chromium v1217)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions