Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

OMF with PI Web API

OMF event codes (positive-numbered codes)

  • Last UpdatedSep 04, 2025
  • 5 minute read

OMF event codes with positive numbers are related directly to OMF messages.

Event Code

Name

Severity Level

Status Code

Description

1001

FeatureNotImplemented

Error

501

Feature not implemented.

1002

FeatureNotSupported

Error

501

Feature not supported.

1003

StorageLayerTransactionsFailed

Error

500

Storage layer transaction(s) failed; message contents were not completely stored.

1004

UnhandledException

Error

500

An error has occurred.

1005

FeatureImplementationUndefined

Warning

Feature implementation undefined.

1006

ResourceCannotBeRepresented

Error

409

The resource cannot be represented in a way that would allow the operation to proceed.

2001

MissingRequiredOmfHeader

Error

400

OMF message does not contain required header.

2002

DuplicateOmfHeaderSpecified

Error

400

OMF message contained multiple values for a header.

2003

ActionNotValid

Error

400

The value specified for the 'action' header is not valid.

2004

CompressionNotValid

Error

400

The value specified for the 'compression' header is not valid.

2005

MessageTypeNotValid

Error

400

The value specified for the 'messagetype' header is not valid.

2006

MessageFormatNotValid

Error

400

The value specified for the 'messageformat' header is not valid.

2007

OmfVersionNotValid

Error

400

The value specified for the 'omfversion' header is not valid.

3001

MessageDecompressionFailure

Error

400

A value for the 'compression' header was specified, but the message could not be decompressed.

3002

ParserException

Error

400

An error parsing the OMF message(s) occurred.

3003

ValueUnableToBeParsed

Error

400

Value could not be parsed.

3004

ValueOutOfRange

Error

400

The specified value is outside the allowable range.

3006

IllegalTypeFormatCombination

Error

400

An illegal type property type and format combination was specified.

3007

PropertyNamesMustBeUnique

Error

501

Property names must be unique.

3008

FieldRequired

Error

400

Required field not found.

3009

ReservedPrefixNotAllowed

Error

400

Names and indices cannot begin with '__'. These are reserved for system use.

3010

TagCannotBeNull

Error

400

Tag cannot be null.

3011

FieldExclusive

Error

400

Exclusive fields were found.

3012

SpecifiedOverridesAreNotValidForProperty

Error

400

The specified overrides are not valid for this property.

3013

MaximumJsonMessageDepthExceeded

Error

400

Maximum JSON message depth exceeded.

4001

CannotDeleteTypeInUse

Error

409

A type cannot be deleted while it is in use.

4002

ExceptionCreatingType

Error

500

An exception occurred while creating a type.

4003

ExceptionDeletingType

Error

500

An exception occurred while deleting a type.

4004

ExceptionUpdatingType

Error

500

An exception occurred while updating a type.

4006

TypeIndexPropertyCannotBeNullable

Error

400

Type cannot have a nullable 'IsIndex' property.

4007

TypeMustHaveAtLeastOneIndexProperty

Error

400

Type must have at least one 'IsIndex' property.

4008

TypeMustHaveNoMoreThanOneNameProperty

Error

400

Type cannot have more than one 'IsName' property.

4009

TypeNamePropertyCannotBeNullable

Error

400

Type cannot have a nullable 'IsName' property.

4010

TypeContainerMismatch

Error

500

The specified container exists, but does not match with the expected type.

4011

TypeConflictsWithExisting

Error

409

A type with the supplied ID and version already exists, but it does not match the supplied type.

4013

TypeNotFound

Error

404

Type not found.

4014

TypeAlreadyDeleted

Info

Attempted to delete type that has either already been deleted, or never existed.

4016

UnhandledTypeClassification

Error

400

Unhandled type classification.

4017

VersionFormatNotValid

Error

400

Version must be in the format of 'X.X.X.X'.

4018

TypeIdCannotBeWhitespace

Error

400

Type ID cannot be empty or whitespace.

4019

TypeAlreadyExists

Warning

The type with the supplied ID and version already exists.

4020

DynamicTypeCannotHaveNameProperty

Warning

Dynamic types cannot have name properties.

4021

TypeCannotHaveBothEnumAndProperties

Error

400

A type cannot have both 'Enum' and 'Properties'.

4022

EnumTypeCannotHaveClassification

Error

400

Enumeration types cannot have a type classification.

4023

EnumTypeMustHaveAtLeastOneValue

Error

400

Enumeration types must have at least one value.

4024

EnumValueNamesMustBeUnique

Error

400

Enumeration value names must be unique.

4025

DuplicateEnumNumericalValue

Warning

Enumeration contained a duplicate numerical value.

4027

UnhandledTypePropertyFormat

Error

400

Unhandled type property format.

4028

UnhandledTypePropertyType

Error

400

Unhandled type property type.

4029

TypePropertyTypeNotValid

Error

400

The specified type property type is not valid.

4030

TypePropertyCannotBeNull

Error

400

Type property cannot be null.

4031

PropertyCannotHaveBothTypeAndRefTypeId

Error

