技術文章 - CS335669

"Invalid parameter type for service" Error When Executing Javascript Service In ThingWorx

修改時間: 16-Dec-2020   


套用到

  • ThingWorx Platform 7.0 F000 to 9.1 F000

描述

  • Error received when executing a JavaScript service with parameters referenced via variable
    • Example code:
      • Things["MyThing"].MyService(MyParams);
  • 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 PDF version of Article 335669 and may be out of date. For the latest version CS335669