When calling lambda fuction to upload video with size 3MB, It works fine. But when calling lambda function to upload video which size greater than 7MB, I got error 502 bad gateway with message:"Internal server error" and:
- content-length →36
- content-type →application/json date →Tue, 09 May 2017 14:50:47 GMT
- status →502
- via →1.1 7a85b832328dd1601b1abdd4f06ee281.cloudfront.net (CloudFront)
x-amz-cf-id →0aY02rUX-0WJDjR2tLInShdHxrUMX3ncFv42C60udOPSaW7b5rdbNw==
x-amzn-requestid →e310d705-34c6-11e7-8f97-abf7320514e7
- x-cache →Error from cloudfront
My payload is : { "fileName":"test.mp4", "data":"data:video/mp4;base64,AAAAHGZ0eXBkYXNoAAAA.........." (content of video format base64) }
So please help me why I got this error and how/where config to pass this issue. Thanks.