TimeOut Exception

We are trying to integrate Salesforce with Spark for a fun research and development project, we manage to get everything connected and working besides the server which doesn’t respond and throws timeout exception everytime a I make a call.

To get started, I created a simple project shown in this document here

Cloud LED over Internet : http://docs.spark.io/examples/

Here is my request

curl https://api.spark.io/v1/devices/53ff72065075535146131587/led -d access_token=4183d215afd034c8794d3dea533ec47b35b0e903 -d params=l1,HIGH

{
  "ok": false,
  "error": "Timed out."
}

And it always timed out - Please Advice

-Harshit

Looking at your core, it looks as if it hasn’t flashed properly. There are no functions exposed, thus you’re unable to call them. Try flashing it again, and maybe add this bit in the loop to check whether it flashed properly:

RGB.control(true);
RGB.color(0,255,0);
delay(250);
RGB.control(false);

Then give it another go, and let us know if it worked.

1 Like