When I try to Register my new app for the webhook, I got a error 403 from CloudFront
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <TITLE>ERROR: The request could not be satisfied</TITLE> </HEAD><BODY> <H1>403 ERROR</H1> <H2>The request could not be satisfied.</H2> <HR noshade size="1px"> Request blocked. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. <BR clear="all"> If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation. <BR clear="all"> <HR noshade size="1px"> <PRE> Generated by cloudfront (CloudFront) Request ID: MT3hKNqR1X8f7dY83N7bJaK7OiheP32H8o-ucsnXOrfVpUZGQKfJfw== </PRE> <ADDRESS> </ADDRESS> </BODY></HTML>
AlejandroPadilla
(Please contact @nayelyz or @Luis_Humberto_Medina )
9
HI @vinnygambiny after to investigated with the team, they commented that CloudFront that normally used for static content, and I’m not familiar with that service, what we have seen is that developers used the API and the Lambda option to created SmartApps.
If I create the app with the API, the app is created but not show in my SmartThings mobile app. Probably because it’s not registred
AlejandroPadilla
(Please contact @nayelyz or @Luis_Humberto_Medina )
11
The app is not shown in the SmartThings mobile app, because it is not deployed to test when you create it from the API the option is not available,
this is from the documentation on step 2
Ensure the URL is HTTPS if hosting via webhook endpoint
I’m not familiar with Cloudfront, but if you want to use AWS you can try with AWS API gateway to host your webhook.