serverless-go icon indicating copy to clipboard operation
serverless-go copied to clipboard

502 error in API gateway

Open 1robroos opened this issue 5 years ago • 0 comments

Like Brian Rojas also stated in the comment on https://read.acloud.guru/serverless-golang-api-with-aws-lambda-34e442385a6a , I also see the function runs well in the lambda console, but running it with the API gateway it give a 502 error. Seems to deal with a required response format as mentioned in
https://aws.amazon.com/premiumsupport/knowledge-center/malformed-502-api-gateway/ Now I don't know how to program that , but can you look at it ?

1robroos avatar Apr 27 '19 18:04 1robroos