serverless-go
serverless-go copied to clipboard
502 error in API gateway
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 ?