Getting a 422 error when creating a new SmartApp on AWS Lamda

Hi there

I’m creating a new SmartApp and stuck at the POST call to /v1/apps to create create the new app. I’m following the guide here:

Here is the output from Postman for that request:



It returns with HTTP Status 422 - Unprocessable Entity.

What seems to be going on here?

Many thanks


Sorry you haven’t received a response until now, John.

For Lambdas, you will get a timeout if you haven’t granted SmartThings permission to invoke it. Note that the principal you will want is for SmartApps (906037444270), not ST Schema. Once you go through those steps, it should work.

Ping me if you get stuck, I can help.