(Created on )

Puppeteer: Could not parse JSON from

A browser metadata/download endpoint returned data that could not be parsed as JSON.


A browser metadata/download endpoint returned data that could not be parsed as JSON.

Error message

Could not parse JSON from

How this error happens

A browser metadata endpoint returned HTML or other invalid JSON, often because a proxy or login gateway intercepted the response.

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 →