Article - CS229964
"Unable To Parse JSON Request" error returned when passing a null value to the service input parameter on ThingWorx Platform
Modified: 04-Mar-2025
Applies To
- ThingWorx Platform 6.5 to 9.3
Description
- When passing in a null value to a ThingWorx service input parameter, the following error is returned:
Unable To Parse JSON Request
- Running a ThingWorx service via the REST API returns a 406 Not Acceptable response
- Which ThingWorx data types cannot accept null as a parameter value?
- Service fails in mashup with the following error in mashup runtime logs:
Error in invoking service Things_<thing_name>, <service_name>, Things, <thing_name>, Services, <service_name>. Error from the server: "Unable To Parse JSON Request"
This is a printer-friendly version of Article 229964 and may be out of date. For the latest version click CS229964