Error on AWS ES cb not found

forking from foxy coder and replacing