Article - CS311278

Conversion error Unable To Convert From java.lang.DataType to DataType while running service in ThingWorx

Modified: 13-Aug-2025   


Applies To

  • ThingWorx Platform 6.0 to 9.6

Description

  • Service raises an error when executed stating "Unable To Convert From java.lang.DataType to DataType"
  • Error occurs due to type conversion issues within the service code
  • Exact error message in Applicationlog.log:  
    Unable to Invoke Service UpdateSubscribedPropertyValues on ThingName : Unable To Convert From java.lang.String to NUMBER For Property : PropertyName, sending ERROR ResponseMessage to caller!
    
  • Error may appear during the execution of customized scripts or HTTP requests
 
This is a printer-friendly version of Article 311278 and may be out of date. For the latest version click CS311278