Hello, @manderley
This error message tends to be triggered under the next circumstances:
-
(Using a webhook) The SmartApp isn’t handling correctly the PING lifecycle.
-
The
add-permissionstep has been skipped, therefore SmartThings won’t be able to invoke your SmartApp’s Lambda Function. -
At the 6th step from SmartApp Java SDK, it will need the
--profileparameter when adding permissions. This parameter contains the Access and the Secret Keys to grant access to your Lambda Function, also it must be registered with a region that matches your Lambda’s region.
To configure your aws profile through the aws cli, type the next line at your console:
aws configure --profile default
Then you’ll be prompted to fill the following information:
AWS Access Key ID:
AWS Secret Access Key:
Default region name: <---- This value must match your Lambda's regions.
Default output format:
I hope this information helps you to register your SmartApp successfully.
Best regards,
Erick.