lifadev / archive_aws-lambda-go-shim

Author your AWS Lambda functions in Go, effectively.
https://github.com/eawsy/aws-lambda-go-shim
Apache License 2.0
789 stars 66 forks source link

API Gateway integration - 5xx Error #10

Closed iNDicat0r closed 7 years ago

iNDicat0r commented 7 years ago

I have managed to deploy the hello world example. However i would like to integrate the lambda with API Gateway. I have created my API gateway method and choose the golang lambda function but i get "message": "Internal server error" when i call the http endpoint from postman.

fsenart commented 7 years ago

@iNDicat0r have you tried the integrated solution we provide (https://github.com/eawsy/aws-lambda-go-net) for API Gateway using this shim?

iNDicat0r commented 7 years ago

Thanks I wasn't aware of this(Needs proper documentation). A quick question, why is the handlers size that big ?

fsenart commented 7 years ago

Because of golang/go#17150 :smile: