Hi, sorry for the delay.
So, this means using a WebHook project, the installation was successful?
Ok, to avoid this issue, make sure you:
- Have your Lambda function in the correct region (
us-east-1
,ap-northeast-1
oreu-west-1
) - You configured correctly your AWS CLI (the correct key and region selected)
- You provided the permissions to your Lambda function (using the correct AWS CLI profile and
principal
value)
aws lambda add-permission --function-name functionName --profile profileName --principal 148790070172 --statement-id smartthings --action lambda:InvokeFunction
- The configuration and code of your Lambda function are correct
a. The project must have thenode_modules
>st-schema
directory.
b. In the runtime configuration, you need to see that the handler info matches your file. Eg. if your file is namedindex.js
,index.handler
it’s correct.