Article - CS336115

" Message :: Invalid Content Type: text/html" error executing GetJSON in a ThingWorx service

Modified: 07-Oct-2025   


Applies To

  • ThingWorx Platform 9.0 F000 to 9.7

Description

  • Using GetJSON in a ThingWorx service gives error 
    Invalid Content Type: text/html
  • Using the service GetJSON from ContentLoaderFunctions to get the data for a ThingWorx project outputs an error message
  • Request from Postman works fine
This is a printer-friendly version of Article 336115 and may be out of date. For the latest version click CS336115