Attempting to register smart app "A temporary server error occurred Upstream target timed out"

Hello, @manderley

This error message tends to be triggered under the next circumstances:

  1. (Using a webhook) The SmartApp isn’t handling correctly the PING lifecycle.

  2. The add-permission step has been skipped, therefore SmartThings won’t be able to invoke your SmartApp’s Lambda Function.

  3. At the 6th step from SmartApp Java SDK, it will need the --profile parameter 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.

1 Like