AWS IoT
Developer Guide

Diagnosing Salesforce IoT Input Stream Action Issues

Execution Trace

How do I see the execution trace of a Salesforce action?

If CloudWatch Logs are not set up, see the Setting Up CloudWatch Logs with AWS IoT section. After you have activated the logs, you are able to see the execution trace of the Salesforce action.

Action Success and Failure

How do I check that messages have been sent successfully to a Salesforce IoT input stream?

View the logs generated by execution of the Salesforce action in CloudWatch Logs. If you see "Action executed successfully," then it means that the AWS IoT rules engine received confirmation from the Salesforce IoT that the message was successfully pushed to the targeted input stream.

If you are experiencing problems with the Salesforce IoT platform, contact Salesforce IoT support.

What do I do if messages have not been sent successfully to a Salesforce IoT input stream?

View the logs generated by execution of the Salesforce action in CloudWatch Logs. Depending on the log entry, you can try the following actions:

Failed to locate the host

Check that the url parameter of the action is correct and that your Salesforce IoT input stream exists.

Received Internal Server Error from Salesforce

Retry. If the problem persists, contact Salesforce IoT Support.

Received Bad Request Exception from Salesforce

Check the payload you are sending for errors.

Received Unsupported Media Type Exception from Salesforce

Salesforce IoT does not support a binary payload at this time. Check that you are sending a JSON payload.

Received Unauthorized Exception from Salesforce

Check that the token parameter of the action is correct and that your token is still valid.

Received Not Found Exception from Salesforce

Check that the url parameter of the action is correct and that your Salesforce IoT input stream exists.

If you receive an error that is not listed here, contact AWS Support.