Article - CS385276
PurgePropertyHistory does not work with Influx 2.0 in ThingWorx
Modified: 24-Nov-2023
Applies To
- ThingWorx Platform 9.3
Description
- Using the Influx2PersistenceProviderPackage with InfluxDB v2
- PurgePropertyHistory, PurgeSelectedPropertyHistory and PurgeAllPropertyHistory do not work when persistence provider Influx 2 is used with a on prem Influx 2.0 / OSS instance with Influx2PersistenceProviderPackage (Influx Provider V2)
- No error is returned
- PurgePropertyHistory, PurgeSelectedPropertyHistory and PurgeAllPropertyHistory do not work when persistence provider Influx 2 is used with a on prem Influx 2.0 / OSS instance with Influx2PersistenceProviderPackage (Influx Provider V2)
- Using the InfluxPersistenceProviderPackage with InfluxDB v2
- PurgePropertyHistory, PurgeSelectedPropertyHistory and PurgeAllPropertyHistory return following error when using InfluxPersistenceProviderPackage (Influx Provider V1) with a Cloud or on prem Influx 2.0 instance
com.thingworx.common.exceptions.DataAccessException: [1,018] Data store unknown error: [Error occurred while accessing the data provider.]
Usually applies only to PTC Cloud hosted instance of ThingWorx.
- Error when using Influx v2 OSS (may depend on the exact Influx V2 version)
HTTP status code: 501; Message: delete by field is not supported
This is a printer-friendly version of Article 385276 and may be out of date. For the latest version click CS385276