Article - CS335669
"Invalid parameter type for service" Error When Executing Javascript Service In ThingWorx
Modified: 16-Dec-2020
Applies To
- ThingWorx Platform 7.0 F000 to 9.1 F000
Description
- Error received when executing a JavaScript service with parameters referenced via variable
- Example code:
-
Things["MyThing"].MyService(MyParams);
-
- Example code:
- Full error:
- "Error executing service MyService. Message :: Invalid parameter type for service : [MyService] on MyThing- See Script Error Log for more details."
This is a printer-friendly version of Article 335669 and may be out of date. For the latest version click CS335669