Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trying to set up AWS IoT button for the first time: Please correct validation errors with your trigger

Has anyone successfully set up their AWS IoT button?

When stepping through with default values I keep getting this message: Please correct validation errors with your trigger. But there are no validation errors on any of the setup pages, or the page with the error message.

I hate asking a broad question like this but it appears no one has ever had this error before.

like image 875
thewebguy Avatar asked Dec 29 '25 09:12

thewebguy


1 Answers

This has been driving me nuts for a week!

I got it to work by using Custom IoT Rule instead of IoT Button on the IoT Type. The default rule name is iotbutton_xxxxxxxxxxxxxxxx and the default SQL statement is SELECT * FROM 'iotbutton/xxxxxxxxxxxxxxxx' (xxx... = serial number).

Make sure you copy the policy from the sample code into the execution role - I know that has tripped up a lot of people.

like image 199
Jon Avatar answered Dec 30 '25 22:12

Jon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!