# Serverless error - Missing "handler" property in function

**URL:** <https://forum.serverless.com/t/serverless-error-missing-handler-property-in-function/18147>\
**Category:** Serverless Framework\
**Tags:** lambda, cloudformation\
**Created:** [January 2, 2023, 3:38pm UTC](https://forum.serverless.com/t/serverless-error-missing-handler-property-in-function/18147 "2023-01-02T15:38:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiran.oleti9](https://avatars.discourse-cdn.com/v4/letter/k/4491bb/32.png) [@kiran.oleti9](https://forum.serverless.com/u/kiran.oleti9)\
**Post date:** [January 2, 2023, 3:38pm UTC](https://forum.serverless.com/t/serverless-error-missing-handler-property-in-function/18147/1 "2023-01-02T15:38:44Z")

</div>

Hi,

We are deploying lambda using the ECR image, but we are receiving the following error: I’m not sure why the ECR image deployment requires a lambda handler. Could someone please assist me with this problem?

Serverless Error ---------------------------------------

Missing “handler” property in function “message”. Please make sure you point to the correct lambda handler. For example: handler.hello. Please check the docs for more info
