If you see the following error when trying to publish a message to IoT client.
The reason is most likely:
you need to grant LAMBDA permission for accessing IoT client.
Go to rule console and create a proper role with IoT accessing permission
Now, you can apply this role to your LAMBDA function.
留言
張貼留言