Hi@akhtar,
This error appears when you haven’t named your code file or function correctly. You need to go to Lambda -> Functions -> Your Function -> Configuration and check the value in the Handler field.
The format should be fileName.handlerMethod.
Hope this will solve your error.