Shake service debugging


#1

Dear community,

I got stuck at the Shake service. I am able to see the Shake service in my Thingworx and the service asks to give a ShakeName when I execute the service, so far so good.

When I start the service, I get no syntax error, but instead I get the: “Error getting script result. Code = 400 Result = You must provide the ‘shakeName’ parameter”. This error we coded ourselves in case there is no text in the input textbox, but I typed ‘Heavy Shake’. I tried debugging the script by logging the variable, but the shakeName variable is indeed nill… I reviewed the video and checked my code for 3 hours now. Can anyone see where I messed up?

Thanks.


#2

I’m having the same issue with the GetCurrentSatus service, no syntax error, but the output is nil, so it won’t work.