Headless Chrome Python 3.8 on AWS Lambda - unexpectedly exited. Status code was: 127 Headless Chrome Python 3.8 on AWS Lambda - unexpectedly exited. Status code was: 127 selenium selenium

Headless Chrome Python 3.8 on AWS Lambda - unexpectedly exited. Status code was: 127


The error might come from the fact that the chromedriver version and the headless chromium binary you are using aren't the same so make sure to download the same version for both

another reson could be that you are not using linux chromedriver and headless chromium and since lambda work on linux the code won't work

hopefully this was useful.