SmartSense API: Error Handling