AWS Lambda SmartApp fails with ClosestRegionNotFoundError

Sorry about that, I’ll create a report for that to be specified in the SmartApp docs. The ST Schema integration also has the option to use Lambda functions, there, the supported regions are specified:

  • ap-northeast-1 (Tokyo)
  • us-east-1 (N. Virginia)
  • eu-west-1 (Ireland)

Also, if your SmartThings location is from another region, you won’t be able to install the Lambda function. For example, if a user lives in India, the SmartApp should be in the ap-northeast-1 region.

You can see the region of your location by making a query to the Locations endpoint. This is an sample using Postman:

Note: Create your Personal Access Token (PAT) here.
You can also use the SmartThings CLI