Article - CS335717

In ThingWorx service base64DecodeString() fails when input is of type Blob : "Message :: Invalid length"

Modified: 20-Oct-2021   


Applies To

  • ThingWorx Platform 8.0 to 9.1

Description

  • Service base64DecodeString() fails when input is of type Blob
  • Service base64DecodeString() returns error Error executing service <service_name>. Message :: Invalid length. - See Script Error Log for more details. when input is of type Blob
  • Unable to decode blob result of LoadBinary() using service base64DecodeString()
This is a printer-friendly version of Article 335717 and may be out of date. For the latest version click CS335717