shelfio / chrome-aws-lambda-layer

58 MB Google Chrome to fit inside AWS Lambda Layer compressed with Brotli
MIT License
637 stars 45 forks source link

Function doesnt work when invoked with API Gateway #32

Closed francisacosta closed 2 years ago

francisacosta commented 3 years ago

Hi, has anyone encountered the puppeteer doesnt work when lambda function is called with API Gateway? its works fine when run on lambda function code editor. I notice that it stops working when its starting to work on a pop-up modal.

vladholubiev commented 2 years ago

This is most likely a problem with your code, not the layer. The layer doesn't care is there an API gateway or whatever in front of Lambda.