Skip to content
Documentation

TimeSeriesDataConversionException Class

Indicates that an attempt has been made to convert between two units, where one unit is null.

public sealed class TimeSeriesDataConversionException : HAKOM.ErrorHandling.Core.Net.Api.HakomException

Inheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 TimeSeriesDataConversionException

Data without a unit (null) cannot be converted to another unit. When data is written and either the unit of the data is not specified (null) or the unit of the time series is not specified (null), this exception is thrown.If the unit of the time series is not specified (null), set the unit of the data to null to avoid this error.Otherwise, specify a unit for the data that can be converted to the unit of the time series. If data is read and the unit of the time series is not specified (null), the data can only be read without a unit.If the data is read without unit (Unit property of ITimeSeriesDataReadingOptions is null), the data is returned in the unit of the time series by default.

This exception is identified by error code HK15028.

TimeSeriesDataConversionException.EquivalentHttpStatusCode Property

Section titled “TimeSeriesDataConversionException.EquivalentHttpStatusCode Property”

When unhandled within an HTTP request, this exception produces HTTP 400 (Bad Request).

protected override System.Net.HttpStatusCode EquivalentHttpStatusCode { protected get; }

System.Net.HttpStatusCode

© 2026 Volue.Version v0.6.38017 November 2026