Skip to main content

MetadataErrorCodes

  • Namespace: PPDS.Dataverse.Metadata.Authoring
  • Assembly: PPDS.Dataverse
  • Kind: Class

Summary​

Machine-readable error codes for metadata authoring validation failures.

Members​

Fields​

CannotDeleteManaged​

string CannotDeleteManaged

Cannot delete a managed component.

DependencyConflict​

string DependencyConflict

Deletion is blocked by existing dependencies.

DuplicateOptionValue​

string DuplicateOptionValue

Duplicate option values detected within a single option set.

DuplicateSchemaName​

string DuplicateSchemaName

A component with the same schema name already exists.

EntityNotFound​

string EntityNotFound

The referenced entity was not found.

InvalidConstraint​

string InvalidConstraint

A numeric or length constraint is invalid (e.g., MaxLength < 1).

InvalidKeyAttribute​

string InvalidKeyAttribute

One or more key attributes are invalid for alternate key use.

InvalidKeyAttributeCount​

string InvalidKeyAttributeCount

Key attribute count is outside the allowed range (1-16).

InvalidPrefix​

string InvalidPrefix

Schema name does not start with the expected publisher prefix.

InvalidSchemaName​

string InvalidSchemaName

Schema name is invalid (must start with letter, alphanumeric + underscore only).

KeyLimitExceeded​

string KeyLimitExceeded

The maximum number of alternate keys per entity has been reached.

MissingRequiredField​

string MissingRequiredField

A required field is missing or empty.

OptionNotFound​

string OptionNotFound

The targeted status reason or local option was not found by value or label.

SdkOperationFailed​

string SdkOperationFailed

The Dataverse SDK call failed with an unexpected error.

UseRelationshipForLookup​

string UseRelationshipForLookup

Lookup columns must be created via a relationship, not directly.