400

Property cannot specify both 'type' and 'reftypeid'.

4032

MinimumMaximumNotSupportedForPropertyType

Error

400

Minimum and maximum are only supported for properties of type 'integer' or 'number'.

4033

TypeMustHaveNoMoreThanOneQualityProperty

Error

400

Type cannot have more than one 'IsQuality' property.

4034

EnumTypeMustBeInteger

Error

400

Enumeration types must be of type 'Integer'.

4035

TypeCreated

Debug

201

A type was created.

4036

InterpolationModeNotValid

Error

400

The specified interpolation mode is not valid.

4037

ExtrapolationModeNotValid

Error

400

The specified extrapolation mode is not valid.

4038

EnumTypeCannotHaveExtrapolation

Error

400

Enumeration types cannot have an extrapolation mode.

4039

InterpolationModeNotAllowedOnIndexName

Warning

Interpolation modes cannot be specified on index or name properties. The specified interpolation mode will be ignored.

5001

ContainerConflictsWithExisting

Error

409

A container with the supplied ID already exists, but does not match the supplied container.

5002

ContainerNotFound

Error

404

Container not found.

5003

ContainerOnlyDynamicTypeAllowed

Error

400

Container must use a dynamic type.

5004

ExceptionCreatingContainer

Error

500

An exception occurred while creating a container.

5005

ExceptionDeletingContainer

Error

500

An exception occurred while deleting a container

5006

ExceptionUpdatingContainer

Error

500

An exception occurred while updating a container.

5007

ContainerCannotHaveNullSecondaryIndex

Error

400

Container cannot have a null secondary index.

5008

ContainerCannotHaveDuplicateSecondaryIndex

Error

400

Container cannot have a duplicate secondary index.

5009

ContainerSecondaryIndexMustBePropertyId

Error

400

Container secondary indices must be properties on the container type.

5010

ContainerPropertyOverrideMustBeTypeProperty

Error

400

Container property overrides must map to properties on the container type.

5011

ContainerCreated

Debug

201

A container was created.

6001

DataProcessException

Error

500

An error processing the OMF data message occurred.

6002

DataMessageNotValid

Error

400

The OMF data message provided is not valid.

6003

DataMessageValueNotValid

Error

400

The OMF data message value is not valid.

6004

DuplicateLinkInRequest

Warning

Request contained a duplicate link.

6005

DuplicateStaticInstance

Warning

Attempted to create a duplicate static instance.

6006

DynamicInstanceNotFound

Error

400

The specified dynamic instance could not be found.

6007

ExceptionCreatingData

Error

500

An exception occurred while creating data.

6008

ExceptionDeletingData

Error

500

An exception occurred while deleting data.

6009

ExceptionUpdatingData

Error

500

An exception occurred while updating data.

6010

LinkCouldNotBeCreated

Error

409

The specified source and target could not be linked.

6011

LinkTargetAlreadyHasSource

Warning

The target of the link message already has a source.

6012

NonNullablePropertiesCannotHaveAValueOfNull

Error

400

Non-nullable properties cannot have a value of null.

6013

StaticDataMissingRequiredIndexProperty

Error

400

Static data value did not have a value for the index property.

6014

StaticDataMissingRequiredNameProperty

Error

400

Static data value did not have a value for the name property.

6015

StaticDataConflictsWithExisting

Error

409

A static instance with the supplied index was found, but it does not match the supplied static data value.

6016

StaticInstanceConflictsWithExisting

Error

409

A static instance with the specified ID was found, but it does not match the specified static instance.

6017

StaticInstanceNotFound

Error

404

The specified static instance could not be found.

6018

StaticInstanceNotUnique

Error

500

The specified static instance was not unique.

6019

StaticLinkTargetNotFound

Info

The specified static link target was not found.

6020

StaticLinkTargetNotLinked

Info

The specified source and target were not linked.

6021

PropertyWithSpecifiedIndexNotFound

Info

A property with the specified index was not found.

6022

StaticDataOnlyStaticTypeAllowed

Error

400

Static data must use a static type.

6023

DynamicDataMissingRequiredIndexProperty

Error

400

Dynamic data value was missing an index property.

6024

EnumValueNotFound

Error

404

Enumeration value not found.

6025

ExceptionBufferingCreateDataValue

Error

500

An exception occurred while buffering a create data value operation.

6026

ExceptionBufferingDeleteDataValue

Error

500

An exception occurred while buffering a delete data value operation.

6027

ExceptionBufferingUpdateDataValue

Error

500

An exception occurred while buffering an update data value operation.

6028

LinkCreated

Debug

201

A link was created.

6029

StaticInstanceCreated

Debug

201

A static instance was created.

6030

ExtensionPropertiesCannotCollideWithTypeProperties

Error

400

Extension properties cannot collide with type properties.

6031

DataMessageHasNonExistentExtensionProperties

Error

409

The OMF data message contains one or more non-type-derived OMF properties that do not exist on the static instance.

6032

LinkUpdated

Debug

200

A link was updated.

Related Links
TitleResults for “How to create a CRG?”Also Available in