(Created on )

Puppeteer: Got status code {value}

An installer HTTP request returned an unexpected status code.


An installer HTTP request returned an unexpected status code.

Error message

Got status code {value}

{value} is replaced by the value shown in your error message.

How this error happens

A browser download or metadata request received a non-success HTTP status. For example, a mirror can return 404 for the requested archive or 403 because its access policy blocks the installer.

The failing command assumes the endpoint or provider condition described above; it is not expected to fail on a healthy installation.

npx puppeteer browsers install

How to fix

Restore access to the correct browser archive and metadata endpoints, fix the nested HTTP or provider error, then rerun the package-managed browser installer.

npx puppeteer browsers install

Things to keep in mind

The command is unchanged because the repair is in the network, mirror or installation environment. Do not disable TLS verification or assume every HTTP failure is a missing executable.

All Puppeteer errors

Keep Reading

Puppeteer Guides

All Guides →