AWS API Gateway only allows 128 KB payload
Whereas github push event sends way more then that if commit consist of huge amount of changes.
Branch rm_webhk_intgrtn fixed it by integrating Github with CodePipeline.
Although it might occur for other git providers.