SmartThing Api: https://api.smartthings.com/v1/apps
RequetsBody:
{
“appName”: “Testingapp”,
“displayName”: “Abc”,
“description”: “Abc”,
“singleInstance”: false,
“appType”: “WEBHOOK_SMART_APP”,
“webhookSmartApp”: {
“targetUrl” : “https://17ecbf03.ngrok.io/v1/appresponse”
}
}
Header:
Authorization: bearer+Token
Content_type: application/json
Response: 422
{
“requestId”: “FEB11822-EB8E-44FF-BAAC-D9DA39F55527”,
“error”: {
“code”: “ConstraintViolationError”,
“message”: “The request is malformed.”,
“details”: [
{
“code”: “TargetTimeoutError”,
“target”: “https://17ecbf03.ngrok.io/v1/appresponse”,
“message”: “Upstream target timed out”,
“details”:
}
]
}
}
please give the solution to solve this error…